How to check a keyword's Google News top 10 with DataForSEO
Pull the top 10 live Google News articles for one keyword and country so an agent can build a dated news brief
On this page
You have 12 brand keywords to check in US Google News before a morning standup, and you need to know which story sits at the top of each one. One call to dataforseo.serp.google_news per keyword returns the top 10 articles, and 12 calls fill the standup sheet
The row you are building is keyword, rank, title, url, snippet, timePublished, publishedAt and checkedAt. Eight columns are more than anyone reads at once, so the shape below keeps five. Values here are placeholders showing the shape
| keyword | rank | title | timePublished | checkedAt |
|---|---|---|---|---|
| electric vehicle tax credit | 1 | (headline or empty) | 2 days ago | (timestamp) |
The remaining three columns are covered in the section on reading the output. No run has been executed for this article, so the table is a design rather than a result
The fields that set the country and language
The call is a POST /v1/runs for dataforseo.serp.google_news. keyword is the only required input, a string of 1 to 700 characters. For a brand watch, the keyword is the brand name as you would type it into Google News, not a search operator string
language_code defaults to en and follows a pattern such as en or zh-TW. location_code is a DataForSEO integer code with a minimum of 1, and it defaults to 2840, which the contract describes as the United States
For a US standup you can leave both at their defaults. For a UK or German edition of the same brief, set location_code and language_code to the pair that matches the news edition you are reading, and keep that pair identical across the 12 keywords so the ranks stay comparable. The contract lists these three properties without saying that nothing else is accepted, so check the current input list before you freeze a payload
Example keyword, invented for this article: electric vehicle tax credit
How to read rank, timePublished and url
Each response returns an articles array plus keyword, locationCode, languageCode, checkedAt and totalResults. Each article object carries rank, title, url, snippet, timePublished and publishedAt, and each of those can be null. Three of them drive the editorial pick
rankis the position Google News showed for that keyword. Sort ascending and keep nulls lasttimePublishedis the relative time as Google shows it, such as "2 days ago". It is a display string, so do not parse it into a date for sorting. Use it to break ties between two stories at similar rank, and readpublishedAtwhen you need a timestamp you can compareurlis the link as returned upstream, usually a Google redirect rather than the article address. A brief that needs the publisher link has to resolve that redirect first
checkedAt belongs to the whole pull, so it repeats in the same column for each of the 10 rows from one call. Keep it, because a standup brief without a pull time cannot be compared with yesterday's
One limit shapes this step: each call returns at most 10 articles. A keyword with heavy coverage gets the same 10 slots as a quiet one, so rank 10 in a busy topic is not the same signal as rank 10 in a quiet one. If the pick has to come from a longer list, this endpoint cannot supply it, and a second query or a different source is the next step
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to pull the top 10
Google News articles for the 12 keywords listed below, one call per
keyword. Before running anything, check the current input fields and the
price of tool id dataforseo.serp.google_news. Use location_code 2840 and
language_code en for the US edition unless the list says otherwise.
Return one markdown table with the columns keyword, rank, title, url,
snippet, timePublished, publishedAt and checkedAt. Sort each keyword
block by rank ascending, put null ranks last, and leave a cell empty
when the field is null instead of inventing a headline. Do not merge
rows across keywords.
Example keywords, replace with your own 12:
electric vehicle tax creditThe prompt asks for a table rather than prose because the analyst reads one column at a time. Swapping the single example keyword for the real 12 is the only edit needed before the first run
Estimated tool cost
The catalog lists dataforseo.serp.google_news with the unit max_call: "Maximum per call. Successful runs settle at DataForSEO's actual charge, with no markup", read through the Purrkey catalog on November 22, 2026 at up to $0.004 per call. The totals below are ceilings
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Morning brief | calls x max price | $0.004 per call | 12 | $0.048 |
| Weekly tracking | calls x max price | $0.004 per call | 60 | $0.24 |
The weekly row assumes 12 keywords on each of 5 days, which is 60 calls. Model fees for the agent are not counted
Next step
Twelve keywords means 12 calls, at most $0.048 for one standup brief. Open the Google News endpoint and check the current input list before sending the first request. For the plain web results endpoint on the same platform, see pull live Google SERP data with DataForSEO
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 DataForSEO.FAQ
How do I get Google News results by country?
Call dataforseo.serp.google_news with a keyword and a location_code. The code 2840 is the United States, and language_code defaults to en.
What does dataforseo.serp.google_news return?
It returns an articles array of up to 10 items, each with rank, title, url, snippet, timePublished and publishedAt, plus keyword, locationCode, languageCode, checkedAt and totalResults at the top level.
How many articles does one call return?
Each call returns at most 10 articles, so one keyword gives you the same number of slots whether coverage is heavy or thin.
How much does it cost to check 12 keywords in Google News?
At up to $0.004 per call, 12 calls for a morning brief cost at most $0.048. Weekly tracking of 12 keywords over 5 days is 60 calls, at most $0.24.
Why is the article url a Google redirect?
The contract describes url as the link as returned upstream, usually a Google redirect rather than the article address, so a brief that needs the publisher link has to resolve it first.
Can I sort articles by timePublished?
timePublished is the relative time as Google shows it, such as 2 days ago, so it is a display string rather than a comparable date. Use publishedAt when you need a timestamp to sort on.
What is location_code 2840?
It is the DataForSEO location code that the contract describes as the United States. It is also the default when location_code is omitted.
Next step
Try this with DataForSEO
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.