DuckDuckGo Search API

DuckDuckGo Search API

Scalably and reliably acquire accurate, real-time data to meet market monitoring, SEO, and other needs.

1 toolsUpdated 2026.11.23
Start for free

Overview

Request parameters

ParameterDescription
qSearch QueryThis parameter defines the search query for crawling. The default value is pizza. You can enter any keyword you want to search for, in any language.
jsonOutput FormatThis parameter defines the output format of the collected results. Available formats are JSON and HTML (download supported), default is JSON. json=1 returns data in JSON format, json=2 returns data in JSON+HTML format, json=3 returns data in HTML format.
klRegion CodeThis parameter defines the region to use for DuckDuckGo search. Region code examples: us-en for United States, uk-en for United Kingdom, fr-fr for France. Visit the DuckDuckGo regions page for the full list of supported regions.
search_assistAI Search AssistanceThis parameter determines whether to return DuckDuckGo's AI search assist in the response. It can be set to true or false (default). search_assist and m cannot be used together.
safeSafe SearchThis parameter defines the adult content filtering level. It can be set to: 1 - strict, -1 - moderate (default), -2 - off.
dfDate FilterThis parameter defines date-filtered results. It can be set to: d: past day, w: past week, m: past month, y: past year, or you can pass a custom date in the following format: start_date..end_date (e.g., 2021-06-15..2024-06-16).
startStart OffsetThis parameter defines the result offset. It skips the specified number of results. When no offset is used (initial search request, start parameter set to 0 or left blank), up to 35 organic results can be returned. When an offset is used (start parameter greater than 0), up to 50 organic results can be returned. DuckDuckGo may return duplicate or variable numbers of results. This is more likely when using large start and m parameters.
mMax ResultsThis parameter defines the maximum number of results to return. Default: 50, minimum: 1, maximum: 50. When no offset is used (initial search request, start parameter set to 0 or left blank), up to 35 organic results can be returned. DuckDuckGo may return duplicate or variable numbers of results. This is more likely when using large start and m parameters. m and search_assist cannot be used together.
no_cacheDisable CacheBy default, search results for identical parameters are cached for 5 minutes. Set no_cache to true to skip the cache, or false (default) to use cached results. Cached searches are free and are not counted toward your search statistics.

Sample response

No sample data

Explore web scrapers

Start for free