Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Yelp Business Search

Documentazione API
https://api.sandbase.ai/v1/api/yelp/search

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

Prezzo
$0.00015USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 8 opzionali
100 chiamate gratuite / giornoPrime 100 chiamate al giorno gratuite (condivise per organizzazione) · Si azzera alle 00:00 UTC. Dopo, pagamento per chiamata.

Playground

Input
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
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

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.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Yelp$0.00015 per chiamataJSON
Yelp$0.01 per chiamataJSON
Yelp$0.00015 per chiamataJSON

Domande

FAQ

Come uso l'API Yelp Business Search?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/yelp/search con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Yelp Business Search?

$0.00015 per chiamata. Ogni organizzazione riceve 100 chiamate gratuite al giorno UTC, condivise tra le API SandBase idonee, inclusa questa; dopo, ogni chiamata viene addebitata a questo prezzo dal tuo saldo SandBase. Non c'è alcun abbonamento.

Quali parametri accetta l'API Yelp Business Search?

Richiesti: find_loc (string). Facoltativi: find_desc (string), yelp_domain (string), l (string), cflt (string), sortby (uno tra recommended, rating, review_count) e attrs (string) e altri 2. La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Yelp Business Search?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona).

Mi serve un account sviluppatore o una chiave API Yelp?

No. Yelp Business Search funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Yelp.