Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ
https://api.sandbase.ai/v1/api/opentable/reviews

Get diner reviews for a restaurant on OpenTable by restaurant ID, with overall and sub-ratings, text, date and diner info.

मूल्य
$0.01USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 2 वैकल्पिक

प्लेग्राउंड

इनपुट
Parameter defines the OpenTable Restaurant ID. This identifier can be found in the URL of the restaurant's page, it's the path of the URL (the part after the first singular `/`). For example, in the URL `https://www.opentable.com/r/central-park-boathouse-new-york-2`, the Restaurant ID is `r/central-park-boathouse-new-york-2`.
Parameter defines the page number. `1` (default) is the first page of 10 results, `2` is the 2nd page, etc.
Parameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

OpenTable Reviews

Get diner reviews for a restaurant on OpenTable by restaurant ID, with overall and sub-ratings, text, date and diner info.

Request

curl -X POST "https://api.sandbase.ai/v1/api/opentable/reviews" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rid": "r/central-park-boathouse-new-york-2"}'

The result is returned in outputs[0].data as structured JSON.

Parameters

NameTypeRequiredDescription
ridstringYesParameter defines the OpenTable Restaurant ID. This identifier can be found in the URL of the restaurant's page, it's the path of the URL (the part after the first singular /). For example, in the URL `https://www.opentable.com/r/central-
pagestringNoParameter defines the page number. 1 (default) is the first page of 10 results, 2 is the 2nd page, etc.
json_restrictorstringNoParameter defines the fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

Pricing

$0.010 per successful call. Failed calls are not charged.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
OpenTable$0.01 प्रति कॉलJSON

प्रश्न

FAQ

OpenTable Reviews API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/opentable/reviews पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

OpenTable Reviews API की लागत कितनी है?

$0.01 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

OpenTable Reviews API कौन-से parameters स्वीकार करती है?

आवश्यक: rid (string)। वैकल्पिक: page (string) और json_restrictor (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

OpenTable Reviews API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।

क्या मुझे एक OpenTable developer account या API key चाहिए?

नहीं। OpenTable Reviews SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से OpenTable API access के लिए आवेदन करने की आवश्यकता नहीं है।