How to pull DuckDuckGo news results for a keyword
Get titles, links, sources, dates, snippets and thumbnails for a keyword's recent news from DuckDuckGo
On this page
You have 30 queries about a newly announced open-weight model and need the last two weeks of coverage as dated links in one monitoring sheet. Each query becomes one DuckDuckGo news search, paged up to 50 results per call, and the rows merge into a table that tells you which outlets to brief and which claims need a same-day reply
The table is the deliverable, not a set of screenshots. No run has been executed for this article, so each value below is a placeholder that shows the shape
Example query and worksheet design
Example input, to be replaced with your own keyword list: q = open-weight model release. The input is invented for this guide, and the query text is short because q must not exceed 500 characters
A sheet with one row per returned article:
| Query | Position | Title | Link | Source | Date | Snippet | Thumbnail |
|---|---|---|---|---|---|---|---|
| open-weight model release | (integer) | (headline) | (URL) | (outlet) | (date string) | (text) | (image URL) |
Values here are placeholders showing the shape. The query column lets you group rows after the merge, and position preserves the order DuckDuckGo returned for each query. Sort by date before deciding which coverage is recent enough to act on
Inputs for the news search
The catalog path is POST /v1/runs for the DuckDuckGo news tool. The contract lists these fields, and the current catalog may list more; check it before a run
q is required. It accepts DuckDuckGo News search operators and must not exceed 500 characters. df sets the date filter to d for past day, w for past week, or m for past month. kl is a region code with the pattern two lowercase letters, a hyphen and two lowercase letters. m is the maximum number of results, from 1 to 50. safe is 1 for strict, -1 for moderate (the default) or -2 for off. start skips a number of results, from 0 to 500
For a two-week coverage check, the tool cannot set a 14-day window directly. Use df = m and keep rows whose date falls inside your window, or run df = w twice, a week apart. The first option may bring older articles into the sheet, so the date filter in the sheet is part of the job, not an optional cleanup
Page through results within the per-call cap
At most 50 results come back per call through m; m itself cannot exceed 50. To page, call again with start set to the offset: 0, then 50, then 100, and so on, until the response has no new rows or start reaches 500. A query with no results still counts as one search and returns a notice. Failed searches are not charged
The 50-result cap changes the shape of a broad query. If a query returns a full page, the next call is another search, and the cost table counts it as one. Keep the query list and the page offsets together so you do not pay twice for the same offset
Read the result fields that decide the brief
The output schema includes the engine field and lists a news_results array. The item fields are position, title, link, source, date, snippet and thumbnail. Those fields fill the sheet directly. source groups coverage by outlet, date decides whether an article is inside the two-week window, and link is what you open when a claim needs a same-day reply. snippet is for triage before opening the link, and thumbnail is optional for the monitoring view
notice is the field that changes a no-result row. When it is set, the search engine returned no results for that query; the search still counts. Do not treat an empty news_results array as a failed call. Check notice before you add a row to the "no coverage" list
For a parallel news search workflow, read the companion guide
Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to pull DuckDuckGo
news results for the queries below. Check the current inputs and price of
serpapi.duckduckgo.news before running anything. Use q for each query,
df=m, kl=us-en, m=50 and start=0 for the first page. Page with start=50
only when the first page is full and you need more rows. Return a table
with query, position, title, link, source, date, snippet and thumbnail.
Keep rows whose date falls inside the last two weeks and mark queries
with a notice as no coverage. Do not invent rows.
open-weight model releaseReplace the example query with your 30-query list. The prompt sets df to m because the tool has no 14-day filter; the date cut happens after the calls. If you need a narrower region, change kl before the run
Estimated tool cost
Prices come from the Purrkey catalog, read November 23, 2026. The price block gives $0.015 per call. A max_call ceiling means "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings, not settled charges
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Single keyword check | 1 call x price | $0.015 per call | 1 | $0.015 |
| 30-query news sweep | 30 calls x price | $0.015 per call | 30 | $0.45 |
| 10 queries daily for a week | 70 calls x price | $0.015 per call | 70 | $1.05 |
The 30-query sweep is the base plan. The daily plan is 10 queries for 7 days, which is 70 calls. Model fees for the agent are not counted. A full 50-result first page adds a second call for that query, so a 30-query sweep with a second page on 10 queries is 40 calls at most $0.60
Next action
Open the DuckDuckGo news tool page and check the current input schema before you build the query list
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with DuckDuckGo.FAQ
How do I pull DuckDuckGo news results for a keyword?
Send the keyword as the q input to serpapi.duckduckgo.news, set df for the date range, kl for region, m for the result cap and start to page through offsets. The response can include news_results with title, link, source, date, snippet and thumbnail.
What inputs does serpapi.duckduckgo.news take?
The contract lists q as required, plus optional df, kl, m, safe and start. q accepts DuckDuckGo News operators and must not exceed 500 characters.
How many results can one DuckDuckGo news call return?
At most 50 results per call through m, which has a maximum of 50. start is the offset used to page, and it goes up to 500.
What happens when a DuckDuckGo news query has no results?
The response includes a notice, and the search still counts as one search. Failed searches are not charged.
Can I limit DuckDuckGo news to the last two weeks?
The tool cannot set a 14-day window directly. df offers past day, past week or past month, so use m and filter the returned dates, or run w twice a week apart.
How much does a 30-query DuckDuckGo news sweep cost?
At $0.015 per call, 30 calls are at most $0.45. A single keyword check is at most $0.015, and 10 queries daily for a week is 70 calls at most $1.05.
Next step
Try this with DuckDuckGo
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.