APIs / Reviews / OpenTable

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.

OpenTable
GET/v1/opentable/search?query=mon+ami+gabi&latitude=41.88&longitude=-87.63&type=restaurant
{
  "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
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#typestringidstringnamestringurlurlcountrystringmetrostringmacrostringneighborhoodstringlatitudenumberlongitudenumberratingnumberreview_countintegerprice_bandstringprice_symbolstringcuisinestringdining_stylestringaddressstringcitystring
1restaurant489Mon Ami Gabihttps://www.opentable.com/restaurant/profile/489United StatesChicago / IllinoisChicagoLincoln Park41.924216-87.63704054.8754$30 and under$FrenchCasual Dining2300 N. Lincoln Park WestChicago
2restaurant26734Francesca's Amicihttps://www.opentable.com/restaurant/profile/26734United StatesChicago / IllinoisWest SuburbsElmhurst41.9024847-87.94023444.890$30 and under$ItalianCasual Dining174 North York RoadElmhurst
3restaurant1487623The Lucky Monk - Downers Grovehttps://www.opentable.com/restaurant/profile/1487623United StatesChicago / IllinoisWest SuburbsElmhurst41.8329593-88.02323884.694$30 and under$AmericanCasual Dining1461 Butterfield RdDowners 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

cURLshell
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.

EndpointRequired parametersReturnsCost
GET/v1/opentable/restaurant
none+3 optional
JSON1 credit
GET/v1/opentable/reviews
none+7 optional
JSON1 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: search takes a query, with location, latitude, longitude and type (restaurant, cuisine or location).
  • Restaurants: restaurant takes a restaurant_id or a restaurant url.
  • Reviews: reviews takes a restaurant_id or url, with sort (newest, highest or lowest), page, per_page and a query to 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.

ReviewsJSONRESTMCP

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 time

Monitor 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 band

FAQ

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.