Search Bing
litescrape.bing.serp.organicReturns Bing web results: organic results, ads, answer boxes, Knowledge Graph cards, local, shopping, news and related searches when Bing shows them
- 价格
- $0.00015/success按供应商原价
- 成功率
- 93.2%近 30 天 · 4,508 次
- 延迟 p50
- 3.2 秒p95 8.2 秒
- 最后验证
- 2026年9月29日实测可用
GEThttps://toolswitch.dev/v1/tools/litescrape.bing.serp.organic?q=coffee+shops+Austin预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
q | 字符串 | 必填 | Search query, up to 2,048 characters with no control characters. Bing search operators are preserved. | pizza shops in New York |
cc | 字符串 | 可选 | Two-letter ISO country code of the search origin, such as US; case-insensitive. Mutually exclusive with mkt. | US |
lat | 数字 | 可选 | Optional search-origin latitude from -90 through 90. Independent of lon and location. | 40.7128 |
lon | 数字 | 可选 | Optional search-origin longitude from -180 through 180. Independent of lat and location. | -74.006 |
mkt | 字符串 | 可选 | Bing market in language-country form, such as en-US; case-insensitive. Mutually exclusive with cc. | en-US |
first | 整数 | 可选 | One-based offset of the first organic result. | |
device | 字符串 | 可选 | Request profile: desktop, tablet, or mobile. Case-insensitive. | |
engine | 字符串 | 可选 | Search engine. Optional; the only accepted value is bing. | |
filters | 字符串 | 可选 | Native Bing display or date filters, up to 8,192 characters with no control characters. | ex1:"ez5_20069_20433" |
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 | 字符串 | 可选 | Optional city-level search origin, up to 256 characters. | New York, New York |
safeSearch | 字符串 | 可选 | Adult-content filtering: off, moderate, or strict. Case-insensitive. | |
- 查询参数
q字符串必填Search query, up to 2,048 characters with no control characters. Bing search operators are preserved.
示例:
pizza shops in New Yorkcc字符串可选Two-letter ISO country code of the search origin, such as US; case-insensitive. Mutually exclusive with mkt.
示例:
USlat数字可选Optional search-origin latitude from -90 through 90. Independent of lon and location.
示例:
40.7128lon数字可选Optional search-origin longitude from -180 through 180. Independent of lat and location.
示例:
-74.006mkt字符串可选Bing market in language-country form, such as en-US; case-insensitive. Mutually exclusive with cc.
示例:
en-USfirst整数可选One-based offset of the first organic result.
device字符串可选Request profile: desktop, tablet, or mobile. Case-insensitive.
engine字符串可选Search engine. Optional; the only accepted value is bing.
filters字符串可选Native Bing display or date filters, up to 8,192 characters with no control characters.
示例:
ex1:"ez5_20069_20433"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字符串可选Optional city-level search origin, up to 256 characters.
示例:
New York, New YorksafeSearch字符串可选Adult-content filtering: off, moderate, or strict. Case-insensitive.
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.bing.serp.organic?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.serp.organic?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.serp.organic?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 计费,已含服务费。