Get property details
Returns one hotel or restaurant. Requires geo_id, location_id and name_slug from a /tripadvisor/list → row — do not build these by hand. data is null when no property page was served.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
geo_id*integer
The g id from a /tripadvisor/list row, not invented.
Range
1 <= value <= 99999999location_id*integer
The d id from the same list row.
Range
1 <= value <= 999999999kind?string
Must match the kind the list row came from.
Default
"hotels"Value in
- "hotels"
- "restaurants"
name_slug*string
The segment after -Reviews- in a list row's url, e.g. from HotelHighlight-g60713-d115623-Reviews-Chancellor_Hotel_on_Union_Square-San_Francisco_California.html. Take it from a /tripadvisor/list row rather than building one — a hand-built id redirects to an unrelated property.
curl -X GET "https://example.com/v1/tripadvisor/detail?geo_id=60713&location_id=115623&name_slug=Chancellor_Hotel_on_Union_Square-San_Francisco_California" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "geo_id": 60713, "location_id": 115623, "kind": "hotels", "url": "https://www.tripadvisor.com/Hotel_Review-g60713-d115623-Reviews-Chancellor_Hotel_on_Union_Square-San_Francisco_California.html", "schema_type": "LodgingBusiness", "name": "Chancellor Hotel on Union Square", "rating": 4.5, "rating_scale_max": 5, "review_count": 3309, "price_range": "$$$", "telephone": "+1 415-392-3434", "image": "string", "address": { "street_address": "999 California Street", "locality": "San Francisco", "region": "CA", "postal_code": "94108", "country": "US" }, "geo": { "latitude": 37.791553, "longitude": -122.41039 }, "breadcrumbs": [ { "position": 1, "name": "United States", "url": "string" } ] }}