Search DuckDuckGo
litescrape.duckduckgo.serp.organicReturns ranked DuckDuckGo web results in `organic_results`
- Price
- $0.00015/successPelo preço do provedor
- Success rate
- 18,4%Last 30 days · 1.526 calls
- Latency p50
- 3.3 sp95 9.1 s
- Last verified
- 29 de set. de 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.duckduckgo.serp.organic?q=coffee+shops+AustinPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
m | inteiro | Opcional | Number of results, 1 through 50. Mutually exclusive with search_assist. | |
q | string | Obrigatório | Search text, 1 to 500 characters. | coffee Austin Texas |
df | string | Opcional | 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 | string | Opcional | DuckDuckGo region and language token, such as us-en; up to 32 characters. | us-en |
safe | string | Opcional | Safe-search level: 1 is strict, -1 is moderate, -2 is off. | |
start | inteiro | Opcional | Result offset from 0 through 10,000. | |
timeout | número | Opcional | 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 | booleano | Opcional | Use DuckDuckGo query assistance. Mutually exclusive with m. | |
- Parâmetros de consulta
minteiroOpcionalNumber of results, 1 through 50. Mutually exclusive with search_assist.
qstringObrigatórioSearch text, 1 to 500 characters.
Exemplo:
coffee Austin TexasdfstringOpcionalDate filter: d (past day), w (past week), m (past month), y (past year), or a YYYY-MM-DD..YYYY-MM-DD range.
Exemplo:
wklstringOpcionalDuckDuckGo region and language token, such as us-en; up to 32 characters.
Exemplo:
us-ensafestringOpcionalSafe-search level: 1 is strict, -1 is moderate, -2 is off.
startinteiroOpcionalResult offset from 0 through 10,000.
timeoutnúmeroOpcionalOptional 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_assistbooleanoOpcionalUse DuckDuckGo query assistance. Mutually exclusive with m.
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no 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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.00015/success, incluindo a taxa de serviço.