Skip to main content
POST
/
api
/
duckduckgo
/
search
/duckduckgo/search
curl --request POST \
  --url https://api.anysite.io/api/duckduckgo/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "timeout": 300,
  "count": 10
}
'
[
  {
    "url": "<string>",
    "@type": "DuckDuckGoSearchResult",
    "title": "",
    "description": ""
  }
]

Authorizations

access-token
string
header
required

Headers

access-token
string
required

Body

application/json
query
string
required

Search query. For example: 'python fastapi'

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
count
integer
default:10

Maximum number of results (from 1 to 20)

Response

Successful Response

url
string
required
@type
string
default:DuckDuckGoSearchResult
title
string
default:""
description
string
default:""