ScavioScavio
Pricing
Tools
Sign InsGet Startedg
Blog
Google6 min readNov 29, 2026

How to Get Google News Headlines by Keyword Through an API, With Source and Published Time

Use Scavio's Google News API: one POST with a keyword returns about 100 headlines with the source, byline, ISO publish time and the publisher's link. 1 credit.

Scavio Team

Nov 29, 2026

Try the Google News API free
scavio
News monitoring / Tutorial
Google

To get Google News headlines for a keyword programmatically, use Scavio's Google News API. POST /api/v2/google/news with {"query": "Nvidia"} returns about 100 stories, each with the headline, the publication, its authors, a relative date, a machine-readable iso_date and the publisher's own link; add "so": 1 for newest first and gl/hl for another country's edition. Every call costs 1 credit, about $0.001 on the Growth plan.

Google has no public Google News API. Its free RSS feed gives titles and publish dates, but links that point back to Google; the comparison of Google News APIs measures that difference. Below, every response is a capture from November 29, 2026.

Step 1: Search by keyword

Bash
curl -s https://api.scavio.dev/api/v2/google/news \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "Nvidia", "gl": "us", "hl": "en"}'

This returned 98 results for 104 stories from 50 publications. The response is flat, with no data wrapper: search_parameters, news_results, menu_links, related_topics, then credits_used and credits_remaining. One story, as captured (icon and thumbnail URLs trimmed):

JSON
{
  "position": 14,
  "title": "What are AI chips, and what's so special about Nvidia's?",
  "link": "https://www.pbs.org/newshour/science/what-are-ai-chips-and-whats-so-special-about-nvidias",
  "source": {
    "name": "PBS",
    "title": "PBS",
    "authors": ["Jeffrey Young"]
  },
  "date": "5 hours ago",
  "iso_date": "2026-11-28T21:27:08Z",
  "topic_token": "CAAqKAgKIiJDQkFTRXdvTkwyY3ZNVEZ5YmpaamRERTJhQklDWlc0b0FBUAE",
  "publication_token": "CAAqIAgKIhpDQklTRFFnTWFna0tCM0JpY3k1dmNtY29BQVAB"
}

Some results are clusters: instead of a link they carry a title and a stories array of related coverage, each with the same fields as above. Flatten them before you count or store:

Python
stories = []
for r in res["news_results"]:
    stories.extend(r["stories"] if "stories" in r else [r])

source.authors was present on 78 of the 104 stories; Google shows no byline for the rest. All 104 had an iso_date and a link to the publisher's own site.

Step 2: Sort by date and keep only what is new

Bash
curl -s https://api.scavio.dev/api/v2/google/news \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "Nvidia", "gl": "us", "hl": "en", "so": 1}'

so: 1 returns newest first and echoes "so": "1" in search_parameters. At 02:45 UTC the top story was the WSJ's "Nvidia Tells Partners to Pause Shipments to Southeast Asia", iso_date 2026-11-29T02:35:40Z, labelled "9 minutes ago". 57 of the 104 stories were under 24 hours old and the oldest was 3.7 days, as charted in the comparison post. Because one call spans days, an hourly or daily poll only needs to drop what it has already seen:

Python
import json, requests

API_KEY = "sk_live_your_key"  # load from your secret store in real code
last_seen = "2026-11-29T01:45:00Z"  # stored from your previous run

res = requests.post(
    "https://api.scavio.dev/api/v2/google/news",
    headers={"Authorization": f"Bearer {API_KEY}"},
    json={"query": "Nvidia", "gl": "us", "hl": "en", "so": 1},
    timeout=60,
).json()

stories = []
for r in res["news_results"]:
    stories.extend(r["stories"] if "stories" in r else [r])

new = [s for s in stories if s.get("iso_date", "") > last_seen]
for s in sorted(new, key=lambda s: s["iso_date"], reverse=True):
    print(s["iso_date"], s["source"]["name"], s["title"], s["link"])

ISO timestamps in UTC compare correctly as strings, so no date parsing is needed. Store the link as the key; the same story can appear both on its own and inside a cluster.

Step 3: Choose the country edition

Bash
curl -s https://api.scavio.dev/api/v2/google/news \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "Nvidia", "gl": "gb", "hl": "en-GB", "so": 1}'

search_parameters came back as {"engine": "google_news", "q": "Nvidia", "google_domain": "google.com", "hl": "en-gb", "gl": "gb", "so": "1"}, so a stored response records which edition it came from. The UK edition shared 44 of its 104 links with the US one. It had 13 Financial Times stories and 7 from the BBC, against 1 and 0 in the US edition, where Yahoo Finance (17) and The Motley Fool (12) led.

Step 4: Follow a publication or topic

Every story carries a publication_token, and related_topics and menu_links carry topic_token values. Pass one instead of a query:

Bash
curl -s https://api.scavio.dev/api/v2/google/news \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"publication_token": "CAAqIAgKIhpDQklTRFFnTWFna0tCM0JpY3k1dmNtY29BQVAB", "gl": "us", "hl": "en"}'

That token, taken from the PBS story in step 1, returned 50 PBS stories with a top-level "title": "PBS" and a sub_menu_links entry for the "Recent" section. The first:

