---
title: "OpenTable API: Restaurant | Perceptlayer"
description: "Restaurant from OpenTable as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/opentable/restaurant
---

[APIs](https://perceptlayer.com/apis) / [OpenTable](https://perceptlayer.com/apis/opentable) / Restaurant

# OpenTable: Restaurant

Restaurant from OpenTable as JSON. 1 credit per successful call.

GET `/v1/opentable/restaurant`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `restaurant_id` | integer | Optional | Any |
| `url` | string | Optional | Up to 300 characters |
| `country` | string | Optional | us, gb, ca, de, au, ie |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/opentable/restaurant?restaurant_id=489" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/opentable?try=restaurant#playground) with your own parameters. 1 credit per successful call; failed calls are free.
