Search Google Local
litescrape.google.serp.localReturns Google Local business listings in `local_results`, with ratings, addresses, hours and links when Google shows them
- 价格
- $0.00015/success按供应商原价
- 成功率
- 82.5%近 30 天 · 1,468 次
- 延迟 p50
- 49 秒p95 83 秒
- 最后验证
- 2026年9月29日实测可用
GEThttps://toolswitch.dev/v1/tools/litescrape.google.serp.local?q=coffee+shops+in+Austin+Texas预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
q | 字符串 | 必填 | Local search query, 1 to 2,048 characters with no control characters. | coffee shops |
gl | 字符串 | 可选 | Two-letter country code used to localize results; case-insensitive. | us |
hl | 字符串 | 可选 | Language code such as en, en-US, or fr. | en |
tbs | 字符串 | 可选 | Native Google filter token, up to 4,096 characters. Google may ignore some values. | |
uule | 字符串 | 可选 | Canonical Google named-location token (starting w+CAIQICI), up to 2,048 characters. Mutually exclusive with location. | |
start | 整数 | 可选 | Result offset from 0 through 10,000. Offsets beyond Google's 1,000-result window return an empty page. | |
device | 字符串 | 可选 | Google device layout. Desktop returns up to 20 results per page; tablet and mobile up to 10. | |
ludocid | 字符串 | 可选 | Decimal Google local CID of one business, up to 128 digits. | 15667002398697190332 |
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. | |
location | 字符串 | 可选 | Human-readable search location, up to 512 characters. Mutually exclusive with uule. | Austin, Texas |
google_domain | 字符串 | 可选 | Google domain used for the request. | google.com |
- 查询参数
q字符串必填Local search query, 1 to 2,048 characters with no control characters.
示例:
coffee shopsgl字符串可选Two-letter country code used to localize results; case-insensitive.
示例:
ushl字符串可选Language code such as en, en-US, or fr.
示例:
entbs字符串可选Native Google filter token, up to 4,096 characters. Google may ignore some values.
uule字符串可选Canonical Google named-location token (starting w+CAIQICI), up to 2,048 characters. Mutually exclusive with location.
start整数可选Result offset from 0 through 10,000. Offsets beyond Google's 1,000-result window return an empty page.
device字符串可选Google device layout. Desktop returns up to 20 results per page; tablet and mobile up to 10.
ludocid字符串可选Decimal Google local CID of one business, up to 128 digits.
示例:
15667002398697190332timeout数字可选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字符串可选Human-readable search location, up to 512 characters. Mutually exclusive with uule.
示例:
Austin, Texasgoogle_domain字符串可选Google domain used for the request.
示例:
google.com
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.00015/success 计费,已含服务费。