1 credit per call3 endpoints18 datapointsChecked working 6 Dec 2026
OpenTable API
OpenTable API for restaurant search, restaurant details and diner reviews sorted by newest, highest or lowest, as JSON. 1 credit per successful call.
{
"success": true,
"data": {
"query": "mon ami gabi",
"results": [
{
"type": "restaurant",
"id": "489",
"name": "Mon Ami Gabi",
"url": "https://www.opentable.com/restaurant/profile/489",
"country": "United States",
"metro": "Chicago / Illinois",
"macro": "Chicago",
"neighborhood": "Lincoln Park",
"latitude": 41.924216,
"longitude": -87.6370405,
"rating": 4.8,
"review_count": 754,
"price_band": "$30 and under",
"price_symbol": "$",
"cuisine": "French",
"dining_style": "Casual Dining",
"address": "2300 N. Lincoln Park West",
"city": "Chicago"
},
{
"type": "restaurant",
"id": "26734",
"name": "Francesca's Amici",
"url": "https://www.opentable.com/restaurant/profile/26734",
"country": "United States",
"metro": "Chicago / Illinois",
"macro": "West Suburbs",
"neighborhood": "Elmhurst",
"latitude": 41.9024847,
"longitude": -87.9402344,
"rating": 4.8,
"review_count": 90,
"price_band": "$30 and under",
"price_symbol": "$",
"cuisine": "Italian",
"dining_style": "Casual Dining",
"address": "174 North York Road",
"city": "Elmhurst"
},
{
"type": "restaurant",
"id": "1487623",
"name": "The Lucky Monk - Downers Grove",
"url": "https://www.opentable.com/restaurant/profile/1487623",
"country": "United States",
"metro": "Chicago / Illinois",
"macro": "West Suburbs",
"neighborhood": "Elmhurst",
"latitude": 41.8329593,
"longitude": -88.0232388,
"rating": 4.6,
"review_count": 94,
"price_band": "$30 and under",
"price_symbol": "$",
"cuisine": "American",
"dining_style": "Casual Dining",
"address": "1461 Butterfield Rd",
"city": "Downers Grove"
}
]
},
"meta": {
"endpoint_family": "search",
"request_id": "req_9d61b1149a994d4e9322c323dd1b0d61",
"credits_charged": 1,
"credits_remaining": 1791
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | typestring | idstring | namestring | urlurl | countrystring | metrostring | macrostring | neighborhoodstring | latitudenumber | longitudenumber | ratingnumber | review_countinteger | price_bandstring | price_symbolstring | cuisinestring | dining_stylestring | addressstring | citystring |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | restaurant | 489 | Mon Ami Gabi | https://www.opentable.com/restaurant/profile/489 | United States | Chicago / Illinois | Chicago | Lincoln Park | 41.924216 | -87.6370405 | 4.8 | 754 | $30 and under | $ | French | Casual Dining | 2300 N. Lincoln Park West | Chicago |
| 2 | restaurant | 26734 | Francesca's Amici | https://www.opentable.com/restaurant/profile/26734 | United States | Chicago / Illinois | West Suburbs | Elmhurst | 41.9024847 | -87.9402344 | 4.8 | 90 | $30 and under | $ | Italian | Casual Dining | 174 North York Road | Elmhurst |
| 3 | restaurant | 1487623 | The Lucky Monk - Downers Grove | https://www.opentable.com/restaurant/profile/1487623 | United States | Chicago / Illinois | West Suburbs | Elmhurst | 41.8329593 | -88.0232388 | 4.6 | 94 | $30 and under | $ | American | Casual Dining | 1461 Butterfield Rd | Downers Grove |
[
{
"type": "restaurant",
"id": "489",
"name": "Mon Ami Gabi",
"url": "https://www.opentable.com/restaurant/profile/489",
"country": "United States",
"metro": "Chicago / Illinois",
"macro": "Chicago",
"neighborhood": "Lincoln Park",
"latitude": 41.924216,
"longitude": -87.6370405,
"rating": 4.8,
"review_count": 754,
"price_band": "$30 and under",
"price_symbol": "$",
"cuisine": "French",
"dining_style": "Casual Dining",
"address": "2300 N. Lincoln Park West",
"city": "Chicago"
},
{
"type": "restaurant",
"id": "26734",
"name": "Francesca's Amici",
"url": "https://www.opentable.com/restaurant/profile/26734",
"country": "United States",
"metro": "Chicago / Illinois",
"macro": "West Suburbs",
"neighborhood": "Elmhurst",
"latitude": 41.9024847,
"longitude": -87.9402344,
"rating": 4.8,
"review_count": 90,
"price_band": "$30 and under",
"price_symbol": "$",
"cuisine": "Italian",
"dining_style": "Casual Dining",
"address": "174 North York Road",
"city": "Elmhurst"
},
{
"type": "restaurant",
"id": "1487623",
"name": "The Lucky Monk - Downers Grove",
"url": "https://www.opentable.com/restaurant/profile/1487623",
"country": "United States",
"metro": "Chicago / Illinois",
"macro": "West Suburbs",
"neighborhood": "Elmhurst",
"latitude": 41.8329593,
"longitude": -88.0232388,
"rating": 4.6,
"review_count": 94,
"price_band": "$30 and under",
"price_symbol": "$",
"cuisine": "American",
"dining_style": "Casual Dining",
"address": "1461 Butterfield Rd",
"city": "Downers Grove"
}
]type,id,name,url,country,metro,macro,neighborhood,latitude,longitude,rating,review_count,price_band,price_symbol,cuisine,dining_style,address,city restaurant,489,Mon Ami Gabi,https://www.opentable.com/restaurant/profile/489,United States,Chicago / Illinois,Chicago,Lincoln Park,41.924216,-87.6370405,4.8,754,$30 and under,$,French,Casual Dining,2300 N. Lincoln Park West,Chicago restaurant,26734,Francesca's Amici,https://www.opentable.com/restaurant/profile/26734,United States,Chicago / Illinois,West Suburbs,Elmhurst,41.9024847,-87.9402344,4.8,90,$30 and under,$,Italian,Casual Dining,174 North York Road,Elmhurst restaurant,1487623,The Lucky Monk - Downers Grove,https://www.opentable.com/restaurant/profile/1487623,United States,Chicago / Illinois,West Suburbs,Elmhurst,41.8329593,-88.0232388,4.6,94,$30 and under,$,American,Casual Dining,1461 Butterfield Rd,Downers Grove
Recorded from our API · 3 items shown · 18 datapoints per itemGET /v1/opentable/search?query=mon+ami+gabi&latitude=41.88&longitude=-87.63&type=restaurant
18 datapoints
Identity
- typestring
- idstring
- namestring
Contact
- urlurl
Location
- countrystring
- neighborhoodstring
- latitudenumber
- longitudenumber
- addressstring
- citystring
Reputation
- ratingnumber
- review_countinteger
Price
- price_bandstring
- price_symbolstring
Other
- metrostring
- macrostring
- cuisinestring
- dining_stylestring
Playground
Run this API
curl "https://api.perceptlayer.com/v1/opentable/search?query=mon+ami+gabi&latitude=41.88&longitude=-87.63&type=restaurant" \
-H "X-API-Key: $API_KEY"OpenTable · 3 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/opentable/restaurant | none+3 optional | JSON | 1 credit |
GET/v1/opentable/reviews | none+7 optional | JSON | 1 credit |
GET/v1/opentable/search | query+4 optional | typeidnameurlcountrymetro+12 more | 1 credit |
Overview
About the OpenTable API
What you can get
The OpenTable API returns OpenTable restaurant data as JSON through 3 endpoints. restaurant and reviews take a country (us, gb, ca, de, au or ie).
- Search:
searchtakes aquery, withlocation,latitude,longitudeandtype(restaurant, cuisine or location). - Restaurants:
restauranttakes arestaurant_idor a restauranturl. - Reviews:
reviewstakes arestaurant_idorurl, withsort(newest, highest or lowest),page,per_pageand aqueryto search review text.
The recorded search for "mon ami gabi" near latitude 41.88, longitude -87.63 with type=restaurant returns results, each with id, name, url, metro, neighborhood, latitude, longitude, rating, review_count, price_band, cuisine, dining_style, address and city.
How a call works
Search, then read reviews: GET /v1/opentable/search?query=mon ami gabi&latitude=41.88&longitude=-87.63&type=restaurant with your key in the X-API-Key header returns each restaurant's id; restaurant and reviews take it as restaurant_id, as in GET /v1/opentable/reviews?restaurant_id=489&sort=newest. Every successful call costs 1 credit; failed calls cost nothing.
More reviews APIs
Use cases
Track a restaurant's rating and review count over time
Use the OpenTable API to track a restaurant's rating and review count over timeMonitor new reviews for your restaurants with `sort=newest`
Use the OpenTable API to monitor new reviews for your restaurants with `sort=newest`Find low-rated reviews that mention a dish or topic with `query`
Use the OpenTable API to find low-rated reviews that mention a dish or topic with `query`Compare restaurants in a neighborhood by cuisine, rating and price band
Use the OpenTable API to compare restaurants in a neighborhood by cuisine, rating and price bandFAQ
Questions
How much does the OpenTable API cost?
Each successful call costs one credit, and each page of reviews is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.
Can I sort reviews by rating?
Yes. Pass `sort=highest` or `sort=lowest` to `reviews`, or `sort=newest` for the latest first.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Do I need an OpenTable account?
No. You call this OpenTable API with your Perceptlayer key in the `X-API-Key` header, with no OpenTable login.
Is this the official OpenTable API?
No. Perceptlayer is an independent service and is not affiliated with OpenTable. It returns OpenTable data as JSON with a Perceptlayer key, so there is no OpenTable developer account, app review or partner approval to get first. It only reads data: if OpenTable has an official API and you need to act on your own OpenTable account, such as posting, managing orders or reading private data, use that one.
Should I build an OpenTable scraper instead?
You can, but an OpenTable scraper is code you maintain: page changes break it, requests get blocked, and OpenTable's terms govern how you collect data. The OpenTable API gives you 3 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the OpenTable API with 100 free credits
No credit card. Failed calls are never billed.