API Parameters
We've made it so you can easily customise your request by simply adding query parameters to your request, hence spending less time coding and more time manipulating the scraped data.
IMPORTANT! The engine
parameter should always be set to duckduckgo
for this API!
Being part of the SERP API suite, the DuckDuckGo engine uses query parameters
for customizing results. Below is a full list of supported parameters that you may pass to the base URL in order to get the most suited results from DuckDuckGo:
engine
Required
string
The engine of the SERP API. Needs to be set to duckduckgo
for requests to DuckDuckGo.
q
Required
string
The terms that you are searching for (the query).m
kl
string
Country and language code used to define the country and language of search. You can find the full list here.
kad
string
Language of the search page interface: buttons, menu. You can find a list with all the available markets here.
kp
int
Removes adult content from search results. Available values are:
1
- Turn on safe search
-1
- Moderate search content
-2
- Turn off safe search
df
string
Time range to search. Available values are:
d
- Past 2 weeks
w
- Past month
m
- Past 3 months
w
- Past 6 months
Last updated