Replacement Solution for the Deprecated Google News API

Lost access to the Google News API? GNews API delivers what developers actually need: ranked headlines, full-text search, clean JSON, and real-time updates. It’s the practical, production-ready substitute for teams who demand speed and reliability.

What Developers Actually Need from a News API

Developers still want what the old Google News API promised: ranked headlines, search across current and historical articles, flexible filters by language or country, and lightweight JSON to build fast. That's exactly where GNews API fits—offering a modern news API that delivers clean, reliable data without the hassle.

Why GNews API exists

GNews API was created to replace the discontinued Google News API with a focused developer experience: simple REST endpoints, fast responses, and predictable JSON. It offers two pillars out of the box:

Magnifying ads icon

Top Headlines

Curated using Google News ranking for timely, on-topic results — categories such as general, world, business, technology, sports and more!

Reward icon

Search

Full-text search with boolean operators, time windows, language/country filters, and pagination.

What You Can Build with GNews API

Our API makes it simple to add reliable news features to your app or platform.
Here are just a few ways developers are using it:

Trending Headlines

Fetch ranked, real-time top headlines to power dashboards, homepages, and custom alerts—all delivered as clean JSON.

Code example 1

Advanced Search

Go beyond keywords with boolean operators, filters by language, country, and time range. Perfect for precise control and custom data pipelines.

Code example 2
Speedometer icon

Website/App News Feed

Embed a live news module on your site or app (by topic/language/country) to display auto-updating article cards.

Speedometer icon

AI Training Dataset Builder

Collect a recent, diverse dataset to train summarization, classification, or NER models.

Speedometer icon

Sports Topic Hub

Build themed hubs (e.g., football transfers, film/TV releases) with filtered, frequently refreshed headlines.

FAQ

No. Google retired its public News API, leaving developers without an official way to query Google News programmatically. GNews API was built to fill that gap with the pieces people actually relied on: ranked top headlines, full-text search, filters by language and country, and predictable JSON.

No. GNews API is an independent service and is not affiliated with, endorsed by or sponsored by Google. Our Top Headlines endpoint follows Google News rankings to decide which stories are leading, but the service, the infrastructure and the support are entirely our own.

Because scraping breaks. Layouts change, requests get blocked, articles need deduplicating and normalising, and none of it is legally comfortable. GNews API gives you a stable, documented contract instead: one API key, two endpoints, consistent JSON, and article content already extracted and cleaned.

Usually an afternoon of work. There are two REST endpoints, authentication is a single API key, and the JSON response is flat: totalArticles plus an articles array whose items carry title, description, content, url, image, publishedAt, lang and a source object. Most migrations amount to swapping the base URL, renaming a few query parameters and remapping those fields. The documentation and the official libraries cover the rest.

Yes, in two steps: start on the Free plan to check the shape of the data and your integration, then run a 10-day free trial of a paid plan to test it with real-time articles, full content and production volumes. You can cancel at any point during the trial without being charged.

Create an account at gnews.io/register, confirm your email address, and your API key is waiting on your dashboard. It works immediately on the Free plan, no credit card required.

Two. Search (/api/v4/search) runs a full-text query across articles, with boolean operators, date ranges, language and country filters, sorting and pagination. Top Headlines (/api/v4/top-headlines) returns the current top stories for a category such as general, world, nation, business, technology, entertainment, sports, science or health. Both are documented at docs.gnews.io.

Google News rankings decide which stories make it into a category, so the selection reflects what is actually leading the news cycle for the category, language and country you request. The articles themselves are then returned in chronological order, newest first.

Looking for something else? See all frequently asked questions.

Ready to build
with the best news API?

Get your free API key and make your first request in minutes.