duckdata

v0.1.0
io.github.CloudCorpRecords/duckdata Checked 4 days ago Published 26 days ago

DuckDuckGo 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.

ParameterTypeDescription
ccstringThe two-letter country code for the country to search from. Combined with `setLang` to form the DuckDuckGo region. Ignored if `kl` is set.
deviceTypestringSpecify the device type for the search.
klstringDuckDuckGo 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.
nextPageTokenstringOpaque 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…
qstringSpecify 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).
safeSearchstringAdult Content Filtering option.
setLangstringThe 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…