Search Yelp businesses
litescrape.yelp.business.searchReturns Yelp businesses in `organic_results`
- Price
- $0.00015/successZum Anbieterpreis
- Success rate
- —Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
- 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
Parameter
Four live requests returned upstream 503 service_unavailable. The documented request contract and price are retained; no successful result is verified yet.
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
l | Zeichenkette | Optional | Yelp map-bounds token, up to 1,024 characters. | g:-97.80,30.20,-97.70,30.30 |
cflt | Zeichenkette | Optional | Yelp category identifier, such as coffee. | coffee |
attrs | Zeichenkette | Optional | Comma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters. | OutdoorSeating |
start | Ganzzahl | Optional | Result offset from 0 through 10,000. | |
sortby | Zeichenkette | Optional | Result order. | |
timeout | Zahl | Optional | 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 | Zeichenkette | Erforderlich | Search location, 1 to 500 characters. | Austin, TX |
find_desc | Zeichenkette | Optional | Business name, category, or search terms, up to 500 characters. | coffee |
yelp_domain | Zeichenkette | Optional | Supported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname. | www.yelp.com |
- Abfrageparameter
lZeichenketteOptionalYelp map-bounds token, up to 1,024 characters.
Beispiel:
g:-97.80,30.20,-97.70,30.30cfltZeichenketteOptionalYelp category identifier, such as coffee.
Beispiel:
coffeeattrsZeichenketteOptionalComma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters.
Beispiel:
OutdoorSeatingstartGanzzahlOptionalResult offset from 0 through 10,000.
sortbyZeichenketteOptionalResult order.
timeoutZahlOptionalOptional 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_locZeichenketteErforderlichSearch location, 1 to 500 characters.
Beispiel:
Austin, TXfind_descZeichenketteOptionalBusiness name, category, or search terms, up to 500 characters.
Beispiel:
coffeeyelp_domainZeichenketteOptionalSupported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname.
Beispiel:
www.yelp.com
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
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());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.00015/success einschließlich Servicegebühr abgerechnet.