Is There a Google News API? What Developers Use Instead

No. Google retired its Google News Search API in 2011 and has offered no public API for Google News since. Developers use one of three options instead: the Google News RSS feeds, a SERP scraping API, or GNews API, which returns headlines ranked like Google News and keyword search over an archive, as JSON, with a free plan.

Is there an official Google News API?

No. Google ran a Google News Search API until 2011 and has not replaced it. Google News is a product, not a developer platform: the only official API that touches news is the Search Console API, and it only reports on websites you own. Every result you find for "Google News API" is a third party.

What developers want from one is clear: the top stories of a country or a category, keyword search with date filters, and structured JSON with title, source, date, URL and text. Three families of tools provide that, with different trade-offs. They are compared below.

GNews API is one of them: an independent news API, not affiliated with Google, whose top headlines follow Google News rankings by category, country and language, and whose search covers 80,000+ sources with an archive back to 2020.

Google News API alternatives compared

Three ways to get Google News-style data into your code. Each one is a reasonable choice: pick by what you need to build.

Google News RSS SERP scraping APIs GNews API
What it is Google's own feeds for an edition, a section or a search Services that scrape Google News result pages and return them as JSON (SerpApi, Apify, SerpHouse) An independent news API with its own index of 80,000+ sources
Official Google product Yes, but not an API: no key, no documentation, no support No, built by scraping Google's pages No, not affiliated with Google. Top headlines follow Google News rankings
Data per article Title, link, date, source name Title, link, date, source, thumbnail, position as ranked by Google Title, description, full content, URL, image, date, language, source and its country
Top headlines by country and category Yes, one feed per edition and section Yes, as Google displays them Yes: 9 categories, 71 countries, 41 languages, ranked like Google News
Keyword search Basic Yes, within what Google displays Yes, with AND, OR, NOT, exact phrases, language, country and date filters
Archive Recent items only Whatever Google's pages show Since 2020 on paid plans, last 30 days on Free
Stability Format and limits can change without notice Breaks when Google changes its layout, then fixed by the provider Documented REST contract, official SDKs for Python, JavaScript and PHP, LangChain tools, MCP server
Price Free Pay per result, usually per 1,000 searches Free plan with 100 requests per day. Paid plans from €49.99 per month, 10-day free trial
Best for A personal project that needs a few headlines Mirroring exactly what Google News shows on a page Apps, feeds, monitoring and AI agents that need structured articles and search

Other news APIs such as NewsAPI.org, NewsAPI.ai and The News API belong to the same family as GNews API: see how they compare.

Google News API in cURL, Python, JavaScript, PHP and C#

There is no Google endpoint to call, so here is the call developers make instead. Create a free account, copy the API key from your dashboard and run one of these. No credit card, no OAuth, no SDK required.

curl --get "https://gnews.io/api/v4/top-headlines" \
  --data-urlencode "category=technology" \
  --data-urlencode "lang=en" \
  --data-urlencode "country=us" \
  --data-urlencode "max=5" \
  --data-urlencode "apikey=YOUR_API_KEY"

These calls return the top technology stories of the moment in the United States, in English, selected with Google News rankings. Change category for another section (general, world, nation, business, entertainment, sports, science or health), and country and lang for another edition.

Every language gets the same JSON: the number of matching articles and the list of articles, each with its title, description, content, URL, image, publication date, language and source. The JSON reference details each field.

Search by keyword

Swap the endpoint for search and pass your keywords in q. They are matched in article titles and descriptions (add in=content to search the full text too), with optional language, country and date filters, and results come newest first.

curl --get "https://gnews.io/api/v4/search" \
  --data-urlencode "q=Apple" \
  --data-urlencode "lang=en" \
  --data-urlencode "country=us" \
  --data-urlencode "max=5" \
  --data-urlencode "apikey=YOUR_API_KEY"

Prefer a library?

Official SDKs wrap both endpoints with typed responses, error handling and retries: pip install gnews-io-python, npm i @gnews-io/gnews-io-js or composer require gnews-io/gnews-io-php. For AI agents, pip install langchain-gnews adds top headlines and search as LangChain tools, and the hosted MCP server connects Claude Code, Cursor or VS Code without any code.

Libraries & SDKs

Is the Google News API free?

There is no Google News API to be free or paid. The RSS feeds cost nothing but return a few fields with no guarantees, and SERP scraping APIs charge per result. GNews API has a Free plan: 100 requests per day, 10 articles per request, articles from the last 30 days, for development, testing and non-commercial projects, with no credit card. Paid plans start at €49.99 per month with 1,000 requests per day, real-time articles, full article content and the archive back to 2020. Every paid plan starts with a 10-day free trial.

Google News search API: keywords, dates and languages

The closest thing to a Google News search API is the search endpoint. It queries our index of 80,000+ sources rather than Google's pages, which is what makes date filters and operators possible:

  • q: keywords, with AND, OR, NOT, parentheses and exact phrases in quotes, e.g. "Apple" AND (iPhone OR Mac)
  • lang and country: the language of the article and the country of its source
  • from and to: a publication date range, back to 2020 on paid plans
  • sortby: publishedAt for the newest first, or relevance
  • max and page: up to 100 articles per request depending on your plan, with pagination

The query syntax and the search endpoint are documented in full, and the API Playground in your dashboard builds the request for you.

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.

AI icon

AI Agents and Datasets

Give an agent the day's headlines through the LangChain tools or the MCP server, or collect a recent, diverse dataset to train summarization, classification, or NER models.

Dashboard icon

Sports Topic Hub

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

FAQ

No. Google ran a Google News Search API until 2011 and has never published a successor: Google News is a product, not a developer platform. What exists today are the Google News RSS feeds, SERP scraping APIs that return Google's result pages as JSON, and independent news APIs such as GNews API, which returns top headlines ranked like Google News and keyword search over 80,000+ sources as 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.

Not identical. The Top Headlines endpoint follows Google News rankings to select the leading stories of a category, country and language, then returns them with their full content from our own index of 80,000+ sources. The Search endpoint queries that index directly, with keyword operators and date filters that Google News does not offer. If you need to mirror exactly what Google News displays on a page, a SERP scraping API is the right tool; if you need structured articles and search, GNews API is.

There is no Google News API at all, free or paid. The Google News RSS feeds are free but limited to a title, a link, a date and a source name. GNews API has a Free plan with 100 requests per day and 10 articles per request on the last 30 days of news, with no credit card, for development, testing and non-commercial projects. Paid plans start at €49.99 per month, see the pricing page.

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 GNews API?

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