JSON
{
  "position": 1,
  "title": "The Supreme Court will decide whether assault weapons bans violate the Second Amendment",
  "link": "https://www.pbs.org/newshour/politics/the-supreme-court-will-decide-whether-assault-weapons-bans-violate-the-second-amendment",
  "source": { "name": "PBS", "title": "PBS", "authors": ["Lindsay Whitehurst"] },
  "date": "3 hours ago",
  "iso_date": "2026-11-28T22:57:54Z"
}

For the "Nvidia" query, related_topics offered Nvidia, NVIDIA DGX Spark, Nvidia Shield TV and Nvidia GTC, each with its own topic_token.

Step 5: Read the article

Google News returns headlines and links. When a story matters, read it with Extract:

Bash
curl -s https://api.scavio.dev/api/v1/extract \
  -H "Authorization: Bearer $SCAVIO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.pbs.org/newshour/science/what-are-ai-chips-and-whats-so-special-about-nvidias", "format": "markdown"}'
JSON
{
  "data": {
    "url": "https://www.pbs.org/newshour/science/what-are-ai-chips-and-whats-so-special-about-nvidias",
    "format": "markdown",
    "mode": "normal",
    "content": "- Title: What are AI chips, and what's so special about Nvidia's? | PBS News\n\n...",
    "content_length": 23755
  },
  "response_time": 1279,
  "credits_used": 1
}

The Markdown includes the site's navigation and share links around the article, so trim it before you send it to a model. Paywalled publishers return only what a logged-out reader sees.

All the endpoints this job uses

EndpointWhat it returnsCredits
POST /api/v2/google/news with queryAbout 100 stories for a keyword, by relevance or date (so)1
POST /api/v2/google/news with topic_token, section_token, story_token, publication_token or kgmidA topic, section, full-coverage story or publication feed1
POST /api/v1/extractAny article URL as Markdown, text or HTML1 (normal or advanced), 2 (ultra)

Getting started

  1. Sign up at the dashboard for 50 free credits, no card. Your key is on the API Keys page.
  2. Run step 1 with your own keyword, or try it in the playground.
  3. Schedule step 2 hourly or daily and store link and iso_date.
  4. For agents, connect the MCP server; Google News is one of its tools, with the same key.

Monitoring 50 keywords once an hour is about 36,000 calls a month: 36,000 credits, $36 at the Growth rate. With no code at all, the free Google News monitor shows the newest coverage of a brand.

Try the Google News API free, 50 credits, no card.

Reference: Google News API overview · news docs · best Google News APIs compared · a Google News RSS alternative that links to the article

Frequently asked questions

How do I search Google News by keyword with an API?

POST the keyword as query to Scavio's /api/v2/google/news with your API key. The response lists news_results with the headline, the publisher's link, the source name and authors, a relative date and an iso_date. On November 29, 2026 the keyword Nvidia returned 104 stories from 50 publications in one call.

How do I get only the newest Google News articles?

Send so: 1 to sort by date instead of relevance, then keep the stories whose iso_date is later than your last run. For Nvidia the newest story was 9 minutes old and 57 of 104 were under 24 hours old, so an hourly poll overlaps the previous one by a wide margin.

Can I get Google News for another country?

Yes. Set gl to the country and hl to the language, for example gl gb and hl en-GB for the UK edition. The UK edition of Nvidia shared 44 of its 104 links with the US edition and carried 13 Financial Times stories against 1 in the US.

Does the Google News API return the full article?

No. Google News shows headlines, sources and links, and that is what the API returns. To read a story, pass its link to Scavio's /api/v1/extract, which returns the page as Markdown, plain text or HTML for 1 credit.

Google News headlines as JSON

  • Keyword, topic or publication feeds
  • Source, byline and ISO publish time
  • 1 credit a call, no card to start
Try the Google News API free

50 free credits, no credit card

On this page

  1. Step 1: Search by keyword
  2. Step 2: Sort by date and keep only what is new
  3. Step 3: Choose the country edition
  4. Step 4: Follow a publication or topic

Related articles

View all
  • scavio
    Comparison / News monitoring
    Google
    6 Best Google News APIs in 2026: Scavio Returned 104 Nvidia Stories With the Publisher's Own Link, Where the Free RSS Feed Gave 104 Google Redirects
  • scavio
    Rss / News monitoring
    Google
    Is There a Google News RSS Alternative That Links to the Actual Article? Yes, a Keyword API That Returns the Publisher's URL
ScavioScavio

One scraper API for every social, search, e-commerce and real estate platform. Built for AI agents.

Product

  • Features
  • Pricing
  • Dashboard
  • Affiliates

Developers

  • Documentation
  • API Reference
  • Quickstart
  • MCP Integration
  • Python SDK

Alternatives

  • Tavily Alternative
  • SerpAPI Alternative
  • Firecrawl Alternative
  • Exa Alternative
  • Serper Alternative
  • Tavily vs Scavio
  • SerpAPI vs Scavio
  • All alternatives
  • Compare Scavio vs alternatives

Search APIs

  • Google Search API
  • Amazon Product API
  • YouTube API
  • Reddit API
  • Walmart Product API
  • TikTok API
  • Instagram API

Tools

  • All Tools

Ask AI about Scavio

© 2026 Scavio. All rights reserved.

Featured on TAAFT
Terms of ServicePrivacy Policy