GroundsocialDocs

API · Tripadvisor

GET /tripadvisor/reviews

Recent reviews Tripadvisor features for a place (up to 20), with author and trip info.

RequestGET /v1/tripadvisor/reviews
Operation idtripadvisor.reviews.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Recent reviews Tripadvisor features for a place (up to 20), with author and trip info.

Query parameters

NameTypeRequiredDescription
urlstringyesThe place: a Tripadvisor link or its path (/Hotel_Review-g60763-d93437-Reviews-…html), d93437, or the location id. Example: /Hotel_Review-g60763-d93437-Reviews-Hotel_Edison_Times_Square-New_York_City_New_York.html.
languagestringnoLanguage for names and reviews: en, fr, de-DE, … (default en-US).
ratingstringnoKeep only these ratings, comma separated: excellent, very_good, average, poor, terrible. Example: poor,terrible.
visit_typestringnoKeep only these trip types, comma separated: families, couples, solo, business, friends.
search_reviews_keywordstringnoKeep only reviews whose title or text contains this.
sort_by"most_recent" | "detailed_reviews"nomost_recent (default) or detailed_reviews (longest first). One of most_recent, detailed_reviews.
sincestringnoOnly reviews published on or after this date.
untilstringnoOnly reviews published on or before this date.

Responses

StatusMeaningSchema
200The place and its featured reviews.TripadvisorReviewsResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No Tripadvisor place or destination like that.Error
429Too many requests. Wait for Retry-After seconds.Error
503Tripadvisor is temporarily unavailable. Retryable; nothing was charged.Error

TripadvisorReviewsResponse fields

FieldTypeDescription
locationTripadvisorLocationSummary
reviewsTripadvisorReview[]
unfiltered_countnumber

Errors use one shape everywhere; see Errors for every code and what to do.