DuckDuckGo Search

Search DuckDuckGo web results

Returns DuckDuckGo web search results for a query string: title, destination URL, description, and hostname, plus page-based pagination. DuckDuckGo wraps every result link in its own click-tracking redirect; this endpoint always returns the decoded destination URL, never the raw redirect link.

get/duckduckgo/search

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/duckduckgo/search
  • Auth: API key in header x-api-key

Query parameters

qstring required

Search query

pageinteger

1-based page number, defaults to 1

regionstring

DuckDuckGo region/locale code, e.g. us-en, uk-en, wt-wt (worldwide, the default)

time_range'd' | 'w' | 'm' | 'y'

Restrict results to a recency window

safe_search'strict' | 'moderate' | 'off'

Safe search level, defaults to DuckDuckGo's own moderate setting when omitted

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "pagination": {
      "next_page": 2,
      "page": 1
    },
    "query": "openai",
    "results": [
      {
        "description": "OpenAI is an AI research and deployment company. Our mission is to ensure that artificial general intelligence benefits all of humanity.",
        "hostname": "openai.com",
        "position": 1,
        "title": "OpenAI | Research & Deployment",
        "url": "https://openai.com/"
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.