Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Yelp Business Search

Docs 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.

Prix
$0.00015USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 8 facultatifs
100 appels gratuits / jourLes 100 premiers appels par jour sont gratuits (partagés par organisation) · Réinitialisation à 00:00 UTC. Ensuite, paiement à l'appel.

Bac à sable

Entrée
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
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Yelp$0.00015 par appelJSON
Yelp$0.01 par appelJSON
Yelp$0.00015 par appelJSON

Questions

FAQ

Comment utiliser l’API Yelp Business Search ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/yelp/search avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Yelp Business Search ?

$0.00015 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.

Quels paramètres l’API Yelp Business Search accepte-t-elle ?

Obligatoire : find_loc (string). Facultatif : find_desc (string), yelp_domain (string), l (string), cflt (string), sortby (l’un de recommended, rating, review_count) et attrs (string) et 2 de plus. Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Yelp Business Search ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone).

Ai-je besoin d’un compte développeur ou d’une clé API Yelp ?

Non. Yelp Business Search fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Yelp séparément.