Search Bing Maps
litescrape.bing.maps.searchSearches Bing Maps listings when `q` is supplied, or returns one place's details when `place_id` is supplied; at least one of the two is required
- 价格
- $0.00015/success按供应商原价
- 成功率
- —暂无成功率数据暂无成功率数据
- 延迟 p50
- ——
- 最后验证
- 2026年9月29日实测可用
GEThttps://toolswitch.dev/v1/tools/litescrape.bing.maps.search?q=coffee+shops+Austin预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
q | 字符串 | 可选 | Search query, up to 2,048 characters. Required unless place_id is present. | coffee Austin Texas |
cp | 字符串 | 可选 | Map center in latitude~longitude form. | 30.2672~-97.7431 |
count | 整数 | 可选 | Number of listings, 1 through 30. | |
first | 整数 | 可选 | Listing offset from 0 through 10,000. | |
setlang | 字符串 | 可选 | Bing Maps interface language, such as en-US; up to 16 characters. | en-US |
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 | 字符串 | 可选 | Bing Maps place identifier from a listing row's place_id, up to 256 characters. Required unless q is present. | |
- 查询参数
q字符串可选Search query, up to 2,048 characters. Required unless place_id is present.
示例:
coffee Austin Texascp字符串可选Map center in latitude~longitude form.
示例:
30.2672~-97.7431count整数可选Number of listings, 1 through 30.
first整数可选Listing offset from 0 through 10,000.
setlang字符串可选Bing Maps interface language, such as en-US; up to 16 characters.
示例:
en-UStimeout数字可选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字符串可选Bing Maps place identifier from a listing row's place_id, up to 256 characters. Required unless q is present.
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.bing.maps.search?q=coffee+shops+Austin' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.bing.maps.search?q=coffee+shops+Austin",
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.bing.maps.search?q=coffee+shops+Austin", {
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 计费,已含服务费。