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.
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, withAND,OR,NOT, parentheses and exact phrases in quotes, e.g."Apple" AND (iPhone OR Mac)langandcountry: the language of the article and the country of its sourcefromandto: a publication date range, back to 2020 on paid planssortby:publishedAtfor the newest first, orrelevancemaxandpage: 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.
Advanced Search
Go beyond keywords with boolean operators, filters by language, country, and time range. Perfect for precise control and custom data pipelines.
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 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.
Sports Topic Hub
Build themed hubs (e.g., football transfers, film/TV releases) with filtered, frequently refreshed headlines.
FAQ
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. /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. 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.