DuckDuckGo Search API

Using the DuckDuckGo Search API, you can scrape DuckDuckGo search results without worrying about proxy rotation and data parsing. Our API is fast and reliable.

Parameters

Scrapingdog Parameters

Parameter
Description

api_key

required

Your personal API key. Available on your dashboard. Type: String

html

This will return the full HTML of the Google page. Default Value - false

Type - String

Search Query

Parameter
Description

query required

This parameter specifies the search query. You can enter any terms or operators you would normally use in a standard DuckDuckGo search (e.g., inurl:, site:, intitle:, etc.). Type - String

Localization

Parameter
Description

kl

This parameter sets the region for the DuckDuckGo search. For example: us-en for the United States, uk-en for the United Kingdom, or fr-fr for France. Refer to the DuckDuckGo regions page for the full list of supported region codes. Type - String

Advanced DuckduckGo Filters

Parameter
Description

df

This parameter filters results by date. Options include:

  • d: Past day

  • w: Past week

  • m: Past month

  • y: Past year

You can also specify a custom range using the format: from_date..to_date (e.g., 2021-06-15..2024-06-16). Type - String

Pagination

Parameter
Descriptio

next_page_token

This parameter specifies the next page token, used to fetch subsequent results. Each page returns 15 results. Type - String

API Example

curl "https://api.scrapingdog.com/duckduckgo/search/?api_key=5eaa61a6e562fc52fe763tr516e4653&query=football"

API Response

Last updated