How to Automate Supply Chain Risk Reports: A Guide for Developers
Do you use Python? If so, this guide will help you automate supply chain risk reports using AI Chat GPT and our News API.
If you’re looking for a Google News API, the first thing to know is that Google does not currently offer an official public API for Google News.
Google deprecated the Google News Search API in 2011 and announced its final shutdown in 2016. The API ceased operations on February 15, 2016.
That leaves developers with several ways to access news in 2026. You can use Google News RSS if you need a simple feed of Google News results, use a SERP API if Google’s actual rankings matter to your application, or use a dedicated news API if you need structured news data for search, monitoring, analysis, or AI.
The right choice comes down to one question:
Do you need Google News results, or do you need news data?
Those sound similar, but they lead to very different technical solutions.
| What you need | Best approach |
|---|---|
| Free access to Google News headlines | Google News RSS |
| Google’s actual ranked news results | Google News SERP API |
| News search inside an application | Dedicated News API |
| Media or risk monitoring | Dedicated News API |
| News retrieval for AI or RAG | Contextual News Search API |
| Structured news metadata and filters | Dedicated News API |
There used to be one.
Google’s News Search API allowed developers to programmatically search Google News. Google announced the API’s deprecation in 2011 and eventually shut it down on February 15, 2016, together with several other older search APIs.
As a result, there is no official Google News API key that developers can request today.
This distinction matters because many services found when searching for “Google News API” are third-party products. Some scrape or retrieve Google’s search results. Others search their own news databases. They may provide useful APIs, but they are not APIs operated by Google News.
Google Custom Search is also different. It lets developers programmatically search web content using Google’s search infrastructure, but it is not a replacement endpoint that exposes Google News itself.
So if a project requirement says, “Connect to the Google News API,” the first step should be figuring out what the application actually needs from Google News.
There are three practical approaches.
Google News exposes RSS feeds that can be used to retrieve headlines for searches, topics, and locations.
A search feed commonly uses this format:
https://news.google.com/rss/search?q=artificial%20intelligence&hl=en-US&gl=US&ceid=US:en
The q parameter contains the search query. The other parameters control the language and geographic edition.
For example, a developer looking for news about electric vehicles could request:
https://news.google.com/rss/search?q=electric%20vehicles&hl=en-US&gl=US&ceid=US:en
The feed returns RSS/XML rather than a conventional JSON API response.
Google does not publish formal developer documentation for the Google News RSS search endpoint, so the syntax developers use is based largely on observed behavior and community documentation.
That makes RSS a good option for relatively simple use cases such as displaying headlines, following a topic, or building a personal news feed.
For many projects, that may be enough.
The limitations become more noticeable when an application needs structured metadata, predictable API behavior, large-scale retrieval, sophisticated filtering, historical search, or fields designed for machine analysis.
A second category of services retrieves Google’s actual News search results and returns them through an API.
This is the right approach when Google’s ranking itself is part of the data you need.
For example, an SEO platform might want to know which articles Google News returns for a company name. A publisher might want to track whether its stories appear prominently for certain topics. A research system might specifically need Google’s selection and ordering of stories.
In those cases, replacing Google News with an independent news database would change the thing being measured.
A Google News SERP API typically takes a search query, retrieves results from Google News, and converts them into structured fields such as titles, sources, URLs, timestamps, and ranking positions.
The tradeoff is that you are getting a representation of Google’s results rather than searching the underlying news universe directly.
A dedicated news API solves a different problem.
Instead of asking:
What results did Google News rank for this query?
the application asks:
What news articles match what I’m looking for?
That distinction becomes important for applications such as media monitoring, financial analysis, adverse media screening, market intelligence, research tools, AI agents, and RAG systems.
A dedicated news API can maintain its own news corpus, normalize articles into structured data, and add fields that Google News results were never designed to provide.
Depending on the provider, those fields can include language, country, category, sentiment, entities, source information, full article text, summaries, and other metadata.
If the end goal is to feed relevant news into software rather than reproduce a Google search result page, a dedicated news API is usually the more natural architecture.
The phrase “Google News API” often mixes together three very different products.
| Capability | Google News RSS | Google News SERP API | Dedicated News API |
|---|---|---|---|
| Returns Google-ranked results | Yes | Yes | No |
| Formal JSON API | No | Yes | Yes |
| Search Google’s ranking | Yes | Yes | No |
| Structured article metadata | Limited | Moderate | Usually extensive |
| Sentiment filtering | No | Usually no | Provider dependent |
| Category filtering | Limited | Google-defined | Provider dependent |
| Historical news search | Limited | Usually limited | Provider dependent |
| Full article content | Limited | Usually limited | Provider dependent |
| Natural-language retrieval | No | Provider dependent | Provider dependent |
| Good fit for AI/RAG | Limited | Moderate | Often strong |
Neither category is universally better.
A SERP API is better when you care about what Google ranks.
A news API is better when you care about finding and processing the news itself.
For developers who only need a lightweight way to retrieve headlines, Google News RSS is the obvious place to start.
There is no API key, account, or paid plan involved.
Python’s feedparser package makes it easy to read an RSS feed.
Install it:
pip install feedparser
Then:
import feedparser
from urllib.parse import urlencode
query = "artificial intelligence"
params = urlencode({
"q": query,
"hl": "en-US",
"gl": "US",
"ceid": "US:en"
})
url = f"https://news.google.com/rss/search?{params}"
feed = feedparser.parse(url)
for entry in feed.entries[:10]:
print(entry.title)
print(entry.link)
print(entry.get("published"))
print()
This can work well for prototypes, personal applications, simple monitoring scripts, or systems that only need a small stream of headlines.
It also demonstrates why RSS and a production news API should not be treated as identical.
The RSS output is meant to describe a feed. A news API response is usually designed to become part of an application.
The same feed can be read from Node.js using an RSS parser.
Install rss-parser:
npm install rss-parser
Then:
import Parser from "rss-parser";
const parser = new Parser();
const query = encodeURIComponent("artificial intelligence");
const url =
`https://news.google.com/rss/search?q=${query}` +
`&hl=en-US&gl=US&ceid=US:en`;
const feed = await parser.parseURL(url);
for (const item of feed.items.slice(0, 10)) {
console.log(item.title);
console.log(item.link);
console.log(item.pubDate);
}
Again, this provides a simple way to consume Google News results without pretending that RSS is an official Google News developer API.
RSS is attractive because it is simple.
The difficulties usually appear when the news becomes part of a larger software workflow.
Imagine an application that needs to find:
US companies facing new regulatory investigations over data privacy during the past week.
A basic feed can search for words related to that topic.
A more sophisticated application may also need to specify that the articles must come from US sources, fall within a particular time period, carry negative sentiment, belong to relevant news categories, and discuss the idea even when the article never uses the exact wording in the query.
At that point, the problem has moved beyond getting Google News headlines.
It has become a news retrieval problem.
Webz.io is not designed to reproduce Google’s News ranking.
Its News Search API is designed for applications that need to find relevant articles inside a dedicated news corpus.
That difference is useful because many developers searching for a “Google News API” actually need an API that lets software retrieve news about a topic.
Traditional news search often starts with a Boolean query:
("semiconductor" OR "chip manufacturer")
AND ("China" OR "Chinese")
AND ("manufacturing" OR "factory" OR "production")
AND ("move" OR "relocate" OR "diversify")
A contextual news search API can instead accept the actual idea:
Semiconductor companies moving manufacturing out of China
because of geopolitical or trade risks
Webz.io’s News Search API accepts natural-language queries and finds articles based on meaning rather than requiring every result to contain the exact words used in the query.
This is especially useful for AI systems, where the query often begins as a question or description rather than a carefully constructed search expression.
Semantic relevance alone does not solve every news retrieval problem.
Consider:
Companies facing regulatory investigations over data privacy
An application might only want negative articles published in the United States during a defined period.
Webz.io allows a natural-language query to be combined with structured filters including language, country, category, sentiment, publication dates, domains, and excluded domains.
For example:
{
"query": "companies facing regulatory investigations over data privacy",
"k": 15,
"filters": {
"language": ["english"],
"country": ["US"],
"sentiment": ["negative"],
"published_from": "2026-08-18"
}
}
This separates two jobs that are often awkwardly combined in a single search string.
The natural-language query describes what the application means.
The filters describe which news the application is willing to accept.
That is useful for monitoring, research, risk analysis, and AI applications where relevance alone is only one part of the retrieval logic.
A basic request looks like this:
curl -s -X POST "http://api.webz.io/api/news/context" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"query": "renewable energy investments in Germany"
}'
The API searches recent news and returns matching articles together with the article section most relevant to the query.
A response contains structured fields such as:
{
"results": [
{
"article": {
"article_id": "article-id",
"url": "https://example.com/article",
"title": "Example article",
"published_at": "2026-08-05T14:30:00Z",
"summary": "Article summary"
},
"chunk": {
"text": "The matching passage from the article."
},
"metadata": {
"language": "english",
"country": "US",
"category": ["business"],
"sentiment": "neutral",
"domain": "example.com"
}
}
]
}
The relevant passage is particularly useful for AI applications.
Instead of retrieving a list of URLs and then downloading and processing each entire article, an application gets the section of the article that caused it to match the query.
That can reduce the amount of irrelevant content passed to an LLM and give a RAG system focused evidence to work with.
Developers can find the current request and response formats in the News Search API documentation.
There is another difference between Google News, general web search APIs, and dedicated news APIs: what they search.
General search products start with the web.
Dedicated news products start with news.
Webz.io currently reports coverage of more than 3.5 million news articles per day from more than 300,000 news sites, spanning 170+ languages and 200+ countries.
For an application where news is the primary dataset, that creates a different retrieval model from searching the general web and then trying to identify which results happen to be news.
This becomes useful for systems built around media monitoring, financial events, corporate risk, adverse media, geopolitical research, or news-based AI agents.
For a deeper comparison of this type of retrieval, see Best Contextual News Search APIs for AI in 2026.
There is no single “best Google News API alternative” because the products solve different problems.
If you want Google’s exact results, choose a service that retrieves Google News results.
If you simply want a free stream of headlines, start with RSS.
If you need structured news for an application, evaluate dedicated news APIs.
If you need natural-language retrieval for an AI agent or RAG system, evaluate contextual search rather than only traditional keyword APIs.
A useful way to think about the options is:
You want a simple, free feed and can work with RSS/XML.
This is often enough for hobby projects, personal alerts, or basic headline displays.
The question you are asking is specifically:
What does Google News show?
That includes SEO research, publisher visibility, ranking analysis, and products designed around Google search behavior.
You know exactly which keywords, entities, sources, or Boolean conditions you want to monitor.
This remains a strong model for repeatable monitoring feeds.
The application starts with an idea, question, event, or research objective rather than a fixed collection of keywords.
This is particularly relevant to AI agents and RAG systems.
An agent might ask:
Find reports of European manufacturers reducing production
because of weak consumer demand.
The application can then retrieve relevant news even when publishers describe the same development using different language.
Webz.io also provides an MCP server that allows compatible AI agents to call its News Search API as a tool. The MCP interface exposes natural-language search together with controls for domains, country, language, sentiment, category, and time.
There is no official Google News API with a free API key because there is currently no official public Google News API.
Google News RSS, however, provides a free way to consume Google News feeds without obtaining an API key.
Third-party news APIs have their own free plans and pricing models.
Webz.io currently includes $5 in API credit every month at no cost, with no credit card required. Its usage-based Search API pricing is currently $0.001 per API call plus $0.0005 per returned result.
That means developers can test the News Search API and build small applications before deciding whether they need paid usage.
See the current Webz.io API pricing for the latest rates and account options.
Google News does not currently offer an official public API. Google deprecated its old News Search API in 2011 and shut it down on February 15, 2016.
Developers now commonly use Google News RSS, third-party Google News SERP APIs, or dedicated news APIs.
There is no current official Google News API to subscribe to. Google News RSS can be accessed for free and does not require an API key.
Third-party Google News and news-data APIs use their own pricing models.
You cannot request an official Google News API key from Google because Google does not currently operate a public Google News API.
If a service asks you to obtain a “Google News API key,” it is generally referring to a key issued by that third-party provider.
Yes. One common approach is to retrieve a Google News RSS feed and parse it using a Python RSS library such as feedparser.
For production applications that need structured search, filters, larger-scale retrieval, or additional metadata, a dedicated news API may be easier to integrate.
Google News RSS returns XML rather than JSON.
Third-party services can convert Google News results into JSON, while dedicated news APIs typically provide structured JSON responses directly.
Yes. Google News currently exposes RSS feeds for searches and other news views. These feeds are widely used, although Google does not provide a formal public developer specification for the Google News RSS search endpoint.
It depends on the application.
Use Google News RSS when you need a simple free feed. Use a Google News SERP API when you specifically need Google’s search results or rankings. Use a dedicated news API when you need structured news data for an application. Use contextual news search when your application needs to retrieve news from natural-language questions or concepts.
The most useful distinction is also the simplest:
If you need Google News results, use a Google News-specific solution. If you need news data for your application, use a news API.
Do you use Python? If so, this guide will help you automate supply chain risk reports using AI Chat GPT and our News API.
Use this guide to learn how to easily automate supply chain risk reports with Chat GPT and news data.
A quick guide for developers to automate mergers and acquisitions reports with Python and AI. Learn to fetch data, analyze content, and generate reports automatically.