API · Tripadvisor
GET /tripadvisor/restaurants
Restaurants in a destination with cuisine, meal, price and diet filters, paginated.
| Request | GET /v1/tripadvisor/restaurants |
| Operation id | tripadvisor.restaurants.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Restaurants in a destination with cuisine, meal, price and diet filters, paginated.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | The 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" | no | One of any, italian, french, indian, chinese, japanese, mexican, seafood, steakhouse, cafe. |
meal_type | "any" | "breakfast" | "lunch" | "dinner" | "brunch" | no | One of any, breakfast, lunch, dinner, brunch. |
price_level | "any" | "cheap" | "moderate" | "expensive" | "fine_dining" | no | One of any, cheap, moderate, expensive, fine_dining. |
dietary_restriction | "any" | "vegetarian" | "vegan" | "gluten_free" | "halal" | "kosher" | no | One of any, vegetarian, vegan, gluten_free, halal, kosher. |
open_now | "true" | "false" | no | Only restaurants open now. One of true, false. |
online_reservations | "true" | "false" | no | Only restaurants that take reservations. One of true, false. |
language | string | no | Language for names and reviews: en, fr, de-DE, … (default en-US). |
after | string | no | Cursor: the previous page’s pagination.next_cursor. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | A page of restaurants. | TripadvisorRestaurantsResponse |
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 |
TripadvisorRestaurantsResponse fields
| Field | Type | Description |
|---|---|---|
geo | object | |
restaurants | object[] | |
facets | object | null | |
sorts | object[] | |
total | number | null | |
pagination | TripadvisorPagination |
Errors use one shape everywhere; see Errors for every code and what to do.