Yelp business search by description and location
serpapi.x.yelp-searchLive Yelp business listings for a description and location
- Price
- $0.015/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
- 28 jul 2026Verified working
GEThttps://toolswitch.dev/v1/tools/serpapi.x.yelp-search?engine=yelp&find_loc=New+York%2C+NY%2C+USA&find_desc=CoffeePreviewTry onlinePróximamenteProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
answers arrive in `organic_results`.
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
engine | cadena | Obligatorio | yelp | |
find_loc | cadena | Obligatorio | location string; the only strictly required param besides engine | New York, NY, USA |
find_desc | cadena | Opcional | search query, e.g. business type | Coffee |
- Parámetros de consulta
enginecadenaObligatorioEjemplo:
yelpfind_loccadenaObligatoriolocation string; the only strictly required param besides engine
Ejemplo:
New York, NY, USAfind_desccadenaOpcionalsearch query, e.g. business type
Ejemplo:
Coffee
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/serpapi.x.yelp-search?engine=yelp&find_loc=New+York%2C+NY%2C+USA&find_desc=Coffee' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/serpapi.x.yelp-search?engine=yelp&find_loc=New+York%2C+NY%2C+USA&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/serpapi.x.yelp-search?engine=yelp&find_loc=New+York%2C+NY%2C+USA&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.015/success, incluida la tarifa de servicio.