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