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-settingsarrow-up-right 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 Parameterarrow-up-right

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/Langarrow-up-right

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 Paginationarrow-up-right

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 Filterarrow-up-right

kp

string

No

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

Response example

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