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
- 价格
- $0.00015/success按供应商原价
- 成功率
- 93.8%近 30 天 · 42,279 次
- 延迟 p50
- 5.7 秒p95 15 秒
- 最后验证
- 2026年9月29日实测可用
GEThttps://toolswitch.dev/v1/tools/litescrape.google.maps.popular_times?place_id=ChIJjQxOkUG3RIYRQvNw_5i6b8s预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
gl | 字符串 | 可选 | Two-letter country code used to localize results. Defaults to us. | us |
hl | 字符串 | 可选 | Language code such as en, en-GB, or de. | en |
timeout | 数字 | 可选 | 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 | 字符串 | 必填 | Required Google Place ID, up to 512 letters, digits, _ or -. Copy it from a Google Maps search or place response. | ChIJT2h1HKZZwokR0kgzEtsa03k |
google_domain | 字符串 | 可选 | Google domain used for the request. | google.com |
- 查询参数
gl字符串可选Two-letter country code used to localize results. Defaults to us.
示例:
ushl字符串可选Language code such as en, en-GB, or de.
示例:
entimeout数字可选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字符串必填Required Google Place ID, up to 512 letters, digits, _ or -. Copy it from a Google Maps search or place response.
示例:
ChIJT2h1HKZZwokR0kgzEtsa03kgoogle_domain字符串可选Google domain used for the request.
示例:
google.com
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.00015/success 计费,已含服务费。