Search Yelp businesses
litescrape.yelp.business.searchReturns Yelp businesses in `organic_results`
- Price
- $0.00015/successAl precio del proveedor
- Success rate
- —Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
- 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
Parámetros
Four live requests returned upstream 503 service_unavailable. The documented request contract and price are retained; no successful result is verified yet.
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
l | cadena | Opcional | Yelp map-bounds token, up to 1,024 characters. | g:-97.80,30.20,-97.70,30.30 |
cflt | cadena | Opcional | Yelp category identifier, such as coffee. | coffee |
attrs | cadena | Opcional | Comma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters. | OutdoorSeating |
start | entero | Opcional | Result offset from 0 through 10,000. | |
sortby | cadena | Opcional | Result order. | |
timeout | número | Opcional | 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 | cadena | Obligatorio | Search location, 1 to 500 characters. | Austin, TX |
find_desc | cadena | Opcional | Business name, category, or search terms, up to 500 characters. | coffee |
yelp_domain | cadena | Opcional | Supported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname. | www.yelp.com |
- Parámetros de consulta
lcadenaOpcionalYelp map-bounds token, up to 1,024 characters.
Ejemplo:
g:-97.80,30.20,-97.70,30.30cfltcadenaOpcionalYelp category identifier, such as coffee.
Ejemplo:
coffeeattrscadenaOpcionalComma-separated Yelp attribute filters, such as OutdoorSeating; up to 4,096 characters.
Ejemplo:
OutdoorSeatingstartenteroOpcionalResult offset from 0 through 10,000.
sortbycadenaOpcionalResult order.
timeoutnúmeroOpcionalOptional 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_loccadenaObligatorioSearch location, 1 to 500 characters.
Ejemplo:
Austin, TXfind_desccadenaOpcionalBusiness name, category, or search terms, up to 500 characters.
Ejemplo:
coffeeyelp_domaincadenaOpcionalSupported first-party localized Yelp hostname, such as www.yelp.co.uk. Links in the response use this hostname.
Ejemplo:
www.yelp.com
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.00015/success, incluida la tarifa de servicio.