JustSERPDocs
Tripadvisor

Tripadvisor place

A restaurant, hotel or attraction on Tripadvisor by its numeric `place_id`, under the Tripadvisor Place parameters (`place_id`, `tripadvisor_domain`) and answered as the document: `search_metadata`, `search_parameters`, `place`, `related_links` (always empty).

GET
/v1/tripadvisor/place

A restaurant, hotel or attraction on Tripadvisor by its numeric place_id, under the Tripadvisor Place parameters (place_id, tripadvisor_domain) and answered as the document: search_metadata, search_parameters, place, related_links (always empty). Read from the page's embedded data. All types: type, title, link, description, ranking, thumbnail, phone, website, address, neighbourhoods, gps_coordinates, rating, reviews, reviews_histogram, subratings, ai_review_summary, all_reviews. Restaurant: price_range, is_open, open_hours, cuisines, diets, is_owner_verified. Hotel: amenities, room_features, room_types, languages_spoken, hotel_style, min_price, max_price. Not read: menu, offers, getting_there, walk_score, nearby, suggestions, articles, photos, videos, questions, hotel_class, award. For the reviews use /v1/tripadvisor/reviews.

Authorization

headerX-API-Key<token>

Your API key.

Query Parameters

cancel_token?string

A name you make up for this request (a UUID is fine), so you can later GET /v1/cancel with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.

Length1 <= length <= 128
place_id*string
Match^\d+$
tripadvisor_domain?string
Default"tripadvisor.com"

Response Body

The place, as the document. When the page could not be parsed, the usual envelope.

application/json
  1. response

The Tripadvisor Place document. related_links is always empty. Not read: menu, offers, getting_there, walk_score, nearby, suggestions, articles, photos, videos, attraction listings, questions, destination and airline fields, hotel_class, award, an attraction's description and ranking. Attraction products, geos and airlines are not reached.

search_metadata*
search_parameters*

The parameters the search ran with, defaults filled in; engine is the engine's name.

search_information?
place?

All types: place_id, type (Restaurant/Hotel/Attraction), title, link, description, ranking {text, position, total, link}, thumbnail, phone, website, address, neighbourhoods, gps_coordinates, rating, reviews, reviews_histogram, subratings, ai_review_summary, all_reviews. Restaurant: price_range, is_open, open_hours, cuisines, diets, is_owner_verified. Hotel: amenities, room_features, room_types, languages_spoken, hotel_style, min_price, max_price.

related_links?array<>
Example Request
curl -X GET 'https://api.justserp.com/v1/tripadvisor/place?place_id=425787'
Example Response
{  "search_metadata": {    "id": "string",    "status": "Success",    "created_at": "string",    "request_url": "string",    "html_url": "string"  },  "search_parameters": {},  "search_information": {},  "place": {},  "related_links": [    {}  ]}