DuckDuckGo Search API

Basic Information

Interface Description: Retrieve real-time search data from DuckDuckGo via API.

Interface URL: https://scraperapi.thordata.com/request

Request Method: POST

Request parameters

Headers:

Parameter name
Type
Required
Describe

token

string

Yes

Please log in to the Dashboard-account-settings to view your token

Body:

Parameter
Type
Required
Description

q

string

Yes

Defines the search query for scraping (default: q=pizza). Supports any keyword in any language. For a list of possible values, see Query Parameter

format

string

No

This parameter defines the output format of the crawl results. json=1 for JSON, json=2 for both, json=3 for HTML.

kl

string

No

Specify the interface language and region for search results .For a list of possible values, see Region/Lang

start

string

No

Set the pagination starting point for search results (e.g., 'start=1 skips the first 1 results and displays from the 2st).For a list of possible values, see Pagination

df

string

No

Filter search results by time range ('d=last 24 hours', 'w = last week', 'm = last month').For a list of possible values, see Time Filter

kp

string

No

Set the security filter level for search content (Strict/Medium/Off).For a list of possible values, see SafeSearch

Response example

    {
    "spider_parameter": {
        "engine": "duckduckgo",
        "q": "pizza"
    }
    "search_metadata": {
        "created_at": "2025-06-21 14:08:06",
        "id": "xxx",
        "url": "https://duckduckgo.com/search?q=pizza"
    },
    "result":{}

Parameter Name
Type
Required
Description

spider_parameter

object

yes

Search engine parameters configuration

engine

string

yes

Search engine type

q

string

yes

Search keyword

search_metadata

object

yes

Metadata of the search

created_at

string

yes

Timestamp of the search

id

string

yes

Unique task ID

url

string

yes

Full URL of the search request

result

string

yes

Return Result

Last updated