GroundsocialDocs

API · Tripadvisor

GET /tripadvisor/attractions

Tours and things to do in a destination with duration, rating and price filters, paginated.

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

Tours and things to do in a destination with duration, rating and price filters, paginated.

Query parameters

NameTypeRequiredDescription
qstringyesThe 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.
category"any" | "attractions" | "tours" | "outdoor_activities" | "museums" | "shopping" | "nightlife" | "spas" | "classes"noOne of any, attractions, tours, outdoor_activities, museums, shopping, nightlife, spas, classes.
duration"any" | "lt_1_hour" | "1_to_4_hours" | "4_hours_to_1_day" | "multi_day"noOne of any, lt_1_hour, 1_to_4_hours, 4_hours_to_1_day, multi_day.
traveler_rating"3" | "4" | "5" | "any" | "3.5" | "4.5"noMinimum traveler rating. One of 3, 4, 5, any, 3.5, 4.5.
free_cancellation"true" | "false"noOnly experiences with free cancellation. One of true, false.
skip_the_line"true" | "false"noOnly skip-the-line experiences. One of true, false.
private_tour"true" | "false"noOnly private tours. One of true, false.
currencystringnoCurrency for prices (default USD).
languagestringnoLanguage for names and reviews: en, fr, de-DE, … (default en-US).
afterstringnoCursor: the previous page’s pagination.next_cursor.

Responses

StatusMeaningSchema
200A page of experiences.TripadvisorAttractionsResponse
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

TripadvisorAttractionsResponse fields

FieldTypeDescription
geoobject
productsobject[]
totalnumber | null
paginationTripadvisorPagination

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