All sites
Data API
Opentable Data API
Structured JSON data, on demand, with anti-bot bypass built in.
2endpointsRate Limit handled for you
Example
opentable.com
ExampleJSON responseclick the page to trace a field
{
"query": "italian",
"location": "New York, NY",
"market": "us",
"party_size": 2,
"sort": "best_match",
"page": 1,
"results": [
{
"restaurant": "carmines-times-square-new-york",
"name": "Carmine's - Times Square",
"rating": 4.4,
"review_count": 13457,
"price": "$$$",
"price_level": 3,
"cuisine": [
"Italian"
],
"address": "200 W 44th St, New York, NY",
"neighborhood": "Midtown West",
"coordinates": {
"latitude": 40.7573,
"longitude": -73.9866
},
"booked_today": 87,
"image": "https://images.otstatic.com/prod/EXAMPLE0/large.jpg",
"url": "https://www.opentable.com/r/carmines-times-square-new-york"
},
{
"restaurant": "trattoria-dopo-teatro-new-york",
"name": "Trattoria Dopo Teatro",
"rating": 4.6,
"review_count": 4821,
"price": "$$",
"price_level": 2,
"cuisine": [
"Italian"
],
"address": "125 W 44th St, New York, NY",
"neighborhood": "Midtown West",
"coordinates": {
"latitude": 40.757,
"longitude": -73.9855
},
"booked_today": 42,
"image": "https://images.otstatic.com/prod/EXAMPLE1/large.jpg",
"url": "https://www.opentable.com/r/trattoria-dopo-teatro-new-york"
}
],
"nextCursor": "2"
}
GET
/v1/data/opentable/search1 credit / runSearch Restaurants
Search OpenTable for restaurants by keyword and location, with optional availability and price filters.
Handled for you:Rate Limit
Parameters
| Name | Type | Req | Description |
|---|---|---|---|
| query | string | yes | Search keywords, e.g. 'italian'. |
| location | string | yes | City or area, e.g. 'New York, NY'. |
| Advanced filters | |||
| cuisine | string | no | Cuisine hint that refines the search, e.g. 'sushi'. |
| party_size | integer | no | Number of diners for the availability query (1-20). (default: 2) |
| date | string | no | Reservation date as YYYY-MM-DD. |
| time | string | no | Reservation time as HH:MM (24h), e.g. 19:30. |
| price_level | integer | no | Price tier 1-4 (1 = cheapest, 4 = most expensive). |
| sort | string | no | Result order. (default: best_match) |
| page | integer | no | Result page number (1-based). (default: 1) |
| market | string | no | us | gb. (default: us) |