Skip to main content
GET
Tripadvisor Hotels
This reference describes a preview operation. Test the required call before integrating it; a request that is unavailable returns HTTP 503 without consuming credits.

Authorizations

x-api-key
string
header
required

Headers

Cache-Control
string
Idempotency-Key
string
X-Max-Credits
integer

Optional nonnegative integer cap on the maximum request hold. A live request whose hold exceeds this cap returns 422 CREDIT_BUDGET_EXCEEDED before spending. Metered holds use the requested limit; cache hits and successful idempotent replays cost zero.

Required range: x >= 0

Query Parameters

q
string
required
depth
integer
sort_by
enum<string>
Available options:
BEST_VALUE,
RANKED,
PRICE_LOW_TO_HIGH,
DISTANCE
price_min
integer
price_max
integer
star_rating_min
enum<string>
Available options:
any,
0,
1,
2,
3,
4,
5
review_score_min
enum<string>
Available options:
any,
3,
3.5,
4,
4.5,
5
property_type
enum<string>
Available options:
any,
hotel,
resort,
apartment,
villa,
hostel,
guest_house,
bed_and_breakfast
currency
string

Response

Request completed. Interpret data using the selected resource contract.

success
boolean
required
platform
string
required
endpoint
string
required
credits_used
integer
required
Required range: x >= 0
credits_remaining
integer | null
required
request_id
string
required
cached
boolean
required
data
object
required

The selected operation determines the resource fields in this object. Source data can omit a metric or report it as null.