v1

latestOpenAPI 3.0.12026-07-24178873.1 KB
Location

Location Reviews

Retrieves traveler reviews for a Tripadvisor Location.

<p>Returns a page of reviews drawn from the most recent reviews for the Location, with optional filtering by minimum rating, trip type, publish date, and language. Reviews include the title, body, overall and sub-ratings, trip context, reviewer information, and any owner response.
get/locations/{id}/reviews

Path parameters

idinteger required

the Tripadvisor Location ID to retrieve reviews for

Query parameters

rating_minnumber

when set, only return reviews with an overall rating of at least this value

trip_typestring

when set, only return reviews tagged with this trip type (e.g. business, family, couples)

published_after_tsstring date

when set, only return reviews published on or after this date (format: <code>YYYY-MM-DD</code>)

sort_by'MOST_RECENT' | 'HIGHEST_RATED'

ordering to apply to the reviews (defaults to most recent)

published_after_review_idstring

cursor for keyset pagination; returns reviews published after the review with this ID

languagestring

UGC language code (e.g. <code>en</code>, <code>fr</code>) or the special keyword <code>primary</code> to return reviews in their original written language. Defaults to <code>en</code> when absent.

pageinteger

Page index (1-based).

sizeinteger

Page size.

Response

a page of reviews for the Location