GroundsocialDocs

API · Tripadvisor

GET /tripadvisor/attraction

A Tripadvisor attraction: categories, rating, description, address, visit length, tours.

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

A Tripadvisor attraction: categories, rating, description, address, visit length, tours.

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).
currencystringnoCurrency for prices (default USD).

Responses

StatusMeaningSchema
200The attraction.TripadvisorAttractionResponse
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

TripadvisorAttractionResponse fields

FieldTypeDescription
locationTripadvisorContentLocation
summaryTripadvisorLocationSummary
ticketsobject | null

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