---
title: "Get an OpenTable restaurant's profile and live availability"
method: GET
path: "/opentable/restaurant"
tags: ["OpenTable"]
---

# Get an OpenTable restaurant's profile and live availability

`GET /opentable/restaurant`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/opentable/restaurant`
- Auth: API key in header `x-api-key`

Returns a restaurant's profile (location, cuisines, hours, price band, review summary) plus real-time bookable timeslots for the given date/time and party size.

## Query parameters

- `restaurant_id` string, required
- `date_time` string
- `party_size` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- OpentableRestaurantResponseDoc
  - `code` integer
  - `data` OpentableRestaurantResponse
    - `availability_date_time` string: AvailabilityDateTime echoes the DateTime the Timeslots below were computed for (either the caller's or the now-default GetRestaurant applies -- see its doc comment).
    - `city` string
    - `country` string
    - `country_code` string
    - `cuisines` OpentableCuisine[]
      - `id` string
      - `name` string
      - `primary` boolean
    - `currency_code` string
    - `description` string
    - `dining_style` string
    - `dress_code` string
    - `email` string
    - `features` string[]
    - `hours` string
    - `id` string
    - `latitude` number
    - `line1` string
    - `line2` string
    - `longitude` number
    - `max_advance_days` integer
    - `max_party_size` integer
    - `name` string
    - `phone_number` string
    - `photos_count` integer
    - `postal_code` string
    - `price_band` OpentablePriceBand
      - `band` string
      - `label` string
    - `reviews` OpentableReviewSummary
      - `ambience` number
      - `count` integer
      - `food` number
      - `noise` number
      - `overall_rating` number
      - `review_count` integer
      - `service` number
      - `value` number
    - `state` string
    - `timeslots` OpentableTimeslot[]
      - `available` boolean
      - `date_time` string
      - `points` integer
      - `price_amount` integer
      - `redemption_tier` string
      - `token` string: Token is the upstream booking token for this slot. It is opaque and only meaningful back to OpenTable's own booking flow -- this service does not implement booking, only discovery.
      - `type` string
    - `website` string
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
