DuckDuckGo Search
GET
Query DuckDuckGo via API and retrieve structured organic results with region and language.
Credit cost: 1 credit per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringSearch query sent to DuckDuckGo Search.
page?numberPage number. Page 1 is the first page of results.
Default
"1"gl?stringCountry code, for example us, fr, gb, de, jp.
hl?stringLanguage code, for example en, fr, de, ja, zh.
Successful response
application/json- response
organic_results?array<>search_parameters?curl -X GET 'https://api.autom.dev/v1/duckduckgo/search?query=string'Example Response
{ "organic_results": [ { "link": "https://www.anthropic.com/", "title": "Anthropic", "domain": "www.anthropic.com", "snippet": "Anthropic is an AI safety company. Claude is its assistant.", "position": 1, "displayed_link": "https://www.anthropic.com" } ], "search_parameters": { "q": "anthropic", "gl": "us", "hl": "en", "page": 1, "engine": "duckduckgo" }}