PeumeAPI

Search & SEO · DuckDuckGo

Search DuckDuckGo

Run a DuckDuckGo search and get parsed organic results.

$0.023 per call

Call it

curl https://api.peume.com/v1/call/search-duckduckgo-3 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "q": "your q"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: search-duckduckgo-3.

Parameters

qRequiredstring

The query you want to search. You can use anything that you would use in a regular DuckDuckGo search. (e.g., `inurl:`, `site:`, `intitle:`, etc.) Parameter length can not exceed 500 characters.

klstring

The region to use for the DuckDuckGo search. Region code examples: `us-en` for the United States, `uk-en` for United Kingdom, or `fr-fr` for France. Head to the DuckDuckGo regions for a full list of supported regions.

dfstring

Results filtered by date. It can be set to: `d`: Past day, `w`: Past week, `m`: Past month, `y`: Past year, or you can pass a custom date following the next format: `from_date` + `..` + `to_date` (e.g. `2021-06-15..2024-06-16`).

safestring

The level of filtering for adult content. It can be set to `1` (Strict), `-1` (Moderate - default), or `-2` (Off).

startstring

The result offset. It skips the given number of results. When offset is not being used (initial search request, `start` parameter is set to 0 or left blank), up to 11 `organic_results` can be returned. When offset is being used (`start` parameter is greater than 0), up to 50 `organic_results` can be returned. DuckDuckGo may return duplicated results or a variable number of results. This is more likely to happen with higher `start` and `m` parameters.

mstring

The maximum number of results to return. Default value:`50` Min. value:`1` Max. value:`50` When offset is not being used (initial search request, `start` parameter is set to 0 or left blank), up to 11 `organic_results` can be returned. DuckDuckGo may return duplicated results or a variable number of results. This is more likely to happen with higher `start` and `m` parameters. `m` and `search_assist` can't be used together.

json_restrictorstring

The fields you want to include in the output, reducing payload size for faster response. See the JSON Restrictor documentation for more details.

search_assiststring

Determines if DuckDuckGo's AI Search Assist will be returned in the response. It can be set to `true` or `false` (default). `search_assist` and `m` can't be used together.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.