API · Tripadvisor
GET /tripadvisor/attraction/reviews
Recent reviews Tripadvisor features for an attraction (up to 20).
| Request | GET /v1/tripadvisor/attraction/reviews |
| Operation id | tripadvisor.attraction.reviews |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Recent reviews Tripadvisor features for an attraction (up to 20).
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | The 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. |
language | string | no | Language for names and reviews: en, fr, de-DE, … (default en-US). |
rating | string | no | Keep only these ratings, comma separated: excellent, very_good, average, poor, terrible. Example: poor,terrible. |
visit_type | string | no | Keep only these trip types, comma separated: families, couples, solo, business, friends. |
search_reviews_keyword | string | no | Keep only reviews whose title or text contains this. |
sort_by | "most_recent" | "detailed_reviews" | no | most_recent (default) or detailed_reviews (longest first). One of most_recent, detailed_reviews. |
since | string | no | Only reviews published on or after this date. |
until | string | no | Only reviews published on or before this date. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The place and its featured reviews. | TripadvisorReviewsResponse |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | No Tripadvisor place or destination like that. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Tripadvisor is temporarily unavailable. Retryable; nothing was charged. | Error |
TripadvisorReviewsResponse fields
| Field | Type | Description |
|---|---|---|
location | TripadvisorLocationSummary | |
reviews | TripadvisorReview[] | |
unfiltered_count | number |
Errors use one shape everywhere; see Errors for every code and what to do.