Search Google Local
litescrape.google.serp.localReturns Google Local business listings in `local_results`, with ratings, addresses, hours and links when Google shows them
- Price
- $0.00015/successAl precio del proveedor
- Success rate
- 82,5 %Last 30 days · 1468 calls
- Latency p50
- 49 sp95 83 s
- Last verified
- 29 sept 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.serp.local?q=coffee+shops+in+Austin+TexasPreview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
| Parámetro | Tipo | Obligatorio | Descripción | Ejemplo |
|---|---|---|---|---|
| Parámetros de consulta | ||||
q | cadena | Obligatorio | Local search query, 1 to 2,048 characters with no control characters. | coffee shops |
gl | cadena | Opcional | Two-letter country code used to localize results; case-insensitive. | us |
hl | cadena | Opcional | Language code such as en, en-US, or fr. | en |
tbs | cadena | Opcional | Native Google filter token, up to 4,096 characters. Google may ignore some values. | |
uule | cadena | Opcional | Canonical Google named-location token (starting w+CAIQICI), up to 2,048 characters. Mutually exclusive with location. | |
start | entero | Opcional | Result offset from 0 through 10,000. Offsets beyond Google's 1,000-result window return an empty page. | |
device | cadena | Opcional | Google device layout. Desktop returns up to 20 results per page; tablet and mobile up to 10. | |
ludocid | cadena | Opcional | Decimal Google local CID of one business, up to 128 digits. | 15667002398697190332 |
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. | |
location | cadena | Opcional | Human-readable search location, up to 512 characters. Mutually exclusive with uule. | Austin, Texas |
google_domain | cadena | Opcional | Google domain used for the request. | google.com |
- Parámetros de consulta
qcadenaObligatorioLocal search query, 1 to 2,048 characters with no control characters.
Ejemplo:
coffee shopsglcadenaOpcionalTwo-letter country code used to localize results; case-insensitive.
Ejemplo:
ushlcadenaOpcionalLanguage code such as en, en-US, or fr.
Ejemplo:
entbscadenaOpcionalNative Google filter token, up to 4,096 characters. Google may ignore some values.
uulecadenaOpcionalCanonical Google named-location token (starting w+CAIQICI), up to 2,048 characters. Mutually exclusive with location.
startenteroOpcionalResult offset from 0 through 10,000. Offsets beyond Google's 1,000-result window return an empty page.
devicecadenaOpcionalGoogle device layout. Desktop returns up to 20 results per page; tablet and mobile up to 10.
ludocidcadenaOpcionalDecimal Google local CID of one business, up to 128 digits.
Ejemplo:
15667002398697190332timeoutnú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.
locationcadenaOpcionalHuman-readable search location, up to 512 characters. Mutually exclusive with uule.
Ejemplo:
Austin, Texasgoogle_domaincadenaOpcionalGoogle domain used for the request.
Ejemplo:
google.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.google.serp.local?q=coffee+shops+in+Austin+Texas' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.google.serp.local?q=coffee+shops+in+Austin+Texas",
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.google.serp.local?q=coffee+shops+in+Austin+Texas", {
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.