Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Yelp Business Search

API-Dokumentation
https://api.sandbase.ai/v1/api/yelp/search

Search Yelp businesses by keyword and location: name, rating, review count, price level, categories and address.

Preis
$0.00015USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 8 optional
100 kostenlose Aufrufe / TagDie ersten 100 Aufrufe pro Tag kostenlos (organisationsweit geteilt) · Zurücksetzung um 00:00 UTC. Danach Abrechnung pro Aufruf.

Playground

Eingabe
Search location, 1 to 500 characters.
Business name, category, or search terms, up to 500 characters.
Supported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname.
Yelp map-bounds token, up to 1,024 characters.
Yelp category identifier, such as coffee.
Result order.
Comma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters.
Result offset from 0 through 10,000.
Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true an
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

Yelp Business Search API

Search Yelp businesses by keyword and location: name, rating, review count, price level, categories and address.

Request

curl -X POST "https://api.sandbase.ai/v1/api/yelp/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"find_desc": "coffee", "find_loc": "Austin, TX"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
find_locstringYesSearch location, 1 to 500 characters.
attrsstringNoComma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters.
cfltstringNoYelp category identifier, such as coffee.
find_descstringNoBusiness name, category, or search terms, up to 500 characters.
lstringNoYelp map-bounds token, up to 1,024 characters.
sortbystringNoResult order.
startintegerNoResult offset from 0 through 10,000.
timeoutnumberNoOptional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater t
yelp_domainstringNoSupported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname.

Pricing

Flat price per call. Failed calls are not charged.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Yelp$0.00015 pro AufrufJSON
Yelp$0.01 pro AufrufJSON
Yelp$0.00015 pro AufrufJSON

Fragen

FAQ

Wie verwende ich die Yelp Business Search API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/yelp/search mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Yelp Business Search API?

$0.00015 pro Aufruf. Jede Organisation erhält 100 kostenlose Aufrufe pro UTC-Tag, gemeinsam über alle berechtigten SandBase APIs einschließlich dieser hier; danach wird jeder Aufruf zu diesem Preis von Ihrem SandBase-Guthaben abgerechnet. Es gibt kein Abo.

Welche Parameter akzeptiert die Yelp Business Search API?

Erforderlich: find_loc (string). Optional: find_desc (string), yelp_domain (string), l (string), cflt (string), sortby (eines von recommended, rating, review_count) und attrs (string) und 2 weitere. Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Yelp Business Search API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron).

Benötige ich ein Yelp-Entwicklerkonto oder einen API-Schlüssel?

Nein. Yelp Business Search läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Yelp API beantragen.