Autom

DuckDuckGo Search

GET
/v1/duckduckgo/search

Query DuckDuckGo via API and retrieve structured organic results with region and language.

Credit cost: 1 credit per call

Autorización

ApiKeyAuth
headerx-api-key<token>

Your API key. Include it in the x-api-key header for every request.

Parámetros de consulta

query*string

Search query sent to DuckDuckGo Search.

page?number

Page number. Page 1 is the first page of results.

Default"1"
gl?string

Country code, for example us, fr, gb, de, jp.

hl?string

Language code, for example en, fr, de, ja, zh.

Cuerpo de la respuesta

Successful response

application/json
  1. response
organic_results?array<>
search_parameters?
Example Request
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"  }}