DuckDuckGo News API — Search News Articles
Documentation menu
FetchLayer FetchLayer API

Search DuckDuckGo News

News articles for a query from DuckDuckGo News, in order: title, URL, publisher, excerpt, publication time as ISO 8601 (plus relativeTime, as DuckDuckGo phrases it) and image. Filter by region, safe search and time range. limit defaults to 30 and goes up to 150; hasMore says whether DuckDuckGo had more. Billing: each list page read counts as one request (about 30 articles a page).

POST /news News, videos & images
https://api.fetchlayer.dev/duckduckgo/news
OpenAPI JSON

Headers

Authorization string required

Bearer token — your FetchLayer API key.

Parameters

query string required

The search query (1–500 characters).

region string optional

Region code: us-en, uk-en, de-de, fr-fr, es-es, it-it, jp-jp, in-en, au-en, ca-en, br-pt and 52 more (64 codes, DuckDuckGo’s own list), or wt-wt for no region. Results and rankings differ by region. (default: us-en)

safeSearch string optional

DuckDuckGo’s own filter level: strict, moderate or off. DuckDuckGo still returns a site for a query that names it outright. (default: moderate)

timeRange string optional

any, day, week, month or year: only results published within it. (default: any)

limit number optional

Articles to return (1–150), or -1 for the maximum. (default: 30)

format string optional

json or markdown. (default: json)

timeoutMs number optional

Time limit for each page read, in milliseconds (1000–120000).

Response Fields

news

Search DuckDuckGo News

resultType string

search, rank-check, instant-answer, suggestions, news, videos or images.

requestedUrl string

The DuckDuckGo page this result corresponds to.

notes string[]

Caveats about this particular result — a list that may be incomplete, a depth DuckDuckGo could not reach, a later page that could not be read. Empty when there are none. Read it on every call.

transport string

The source this data came from. Always "duckduckgo".

scrapedAt string

ISO 8601 timestamp of when the data was collected.

query string

The query that was run.

region string

The region the results are for.

safeSearch string

The safe search level applied.

timeRange string

The time range applied.

articles object[]

The articles, in DuckDuckGo’s order.

articles[].position number

1-based position in the list.

articles[].title string

The headline.

articles[].url string

The article URL.

articles[].source string

The publisher, or null.

articles[].excerpt string

The excerpt DuckDuckGo shows, or null.

articles[].publishedAt string

Publication time, ISO 8601, or null.

articles[].relativeTime string

As phrased by DuckDuckGo, e.g. "2 hours ago".

articles[].imageUrl string

The article image, or null.

articleCount number

Articles in this response.

pagesScraped number

List pages read. Each counts as one request against your plan.

hasMore boolean

Whether DuckDuckGo had more articles than were returned.

Request

curl -X POST "https://api.fetchlayer.dev/duckduckgo/news" \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"query":"openai","limit":10}'

Response

{
  "resultType": "news",
  "requestedUrl": "https://duckduckgo.com/?q=openai&kl=us-en&kp=-1&ia=news&iax=news",
  "scrapedAt": "2026-09-15T19:47:53.372Z",
  "transport": "duckduckgo",
  "notes": [],
  "query": "openai",
  "region": "us-en",
  "safeSearch": "moderate",
  "timeRange": "any",
  "articles": [
    {
      "position": 1,
      "title": "OpenAI, Anthropic, and Google Join Forces for Safety as Antitrust Concerns Mount",
      "url": "https://gizmodo.com/openai-anthropic-and-google-join-forces-for-safety-as-antitrust-concerns-mount-2000811888",
      "source": "Gizmodo",
      "excerpt": "OpenAI just revealed that it has been working with its top competitors, Anthropic and Google DeepMind, on the problem for several weeks.",
      "publishedAt": "2026-09-15T06:45:00.000Z",
      "relativeTime": "13 hours ago",
      "imageUrl": "https://gizmodo.com/app/uploads/2026/09/GettyImages-2292626872-1200x675.jpg"
    },
    {
      "position": 2,
      "title": "OpenAI backs bipartisan House plan for third-party safety assessments",
      "url": "https://www.politico.com/news/2026/09/15/openai-backs-bipartisan-house-plan-for-third-party-safety-assessments-01076588",
      "source": "Politico",
      "excerpt": "The leading AI lab endorses a bipartisan proposal that would require top AI companies to work with independent safety assessors.",
      "publishedAt": "2026-09-15T13:57:00.000Z",
      "relativeTime": "6 hours ago",
      "imageUrl": "https://www.politico.com/dims4/default/resize/1200/quality/90/format/jpg?url=https%3A%2F%2Fstatic.politico.com%2Ff2%2F09%2Fdc27a7294a758654b5e81f1f1244%2Fhttps-delivery-gettyimages.com%2Fdownloads%2F2153474303"
    }
  ],
  "articleCount": 10,
  "pagesScraped": 1,
  "hasMore": true
}