Tripadvisor Hotels API

Tripadvisor hotels.

GET/v1/tripadvisor/hotels
1 credit per successful callCache window 15 minutesFull API reference ↗

Coverage is rolling out during preview. Test the endpoint you need before integrating. Unavailable operations return an explicit error and use no credits.

Try this endpoint

Enter the documented inputs, run a protected browser test, and inspect the JSON response.

GET/v1/tripadvisor/hotels
Optional parameters (8)

No API key needed for this protected browser test. Production calls require a server-side SocialQuery key.

Request preview
Copy this request into your server-side integration, or run a test to inspect the response.
curl -X GET 'https://socialquery.dev/v1/tripadvisor/hotels?q=Paris' \
  -H "x-api-key: $SOCIALQUERY_API_KEY"

Request contract

Parameters

Pass these fields as query parameters. Production requests also require your server-side API key.

qRequired
Provide q in the format shown in the example.
Example: Paris
depthOptional
Provide depth in the format shown in the example.
Example: 30
sort_byOptional
Provide sort by in the format shown in the example.
Example: BEST_VALUE
price_minOptional
Provide price min in the format shown in the example.
Example: 10
price_maxOptional
Provide price max in the format shown in the example.
Example: 10
star_rating_minOptional
Provide star rating min in the format shown in the example.
Example: any
review_score_minOptional
Provide review score min in the format shown in the example.
Example: any
property_typeOptional
Provide property type in the format shown in the example.
Example: any
currencyOptional
Provide currency in the format shown in the example.
Example: —

Build a reliable integration.

Keep your key server-side

Pass your SocialQuery key in the x-api-key header. Never expose credentials in a browser bundle.

Check the response

Read success before using data. Preserve request_id when logging errors or contacting support.

Account for coverage

Test the fields you need. Provider availability varies, and unavailable operations use no credits.

More Tripadvisor endpoints

View all →