Search DuckDuckGo
litescrape.duckduckgo.serp.organicReturns ranked DuckDuckGo web results in `organic_results`
- Price
- $0.00015/successAu prix du fournisseur
- Success rate
- 18,4 %Last 30 days · 1 526 calls
- Latency p50
- 3.3 sp95 9.1 s
- Last verified
- 29 sept. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.duckduckgo.serp.organic?q=coffee+shops+AustinPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
m | entier | Facultatif | Number of results, 1 through 50. Mutually exclusive with search_assist. | |
q | chaîne | Obligatoire | Search text, 1 to 500 characters. | coffee Austin Texas |
df | chaîne | Facultatif | 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 | chaîne | Facultatif | DuckDuckGo region and language token, such as us-en; up to 32 characters. | us-en |
safe | chaîne | Facultatif | Safe-search level: 1 is strict, -1 is moderate, -2 is off. | |
start | entier | Facultatif | Result offset from 0 through 10,000. | |
timeout | nombre | Facultatif | 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 | booléen | Facultatif | Use DuckDuckGo query assistance. Mutually exclusive with m. | |
- Paramètres de requête
mentierFacultatifNumber of results, 1 through 50. Mutually exclusive with search_assist.
qchaîneObligatoireSearch text, 1 to 500 characters.
Exemple :
coffee Austin TexasdfchaîneFacultatifDate filter: d (past day), w (past week), m (past month), y (past year), or a YYYY-MM-DD..YYYY-MM-DD range.
Exemple :
wklchaîneFacultatifDuckDuckGo region and language token, such as us-en; up to 32 characters.
Exemple :
us-ensafechaîneFacultatifSafe-search level: 1 is strict, -1 is moderate, -2 is off.
startentierFacultatifResult offset from 0 through 10,000.
timeoutnombreFacultatifOptional 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_assistbooléenFacultatifUse DuckDuckGo query assistance. Mutually exclusive with m.
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.00015/success, frais de service inclus.