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

Yelp Place

API दस्तावेज़
https://api.sandbase.ai/v1/api/yelp/place

Get a Yelp business by place ID or alias with rating, review count, categories, hours, address, phone, website, amenities and menu.

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

प्लेग्राउंड

इनपुट
Parameter defines the Yelp ID of a place. Each place has two unique IDs (e.g. `ED7A7vDdg8yLNKJTSVHHmg` and `arabica-brooklyn`) and you can use either of them as a value of the `place_id`. To extract the IDs of a place you can use our Yelp Search API.
Parameter defines the Yelp domain to use. It defaults to `yelp.com`. Head to the Yelp domains for a full list of supported Yelp domains.
Set parameter to `true` to include business alert information when available. It defaults to `false`. Business alerts are temporarily unavailable. With this parameter, `place_results` are returned without `business_alert`.
Set parameter to `true` to scrape business full menu when available. It defaults to `false`. When the parameter `full_menu` is set to `true`, but the business queried doesn't have a full menu page, then `place_results` will be returned instead of `full_menu_results`. This information will also be returned in `search_information` and `error` keys in the json response.
Parameter defines the name of which Full Menu to scrape when more than one Full Menu is available. It can only be used in combination with `full_menu` parameter.
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

Yelp Place

Get a Yelp business by place ID or alias with rating, review count, categories, hours, address, phone, website, amenities and menu.

Request

curl -X POST "https://api.sandbase.ai/v1/api/yelp/place" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"place_id": "arabica-brooklyn"}'

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

Parameters

NameTypeRequiredDescription
place_idstringYesParameter defines the Yelp ID of a place. Each place has two unique IDs (e.g. ED7A7vDdg8yLNKJTSVHHmg and arabica-brooklyn) and you can use either of them as a value of the place_id. To extract the IDs of a place you can use our Yelp S
yelp_domainstringNoParameter defines the Yelp domain to use. It defaults to yelp.com. Head to the Yelp domains for a full list of supported Yelp domains.
business_alertstringNoSet parameter to true to include business alert information when available. It defaults to false. Business alerts are temporarily unavailable. With this parameter, place_results are returned without business_alert.
full_menustringNoSet parameter to true to scrape business full menu when available. It defaults to false. When the parameter full_menu is set to true, but the business queried doesn't have a full menu page, then place_results will be returned inst
menu_namestringNoParameter defines the name of which Full Menu to scrape when more than one Full Menu is available. It can only be used in combination with full_menu parameter.
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कीमतप्रतिक्रिया
Yelp Placeयह API
Yelp
$0.01 प्रति कॉलJSON
Yelp$0.00015 प्रति कॉलJSON
Yelp$0.00015 प्रति कॉलJSON

प्रश्न

FAQ

Yelp Place API का उपयोग कैसे करें?

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

Yelp Place API की लागत कितनी है?

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

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

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

Yelp Place API क्या लौटाती है?

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

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

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