GroundsocialDocs

API · Tripadvisor

GET /tripadvisor/restaurants

Restaurants in a destination with cuisine, meal, price and diet filters, paginated.

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

Restaurants in a destination with cuisine, meal, price and diet 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.
cuisine"any" | "italian" | "french" | "indian" | "chinese" | "japanese" | "mexican" | "seafood" | "steakhouse" | "cafe"noOne of any, italian, french, indian, chinese, japanese, mexican, seafood, steakhouse, cafe.
meal_type"any" | "breakfast" | "lunch" | "dinner" | "brunch"noOne of any, breakfast, lunch, dinner, brunch.
price_level"any" | "cheap" | "moderate" | "expensive" | "fine_dining"noOne of any, cheap, moderate, expensive, fine_dining.
dietary_restriction"any" | "vegetarian" | "vegan" | "gluten_free" | "halal" | "kosher"noOne of any, vegetarian, vegan, gluten_free, halal, kosher.
open_now"true" | "false"noOnly restaurants open now. One of true, false.
online_reservations"true" | "false"noOnly restaurants that take reservations. One of true, false.
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 restaurants.TripadvisorRestaurantsResponse
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

TripadvisorRestaurantsResponse fields

FieldTypeDescription
geoobject
restaurantsobject[]
facetsobject | null
sortsobject[]
totalnumber | null
paginationTripadvisorPagination

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