DuckDuckGo Search

Search DuckDuckGo news results

Returns DuckDuckGo news results for a query string: title, destination URL, source, excerpt, thumbnail, and relative/published time, plus page-based pagination.

get/duckduckgo/news

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/duckduckgo/news
  • 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)

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": [
      {
        "excerpt": "OpenAI today announced...",
        "position": 1,
        "published_at": 1721418540,
        "relative_time": "2 hours ago",
        "source": "TechCrunch",
        "thumbnail": "https://example.com/thumb.jpg",
        "title": "OpenAI announces new model",
        "url": "https://example.com/openai-announces-new-model"
      }
    ]
  },
  "msg": "OK"
}

Changes

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