Search DuckDuckGo
litescrape.duckduckgo.serp.organicReturns ranked DuckDuckGo web results in `organic_results`
- 价格
- $0.00015/success按供应商原价
- 成功率
- 18.4%近 30 天 · 1,526 次
- 延迟 p50
- 3.3 秒p95 9.1 秒
- 最后验证
- 2026年9月29日实测可用
GEThttps://toolswitch.dev/v1/tools/litescrape.duckduckgo.serp.organic?q=coffee+shops+Austin预览- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
m | 整数 | 可选 | Number of results, 1 through 50. Mutually exclusive with search_assist. | |
q | 字符串 | 必填 | Search text, 1 to 500 characters. | coffee Austin Texas |
df | 字符串 | 可选 | Date filter: d (past day), w (past week), m (past month), y (past year), or a YYYY-MM-DD..YYYY-MM-DD range. | w |
kl | 字符串 | 可选 | DuckDuckGo region and language token, such as us-en; up to 32 characters. | us-en |
safe | 字符串 | 可选 | Safe-search level: 1 is strict, -1 is moderate, -2 is off. | |
start | 整数 | 可选 | Result offset from 0 through 10,000. | |
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. | |
search_assist | 布尔 | 可选 | Use DuckDuckGo query assistance. Mutually exclusive with m. | |
- 查询参数
m整数可选Number of results, 1 through 50. Mutually exclusive with search_assist.
q字符串必填Search text, 1 to 500 characters.
示例:
coffee Austin Texasdf字符串可选Date filter: d (past day), w (past week), m (past month), y (past year), or a YYYY-MM-DD..YYYY-MM-DD range.
示例:
wkl字符串可选DuckDuckGo region and language token, such as us-en; up to 32 characters.
示例:
us-ensafe字符串可选Safe-search level: 1 is strict, -1 is moderate, -2 is off.
start整数可选Result offset from 0 through 10,000.
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.
search_assist布尔可选Use DuckDuckGo query assistance. Mutually exclusive with m.
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.duckduckgo.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.duckduckgo.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.duckduckgo.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 计费,已含服务费。