duckdata
v0.1.0DuckDuckGo search results as JSON: ranked results with ads in their own array, 37 regions.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
hasdata_duckduckgo_serp_getSearchResults duckduckgo_serp: GET /
Get DuckDuckGo Search Results Fetches DuckDuckGo SERPs for a query with region targeting (kl, or cc+setLang), safesearch (off/moderate/strict), device type, and token-based pagination. Returns organic results (title, url, snippet, displayed url, position, date, sitelinks, video metadata), ads, and the Search Assist AI answer. Use for SEO rank tracking, SERP feature monitoring, DuckDuckGo-specific visibility audits, and training/eval data for search agents.
| Parameter | Type | Description |
|---|---|---|
cc | string | The two-letter country code for the country to search from. Combined with `setLang` to form the DuckDuckGo region. Ignored if `kl` is set. |
deviceType | string | Specify the device type for the search. |
kl | string | DuckDuckGo region code in `<country>-<language>` form (e.g. `us-en`, `de-de`). Sets country and interface language at once; takes precedence over `cc`/`setLang`. Use `wt-wt` for no region. |
nextPageToken | string | Opaque token returned in each response as `nextPageToken`. Pass it back (in place of `q`) to fetch the next page of results. It carries a pre-signed page URL bound to the original request's session, s… |
q | string | Specify the search term for which you want to scrape the SERP. Required unless `nextPageToken` is provided (which carries the query of the page it continues). |
safeSearch | string | Adult Content Filtering option. |
setLang | string | The preferred result/interface language code — usually two letters (e.g. `en`, `de`), with script-tag variants for some languages (e.g. `zh-hans`, `zh-hant`). Combined with `cc` to form the DuckDuck… |