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/successAu prix du fournisseur
- Success rate
- 82,5 %Last 30 days · 1 468 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
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
q | chaîne | Obligatoire | Local search query, 1 to 2,048 characters with no control characters. | coffee shops |
gl | chaîne | Facultatif | Two-letter country code used to localize results; case-insensitive. | us |
hl | chaîne | Facultatif | Language code such as en, en-US, or fr. | en |
tbs | chaîne | Facultatif | Native Google filter token, up to 4,096 characters. Google may ignore some values. | |
uule | chaîne | Facultatif | Canonical Google named-location token (starting w+CAIQICI), up to 2,048 characters. Mutually exclusive with location. | |
start | entier | Facultatif | Result offset from 0 through 10,000. Offsets beyond Google's 1,000-result window return an empty page. | |
device | chaîne | Facultatif | Google device layout. Desktop returns up to 20 results per page; tablet and mobile up to 10. | |
ludocid | chaîne | Facultatif | Decimal Google local CID of one business, up to 128 digits. | 15667002398697190332 |
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. | |
location | chaîne | Facultatif | Human-readable search location, up to 512 characters. Mutually exclusive with uule. | Austin, Texas |
google_domain | chaîne | Facultatif | Google domain used for the request. | google.com |
- Paramètres de requête
qchaîneObligatoireLocal search query, 1 to 2,048 characters with no control characters.
Exemple :
coffee shopsglchaîneFacultatifTwo-letter country code used to localize results; case-insensitive.
Exemple :
ushlchaîneFacultatifLanguage code such as en, en-US, or fr.
Exemple :
entbschaîneFacultatifNative Google filter token, up to 4,096 characters. Google may ignore some values.
uulechaîneFacultatifCanonical Google named-location token (starting w+CAIQICI), up to 2,048 characters. Mutually exclusive with location.
startentierFacultatifResult offset from 0 through 10,000. Offsets beyond Google's 1,000-result window return an empty page.
devicechaîneFacultatifGoogle device layout. Desktop returns up to 20 results per page; tablet and mobile up to 10.
ludocidchaîneFacultatifDecimal Google local CID of one business, up to 128 digits.
Exemple :
15667002398697190332timeoutnombreFacultatifOptional 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.
locationchaîneFacultatifHuman-readable search location, up to 512 characters. Mutually exclusive with uule.
Exemple :
Austin, Texasgoogle_domainchaîneFacultatifGoogle domain used for the request.
Exemple :
google.com
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
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());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.