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/successプロバイダー原価
- Success rate
- 82.5%Last 30 days · 1,468 calls
- Latency p50
- 49 sp95 83 s
- Last verified
- 2026/09/29Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.serp.local?q=coffee+shops+in+Austin+TexasPreview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00015/success です。サービス料を含みます。