Discover/opentable.com API
live

opentable.com APIwww.opentable.com

Search OpenTable restaurants by location, cuisine, and date. Get real-time reservation availability, autocomplete suggestions, and detailed ratings and pricing data.

Endpoints
4
Updated
26d ago
Try it
Date in YYYY-MM-DD format. Defaults to tomorrow.
Page number (1-based)
Search term (e.g., 'Italian', 'sushi', 'steakhouse', 'pizza'). Leave empty to browse all restaurants.
Time in HH:MM format (24h)
Comma-separated price band IDs (1=under $15, 2=$30 and under, 3=$31-50, 4=$50+)
Sort order: WEB_CONVERSION (recommended), RATING, DISTANCE
Latitude of search center
Metro ID (auto-resolved from coordinates if not provided). Use location_lookup to find IDs.
Longitude of search center
Results per page (max 50)
Number of diners
Comma-separated cuisine filter IDs
api.parse.bot/scraper/f37010d4-cf53-464e-8c5a-8b0fb742720e/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/f37010d4-cf53-464e-8c5a-8b0fb742720e/search_restaurants?page=1&term=pizza&time=19%3A00&query=pizza&latitude=40.7128&location=chicago&metro_id=4&longitude=-74.006&page_size=5&party_size=2' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Search for restaurants by keyword, location, date/time, party size, and various filters. Returns paginated results with comprehensive restaurant details including name, cuisine, ratings, reviews, photos, address, phone, and features.

Input
ParamTypeDescription
datestringDate in YYYY-MM-DD format. Defaults to tomorrow.
pageintegerPage number (1-based)
termstringSearch term (e.g., 'Italian', 'sushi', 'steakhouse', 'pizza'). Leave empty to browse all restaurants.
timestringTime in HH:MM format (24h)
pricesstringComma-separated price band IDs (1=under $15, 2=$30 and under, 3=$31-50, 4=$50+)
sort_bystringSort order: WEB_CONVERSION (recommended), RATING, DISTANCE
latitudenumberLatitude of search center
metro_idintegerMetro ID (auto-resolved from coordinates if not provided). Use location_lookup to find IDs.
longitudenumberLongitude of search center
page_sizeintegerResults per page (max 50)
party_sizeintegerNumber of diners
cuisine_idsstringComma-separated cuisine filter IDs
Response
{
  "type": "object",
  "fields": {
    "page": "integer current page number",
    "filters": "object with date, time, party_size, sort_by",
    "location": "object with latitude, longitude, metro_id",
    "page_size": "integer results per page",
    "restaurants": "array of restaurant objects with restaurant_id, name, cuisine, rating, review_count, address, phone, photos, features, etc.",
    "search_term": "string the search term used",
    "total_results": "integer total number of matching restaurants"
  },
  "sample": {
    "data": {
      "page": 1,
      "filters": {
        "date": "2026-05-08",
        "time": "19:00",
        "sort_by": "WEB_CONVERSION",
        "party_size": 2
      },
      "location": {
        "latitude": 40.7128,
        "metro_id": 8,
        "longitude": -74.006
      },
      "page_size": 5,
      "restaurants": [
        {
          "name": "F&F Restaurant and Bar",
          "phone": "+1 (555) 012-3456",
          "rating": 4.9,
          "address": {
            "city": "Brooklyn",
            "line1": "123 Main St",
            "state": "NY",
            "post_code": "11231"
          },
          "cuisine": "Pizzeria",
          "features": {
            "bar": true,
            "outdoor": true,
            "max_party_size": 10
          },
          "latitude": 40.6771779,
          "longitude": -73.9981627,
          "price_range": "$31 to $50",
          "profile_url": "https://www.opentable.com/r/f-and-f-pizzeria-brooklyn",
          "neighborhood": "Carroll Gardens",
          "review_count": 87,
          "price_band_id": 3,
          "restaurant_id": 1388317
        }
      ],
      "search_term": "pizza",
      "total_results": 102
    },
    "status": "success"
  }
}

About the opentable.com API

This API exposes 4 endpoints covering OpenTable's US restaurant database, including detailed search, reservation availability, location resolution, and typeahead autocomplete. The search_restaurants endpoint returns paginated results with fields like restaurant_id, cuisine, rating, review_count, photos, address, and features, filterable by price band, coordinates, date, party size, and metro area.

Restaurant Search

The search_restaurants endpoint accepts a term (e.g. "sushi", "steakhouse"), a date in YYYY-MM-DD format, a time in 24-hour HH:MM format, and optional filters including prices (comma-separated band IDs from 1–4), latitude, and metro_id. Results are paginated with a page_size field, and the total_results field tells you how many records match. Each restaurant object includes restaurant_id, name, cuisine, rating, review_count, phone, photos, and features. Sort options are WEB_CONVERSION, RATING, and DISTANCE.

