GroundsocialDocs

API · Tripadvisor

GET /tripadvisor/search

Search Tripadvisor places (hotels, restaurants, attractions, cities, ships) with full details.

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

Search Tripadvisor places (hotels, restaurants, attractions, cities, ships) with full details.

Query parameters

NameTypeRequiredDescription
qstringyesWhat to search for. Example: Plaza Hotel.
locationstringnoThe destination: a city or region name (the first match is used), a geo id (60763 or g60763), or a Tripadvisor link to it. Example: New York City.
languagestringnoLanguage for names and reviews: en, fr, de-DE, … (default en-US).
limitnumbernoResults, 1-20 (default 10).

Responses

StatusMeaningSchema
200The matching places.TripadvisorSearchResponse
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

TripadvisorSearchResponse fields

FieldTypeDescription
querystring
scope_geo_idnumber | null
resultsTripadvisorLocationInformation[]

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