---
updatedAt: 2026-11-04T12:36:41.000Z
agentTools:
  projectIndex: https://volt-docs.travclan.com/llms.txt
---

# Search Hotels

This endpoint allows searching for hotels with location and hotelids.

## **Search: Response Keys**

| Key                | Description                                                   |
| ------------------ | ------------------------------------------------------------- |
| traceId            | Unique ID of search session                                   |
| hotelId            | Unique ID of the hotel                                        |
| hotelName          | Hotel name                                                    |
| heroImage          | Main image of the hotel, meant for the search results card    |
| boardBasis         | Meal plan of the rate shown for the hotel                     |
| refundability      | Whether the rate can be cancelled for free                    |
| cancellationPolicy | Cancellation terms for the rate, made up of one or more rules |
| finalRate          | Final price of the hotel's lead rate for the hotel            |

**Note**: tags cannot be used on a fresh search — the internal tag IDs are only available from the /search API's own response. To filter by tags, you must first run a search without this filter, read the tag IDs off the results, and then re-search (or refine) passing those IDs back in filterBy.tags

### **Nationality codes**:&#x20;

Download the [countries and nationality list (CSV)](https://s3.ap-south-1.amazonaws.com/com.travclan.cms.production/appcms/countries_nationality_1793279401.csv) for the full list of countries with their `code` values. Send the `code` value (for example `IN` for India or `US` for United States) in the `nationality` key. Do not send the country name or the nationality text from the file.

<br />

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "VoltLite API",
    "description": "### Overview\nLightweight, efficient, and fast — the essence of Volt in minimal form.\n\n### Copyright\n© Copyright 2024, TravClan  \nThis document contains confidential material and is the property and copyright of Travclan.  \nNo part of this document may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, electronic, mechanical, chemical, photocopying, recording, or otherwise without the prior written permission of Travclan.",
    "version": "1.1.1",
    "contact": {
      "name": "Volt API Support",
      "url": "https://volt.travclan.com/contact",
      "email": "apisupport@travclan.com"
    }
  },
  "servers": [
    {
      "url": "https://hotel-volt-api-sandbox.travclan.com",
      "description": "Volt Lite SandBox"
    },
    {
      "url": "https://hotel-volt-tp.travclan.com",
      "description": "Volt Lite Production"
    },
    {
      "url": "https://hotel-api-sandbox.travclan.com",
      "description": "Helper API's Sandbox"
    },
    {
      "url": "https://hotels-v1-tp.travclan.com",
      "description": "Helper API's Production"
    }
  ],
  "tags": [
    {
      "name": "Search",
      "description": "APIs related to location search and hotelId based search."
    }
  ],
  "paths": {
    "/api/v1/search": {
      "post": {
        "operationId": "voltLiteSearchHotels",
        "tags": [
          "Search"
        ],
        "summary": "Search Hotels",
        "description": "This endpoint allows searching for hotels with location and hotelids.",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "required": true,
            "description": "Authorization token to authenticate the API request.",
            "schema": {
              "type": "string"
            },
            "example": "Bearer {{authorization}}"
          },
          {
            "name": "source",
            "in": "header",
            "required": true,
            "description": "Specifies the source of the request (End User Source). Available choices: website, android, mweb, ios, mobile.",
            "schema": {
              "type": "string",
              "enum": [
                "website",
                "android",
                "mweb",
                "ios"
              ],
              "default": "website"
            },
            "example": "website"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Search criteria for hotels.",
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "checkIn": {
                    "type": "string",
                    "format": "date",
                    "description": "The check-in date for the booking in YYYY-MM-DD format.",
                    "example": "2025-02-01"
                  },
                  "checkOut": {
                    "type": "string",
                    "format": "date",
                    "description": "The check-out date for the booking in YYYY-MM-DD format.",
                    "example": "2025-02-02"
                  },
                  "nationality": {
                    "type": "string",
                    "description": "The nationality of the person making the booking.",
                    "example": "IN"
                  },
                  "occupancies": {
                    "type": "array",
                    "description": "Details of the occupants in the booking.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "numOfAdults": {
                          "type": "integer",
                          "description": "Number of adults in the booking.",
                          "example": 2
                        },
                        "childAges": {
                          "type": "array",
                          "description": "Ages of children in the booking.",
                          "items": {
                            "type": "integer"
                          },
                          "example": []
                        }
                      }
                    }
                  },
                  "locationId": {
                    "type": "string",
                    "description": "The ID of the location where hotels are being searched.",
                    "example": 328959
                  },
                  "hotelIds": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "List of hotel IDs."
                  },
                  "page": {
                    "type": "integer",
                    "description": "Page number to request from the total paginated results.",
                    "example": 1
                  },
                  "pageSize": {
                    "type": "integer",
                    "description": "Number of hotel records to request in one page.",
                    "example": 1
                  },
                  "traceId": {
                    "type": "string",
                    "description": "A unique identifier for tracking the request.",
                    "example": "524301bc-be4e-4ff8-ad91-57f88321ca1b"
                  },
                  "filterBy": {
                    "type": "object",
                    "properties": {
                      "ratings": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        },
                        "description": "Restrict results to hotels with these star ratings"
                      },
                      "freeBreakfast": {
                        "type": "boolean",
                        "default": "false",
                        "enum": [
                          true,
                          false
                        ],
                        "description": "Only return hotels where breakfast is included"
                      },
                      "isRefundable": {
                        "type": "boolean",
                        "default": "false",
                        "description": "Only return refundable hotels",
                        "enum": [
                          true,
                          false
                        ]
                      },
                      "subLocationIds": {
                        "type": "array",
                        "items": {
                          "type": "integer"
                        },
                        "description": "Restrict results to specific sub-locations within the searched location. null means no sub-location filter"
                      },
                      "hotelName": {
                        "type": "string",
                        "default": "null",
                        "description": "Filter results by hotel name (partial/free-text match). null means no name filter"
                      },
                      "isAvailable": {
                        "type": "boolean",
                        "default": "false",
                        "description": "Only return hotels currently available for the searched dates"
                      },
                      "facilities": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Restrict results to hotels offering these facilities"
                      },
                      "type": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Restrict results to specific property types"
                      },
                      "tags": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        },
                        "description": "Restrict results to hotels tagged with these internal tag IDs"
                      },
                      "reviewRatings": {
                        "type": "number",
                        "description": "Minimum guest review rating (out of 5) a hotel must have to be included",
                        "enum": [
                          3,
                          4,
                          4.5
                        ],
                        "format": "float"
                      }
                    },
                    "description": "To filter out search results"
                  },
                  "sortBy": {
                    "type": "object",
                    "properties": {
                      "finalRate": {
                        "type": "string",
                        "enum": [
                          "default",
                          "asc",
                          "dsc"
                        ],
                        "description": "The actual sort direction applied on price: default (no explicit price sort - Relevance), asc (ascending), or dsc (descending)"
                      },
                      "id": {
                        "type": "integer",
                        "enum": [
                          1,
                          2,
                          3
                        ],
                        "description": "Numeric identifier for the sort option — 1 Relevance, 2 Price Low→High, 3 Price High→Low"
                      },
                      "value": {
                        "type": "integer",
                        "enum": [
                          1,
                          2,
                          3
                        ],
                        "description": "Numeric identifier for the sort option — 1 Relevance, 2 Price Low→High, 3 Price High→Low"
                      },
                      "label": {
                        "type": "string",
                        "enum": [
                          "Relevance",
                          "Price: Low to High",
                          "Price: High to Low"
                        ],
                        "description": "Readable name for the sort option, for display on the UI"
                      }
                    },
                    "description": "Controls the order in which results are returned"
                  }
                },
                "required": [
                  "occupancies",
                  "checkIn",
                  "checkOut",
                  "nationality"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "A successful response containing hotel search results.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "A textual message indicating the status of the response.",
                      "example": "OK"
                    },
                    "error": {
                      "type": "boolean",
                      "description": "Indicates whether an error occurred during the request.",
                      "example": false
                    },
                    "code": {
                      "type": "integer",
                      "description": "HTTP status code of the response.",
                      "example": 200
                    },
                    "results": {
                      "type": "object",
                      "description": "An array of hotel results matching the search criteria.",
                      "properties": {
                        "traceId": {
                          "type": "string",
                          "description": "A unique identifier for the request trace.",
                          "example": "524301bc-be4e-4ff8-ad91-57f88321ca1b"
                        },
                        "traceIdDetails": {
                          "type": "object",
                          "description": "Details about the trace ID, including creation time and validity.",
                          "properties": {
                            "id": {
                              "type": "string",
                              "description": "The unique trace ID.",
                              "example": "524301bc-be4e-4ff8-ad91-57f88321ca1b"
                            },
                            "remainingTime": {
                              "type": "integer",
                              "description": "Remaining validity time for the trace ID.",
                              "example": 3589
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "description": "Timestamp when the trace ID was created.",
                              "example": "1970-01-21T08:13:09"
                            }
                          }
                        },
                        "data": {
                          "type": "array",
                          "description": "List of hotels returned by the search.",
                          "items": {
                            "properties": {
                              "id": {
                                "type": "string",
                                "description": "Unique identifier for the hotel.",
                                "example": "15301929"
                              },
                              "availability": {
                                "type": "object",
                                "description": "Details about the availability and rates of the hotel.",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "description": "Unique identifier for the hotel in the availability context.",
                                    "example": "15301929"
                                  },
                                  "relevanceScore": {
                                    "type": "string",
                                    "description": "Score indicating the relevance of the availability data.",
                                    "example": "0"
                                  },
                                  "rate": {
                                    "type": "object",
                                    "description": "Rate details of the hotel.",
                                    "properties": {
                                      "providerId": {
                                        "type": "string",
                                        "nullable": true,
                                        "description": "Unique identifier of the rate provider"
                                      },
                                      "providerName": {
                                        "type": "string",
                                        "nullable": true,
                                        "description": "Name of the provider offering the rate"
                                      },
                                      "offer": {
                                        "type": "object",
                                        "description": "Promotional or discount offer details",
                                        "properties": {
                                          "title": {
                                            "type": "string",
                                            "description": "Short label or title of the offer"
                                          },
                                          "description": {
                                            "type": "string",
                                            "description": "Detailed description of the offer"
                                          },
                                          "discountOffer": {
                                            "type": "string",
                                            "description": "Flat discount value"
                                          },
                                          "percentageDiscountOffer": {
                                            "type": "string",
                                            "description": "Discount value in percentage"
                                          }
                                        }
                                      },
                                      "distributionChannel": {
                                        "type": "string",
                                        "description": "Channel through which the rate is distributed (e.g., 'Any', 'Online')"
                                      },
                                      "payAtHotel": {
                                        "type": "boolean",
                                        "description": "Indicates if the payment is to be made at the hotel"
                                      },
                                      "additionalCharges": {
                                        "type": "array",
                                        "items": {},
                                        "description": "Any additional charges (if applicable)"
                                      },
                                      "cancellationPolicy": {
                                        "type": "array",
                                        "description": "Cancellation policies applicable to this rate",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "text": {
                                              "type": "string",
                                              "description": "Message or summary of the cancellation policy"
                                            },
                                            "rules": {
                                              "type": "array",
                                              "items": {
                                                "type": "object",
                                                "properties": {
                                                  "value": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Cancellation charge value"
                                                  },
                                                  "valueType": {
                                                    "type": "string",
                                                    "description": "Type of value (e.g., 'Amount', 'Percentage')"
                                                  },
                                                  "estimatedValue": {
                                                    "type": "number",
                                                    "format": "float",
                                                    "description": "Estimated amount charged if cancelled"
                                                  },
                                                  "start": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "description": "Start time of the cancellation window"
                                                  },
                                                  "end": {
                                                    "type": "string",
                                                    "format": "date-time",
                                                    "description": "End time of the cancellation window"
                                                  }
                                                }
                                              }
                                            }
                                          }
                                        }
                                      },
                                      "additionalInformation": {
                                        "type": "array",
                                        "items": {},
                                        "description": "Any additional notes or data from provider"
                                      },
                                      "isChildConvertedToAdult": {
                                        "type": "boolean",
                                        "description": "Indicates if a child is treated as an adult in pricing"
                                      },
                                      "sellRate": {
                                        "type": "number",
                                        "nullable": true,
                                        "description": "Base rate before markups"
                                      },
                                      "finalRate": {
                                        "type": "number",
                                        "description": "Final payable amount after all markups and discounts"
                                      },
                                      "finalRateWithDefaultAgentMarkup": {
                                        "type": "number",
                                        "description": "Final rate including default agent markup"
                                      },
                                      "totalDefaultMarkup": {
                                        "type": "number",
                                        "description": "Total default markup value applied to the rate"
                                      },
                                      "pRpNFinalRate": {
                                        "type": "number",
                                        "description": "Per Room Per Night final rate"
                                      }
                                    }
                                  }
                                }
                              },
                              "visited": {
                                "type": "boolean",
                                "description": "Indicates if the hotel has been visited in previous searches.",
                                "example": true
                              },
                              "prioritizationScore": {
                                "type": "integer",
                                "description": "Score indicating the prioritization of the hotel in the results.",
                                "example": 93
                              }
                            }
                          }
                        },
                        "currentPage": {
                          "type": "integer",
                          "description": "Current page number of the results.",
                          "example": 1
                        },
                        "perPage": {
                          "type": "integer",
                          "description": "Number of items per page.",
                          "example": 25
                        },
                        "previousPage": {
                          "type": "integer",
                          "description": "Previous page number, if applicable.",
                          "example": null
                        },
                        "nextPage": {
                          "type": "integer",
                          "description": "Next page number, if applicable.",
                          "example": 2
                        },
                        "totalCount": {
                          "type": "integer",
                          "description": "Total number of available results.",
                          "example": 4000
                        },
                        "totalPages": {
                          "type": "integer",
                          "description": "Total number of pages of results.",
                          "example": 5
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "exampleFromExisting200": {
                    "value": {
                      "message": "OK",
                      "error": false,
                      "code": 200,
                      "results": {
                        "currentPage": 1,
                        "perPage": 25,
                        "previousPage": null,
                        "nextPage": null,
                        "totalCount": 1,
                        "totalPages": 1,
                        "data": [
                          {
                            "id": "39993354",
                            "hotelName": "Millennium Place Barsha Heights Hotel",
                            "heroImage": "https://i.travelapi.com/lodging/40000000/39920000/39914800/39914722/e9506650_z.jpg",
                            "availability": {
                              "rate": {
                                "providerHotelId": "3666865",
                                "boardBasis": {
                                  "type": "RoomOnly"
                                },
                                "refundability": "NonRefundable",
                                "offers": [],
                                "distributionChannel": "Any",
                                "payAtHotel": false,
                                "additionalCharges": [
                                  {
                                    "charge": {
                                      "type": "Fee",
                                      "description": "City Tax",
                                      "frequency": "Unknown",
                                      "unit": "Unknown",
                                      "amount": 782.0903,
                                      "currency": "INR",
                                      "amountInRequestedCurrency": 8.17
                                    },
                                    "text": "City Tax"
                                  }
                                ],
                                "cancellationPolicy": [
                                  {
                                    "rules": [
                                      {
                                        "value": 82.71,
                                        "valueType": "Amount",
                                        "estimatedValue": 82.71,
                                        "start": "2026-08-25T14:30:28+00:00",
                                        "end": "2026-09-03T00:00:00+00:00"
                                      }
                                    ]
                                  }
                                ],
                                "additionalInformation": [],
                                "isChildConvertedToAdult": false,
                                "sellRate": null,
                                "finalRate": 82,
                                "finalRateWithDefaultAgentMarkup": 83,
                                "totalDefaultMarkup": 0,
                                "pRpNFinalRate": 41,
                                "isHoldAvailableForHotel": false,
                                "travclanHoldTimeLimitForHotel": null
                              },
                              "options": {
                                "freeBreakfast": true,
                                "freeCancellation": true,
                                "refundable": true,
                                "payAtHotel": false,
                                "contractedRateExists": false,
                                "roomOnly": true,
                                "halfBoard": true,
                                "fullBoard": false,
                                "isGstMandatory": false,
                                "isPANMandatory": false,
                                "allInclusive": false,
                                "isPrivateDistribution": false,
                                "isPublicDistribution": false,
                                "isOptimizedDistribution": false,
                                "isCorporateDistribution": false
                              }
                            }
                          }
                        ],
                        "traceId": "9f1823a2-3dd1-4d7d-bf38-ea86355b48ac",
                        "traceIdDetails": {
                          "id": "9f1823a2-3dd1-4d7d-bf38-ea86355b48ac",
                          "remainingTime": null,
                          "createdAt": null
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request. One or more request parameters are invalid or missing."
          },
          "401": {
            "description": "Unauthorized. The access token is missing or invalid."
          },
          "404": {
            "description": "Not Found. The requested resource could not be located."
          },
          "422": {
            "description": "Bad Request. Client Side Error in Request Body."
          }
        }
      }
    }
  }
}
```