Availability and Location

The restaurant_availability endpoint takes a comma-separated list of restaurant_ids (from search_restaurants results), a date, time, and party_size. It returns an availability array per restaurant containing availability_days objects with day_offset and no_times_reasons fields, letting you surface open time slots relative to the requested time. The location_lookup endpoint resolves latitude/longitude into OpenTable's internal geography — returning metro, macro, and neighborhood objects with their respective IDs — which you can then pass as metro_id into search_restaurants.

Autocomplete

The autocomplete endpoint accepts a term string and optional latitude/longitude bias coordinates. It returns a suggestions array where each object carries id, type, name, metro_id, metro_name, macro_name, neighborhood, and coordinates. Types can represent restaurants, cuisines, or locations, making this suitable for building typeahead search UIs that feed directly into search_restaurants parameters.

Common use cases
  • Find available restaurants for a specific party size, date, and time in a metro area
  • Build a typeahead search bar using autocomplete suggestions biased to the user's coordinates
  • Display restaurant cards with ratings, review counts, photos, and price bands from search results
  • Resolve a user's GPS coordinates to a metro_id for scoped restaurant searches
  • Check reservation slot availability across multiple restaurants simultaneously
  • Filter restaurants by cuisine type and price band to match dining preferences
  • Aggregate OpenTable ratings and review counts alongside other dining data sources
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does OpenTable have an official developer API?+
OpenTable offers a restaurant partner API for reservation management, but it is restricted to restaurant operators and requires a direct partnership agreement. There is no public developer API for restaurant search or availability data available to third-party developers.
What does the `restaurant_availability` endpoint actually return?+
It returns an availability array keyed by restaurant_id. Each entry contains availability_days, which is an array of objects with a day_offset (relative to the requested date), a list of available time slots, and no_times_reasons indicating why certain slots are unavailable. You can query up to several restaurants at once by passing a comma-separated list to restaurant_ids.
Does the API cover restaurants outside the United States?+
The API currently covers the US market. OpenTable does operate in other countries, but the geographic resolution and metro data exposed by location_lookup and search_restaurants reflect US coverage. You can fork this API on Parse and revise it to target non-US OpenTable markets and add the relevant geographic parameters.
Are restaurant menus or menu item prices available?+
No menu or menu item data is currently exposed. The API covers restaurant-level pricing bands (price tiers 1–4), ratings, photos, and features, but not individual dishes or menu prices. You can fork this API on Parse and revise it to add a menu endpoint if that data is relevant to your use case.
How does pagination work in `search_restaurants`?+
The endpoint uses 1-based page numbering via the page parameter. Each response includes a page_size field indicating results per page and a total_results field indicating the full match count, so you can calculate the total number of pages and iterate through them sequentially.
Page content last updated . Spec covers 4 endpoints from www.opentable.com.
Related APIs in Food DiningSee all →
opentable.ca API
Search and discover restaurants on OpenTable, view detailed information like menus and reviews, and check real-time dining availability across metro areas. Find top-rated restaurants in your location and instantly see which tables are open for your preferred date and time.
resy.com, opentable.com API
Search and compare restaurants across Resy and OpenTable by cuisine, location, and price range, then sort results by price or ratings to find the best dining option. Retrieve comprehensive restaurant details including addresses, contact information, descriptions, and customer ratings all in one place.
resy.com API
Search for restaurants across cities and check real-time availability to find open reservation slots on Resy. Discover trending and top-rated venues with detailed information about dining options, menus, and available time slots across selected dates.
sevenrooms.com API
Search for available restaurant tables across any SevenRooms venue, view venue details and open dates, and complete reservations all in one place. Whether you're planning ahead or booking last-minute, you can check real-time availability and secure your table at thousands of restaurants on the SevenRooms platform.
toasttab.com API
Search for restaurants on ToastTab.com by location and keyword. Retrieve restaurant profiles, contact details, hours, and full menus — including item names, prices, descriptions, and customization options.
tock.com API
Search for restaurants on Tock and discover detailed information including their accolades, FAQs, menus, and contact details all in one place. Find the perfect dining experience with comprehensive restaurant profiles and booking options.
openrice.com API
Search for restaurants across Hong Kong and discover detailed information including reviews, cuisines, districts, and award-winning establishments. Browse new restaurant openings and filter by location or cuisine type to find exactly what you're looking for.
thefork.it API
Search and discover Italian restaurants by cuisine, location, or ratings, then access detailed information like menus, reviews, and availability across major cities in Italy. Find top-rated dining options and compare restaurant details to plan your perfect meal.