Check live Google Maps busyness
litescrape.google.maps.popular_timesReturns popular_times for one place: the live busyness score compared with the usual score for this time, plus the usual hourly curve for each weekday
- Price
- $0.00015/successAu prix du fournisseur
- Success rate
- 93,8 %Last 30 days · 42 279 calls
- Latency p50
- 5.7 sp95 15 s
- Last verified
- 29 sept. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.maps.popular_times?place_id=ChIJjQxOkUG3RIYRQvNw_5i6b8sPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
gl | chaîne | Facultatif | Two-letter country code used to localize results. Defaults to us. | us |
hl | chaîne | Facultatif | Language code such as en, en-GB, or de. | en |
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. | |
place_id | chaîne | Obligatoire | Required Google Place ID, up to 512 letters, digits, _ or -. Copy it from a Google Maps search or place response. | ChIJT2h1HKZZwokR0kgzEtsa03k |
google_domain | chaîne | Facultatif | Google domain used for the request. | google.com |
- Paramètres de requête
glchaîneFacultatifTwo-letter country code used to localize results. Defaults to us.
Exemple :
ushlchaîneFacultatifLanguage code such as en, en-GB, or de.
Exemple :
entimeoutnombreFacultatifOptional 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.
place_idchaîneObligatoireRequired Google Place ID, up to 512 letters, digits, _ or -. Copy it from a Google Maps search or place response.
Exemple :
ChIJT2h1HKZZwokR0kgzEtsa03kgoogle_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.maps.popular_times?place_id=ChIJjQxOkUG3RIYRQvNw_5i6b8s' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.google.maps.popular_times?place_id=ChIJjQxOkUG3RIYRQvNw_5i6b8s",
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.maps.popular_times?place_id=ChIJjQxOkUG3RIYRQvNw_5i6b8s", {
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.