Hotels in a destination
tripadvisor_hotels_getHotels in a destination with Tripadvisor’s filters, sorts and prices, paginated.
Hotels in a destination, 30 a page, as Tripadvisor’s hotel list ranks them: each with its location (name, link, address, phone, coordinates, rating, review count, popularity rank, star rating, price range, accommodation type) and resultDetail (offers with the lowest price for default dates, highlighted amenities, labels; sponsored listings are marked). Filters: price_min/price_max (per night, in currency), star_rating_min, review_score_min, property_type. sort_by: BEST_VALUE (default), RANKED (traveler ranked), PRICE_LOW_TO_HIGH, DISTANCE. total is how many hotels match. Pass pagination.next_cursor as after with the same filters.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>"
},
"name": "tripadvisor_hotels_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | The destination: a city or region name (the first match is used), a geo id (`60763` or `g60763`), or a Tripadvisor link to it. | |
| after | No | Cursor: the previous page’s `pagination.next_cursor`. | |
| sort_by | No | Order (default BEST_VALUE). | |
| currency | No | Currency for prices (default USD). | |
| price_max | No | Highest nightly price. | |
| price_min | No | Lowest nightly price. | |
| property_type | No | Kind of property. | |
| star_rating_min | No | Minimum hotel class in stars. | |
| review_score_min | No | Minimum traveler rating. |