انتقل إلى المحتوى
جميع المواقع
Data API

Opentable Data API

بيانات JSON منظّمة عند الطلب، مع تجاوز مدمج للحماية من الروبوتات.

2 نقطتا نهايةنتولى عنك Akamai · akamai_seccpt · حد المعدل
opentable.comGET/opentable/rev…GET/opentable/sea…{ } JSON
مثال (مُلتقط مباشرةً) افتح بيئة التجربة
opentable.com
مثال
استجابة JSONانقر على الصفحة لتتبّع حقل
{
"restaurant": "the-smith-nomad-new-york",
"sort": "newest",
"rating": null,
"page": 1,
"market": "us",
"reservation": {
"party_size": 2
},
"summary": {
"name": "The Smith - Nomad",
"rating": 4.7,
"reviews_count": 6315,
"address": "1150 Broadway, New York, NY 10001",
"address_parts": {
"full": "1150 Broadway, New York, NY 10001",
"street": "1150 Broadway",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "US"
},
"coordinates": {
"latitude": 40.7442,
"longitude": -73.988645
},
"phone": "(212) 685-4500",
"price_level": 1,
"cuisines": [
"American"
],
"neighborhood": "Gramercy Park",
"dining_style": "Casual Dining",
"dress_code": "Casual Dress",
"description": "The Smith is a casual American brasserie with four upbeat locations in New York City: The Smith East Village, The Smith Midtown, The Smith Lincoln Square, and The Smith NoMad, as well as locations in DC and Chicago. We care about every meal and every moment. The menu features bistro classics, seasonal fare, and craft cocktails. Walk in the door and you’re in for a great time. Whether it’s date night, drinks on the town, a big birthday bash, a working lunch, a boozy brunch, or an I-don’t-want-to-cook-tonight night, we’ve got you covered.",
"menu_url": "http://thesmithrestaurant.com/location/NoMad/#section-menu",
"url": "http://www.thesmithrestaurant.com/",
"photos": [
"https://resizer.otstatic.com/v4/photos/55449628-1?width=752&height=752&format=avif",
"https://resizer.otstatic.com/v4/photos/24986966-1?width=752&height=752&format=avif",
"https://resizer.otstatic.com/v4/photos/24614407-1?width=752&height=752&format=avif",
"https://resizer.otstatic.com/v4/photos/55449634-1?width=752&height=752&format=avif",
"https://resizer.otstatic.com/v4/photos/67322867-1?width=752&height=752&format=avif"
],
"image": "https://resizer.otstatic.com/v4/photos/55449628-1?width=752&height=752&format=avif",
"hours": [
"Mon–Fri 11:30 am–10:00 pm Sat, Sun 10:30 am–10:00 pm"
],
"booked_today": 100
},
"reviews_results": {
"ratings": [
{
"stars": 5,
"count": 0
},
{
"stars": 4,
"count": 0
},
{
"stars": 3,
"count": 0
},
{
"stars": 2,
"count": 0
},
{
"stars": 1,
"count": 0
}
],
"reviews": {
"count": 6315,
"rating": 4.7,
"top_positive": null,
"top_negative": null,
"customer_reviews": [
{
"title": null,
"text": "Always great experience at The Smith. Very family friendly.",
"rating": null,
"sub_ratings": {
"overall": null
},
"user": null,
"date": null,
"dined_on": null,
"occasion": null,
"verified": null,
"id": null
}
]
}
},
"results": [
{
"id": null,
"author": null,
"scraped_at": "2026-09-07T23:06:42.473700+00:00",
"rating": {
"overall": null
},
"title": null,
"text": "Always great experience at The Smith. Very family friendly.",
"date": null,
"dined_on": null,
"occasion": null,
"verified": null
}
]
}
GET/v1/opentable/reviewsرصيد واحد / تشغيل تم التحقق

Restaurant Details

Full details for an OpenTable restaurant: the rating summary with food, service and ambience sub-ratings, diner reviews, cuisine, price, hours and menu, plus the available reservation time slots for a given date, time and party size.

نتولى عنك:Akamaiakamai_seccptحد المعدل
المعاملات
الاسمالنوعمطلوبالوصف
restaurantstringنعمRestaurant slug (from the /r/<slug> URL) or numeric id.
عوامل تصفية متقدمة
datestringلاReservation date as YYYY-MM-DD (for availability).
timestringلاReservation time as HH:MM (24h), e.g. 19:30.
party_sizeintegerلاParty size for availability, 1 to 20 guests. (default: 2) (الافتراضي: 2)
sortstringلاReview order. (الافتراضي: newest)
ratingintegerلاKeep only reviews with an overall score of at least this (1-5).
pageintegerلاPage number. (الافتراضي: 1)
marketstringلاus | gb. (الافتراضي: us)