Search Yelp businesses
litescrape.yelp.business.searchReturns Yelp businesses in `organic_results`
- Price
- $0.00015/successAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/litescrape.yelp.business.search?find_loc=Austin%2C+TX&find_desc=coffeePreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
Four live requests returned upstream 503 service_unavailable. The documented request contract and price are retained; no successful result is verified yet.
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
l | chaîne | Facultatif | Yelp map-bounds token, up to 1,024 characters. | g:-97.80,30.20,-97.70,30.30 |
cflt | chaîne | Facultatif | Yelp category identifier, such as coffee. | coffee |
attrs | chaîne | Facultatif | Comma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters. | OutdoorSeating |
start | entier | Facultatif | Result offset from 0 through 10,000. | |
sortby | chaîne | Facultatif | Result order. | |
timeout | nombre | Facultatif | 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 and a request ID. Omit to retain the standard server deadline. | |
find_loc | chaîne | Obligatoire | Search location, 1 to 500 characters. | Austin, TX |
find_desc | chaîne | Facultatif | Business name, category, or search terms, up to 500 characters. | coffee |
yelp_domain | chaîne | Facultatif | Supported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname. | www.yelp.com |
- Paramètres de requête
lchaîneFacultatifYelp map-bounds token, up to 1,024 characters.
Exemple :
g:-97.80,30.20,-97.70,30.30cfltchaîneFacultatifYelp category identifier, such as coffee.
Exemple :
coffeeattrschaîneFacultatifComma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters.
Exemple :
OutdoorSeatingstartentierFacultatifResult offset from 0 through 10,000.
sortbychaîneFacultatifResult order.
timeoutnombreFacultatifOptional 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 and a request ID. Omit to retain the standard server deadline.
find_locchaîneObligatoireSearch location, 1 to 500 characters.
Exemple :
Austin, TXfind_descchaîneFacultatifBusiness name, category, or search terms, up to 500 characters.
Exemple :
coffeeyelp_domainchaîneFacultatifSupported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname.
Exemple :
www.yelp.com
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.yelp.business.search?find_loc=Austin%2C+TX&find_desc=coffee' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.yelp.business.search?find_loc=Austin%2C+TX&find_desc=coffee",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/litescrape.yelp.business.search?find_loc=Austin%2C+TX&find_desc=coffee", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00015/success, frais de service inclus.