Google News API
Send a search and get the articles Google News lists for it back as JSON: headline, publisher, publish time and Google News link, for the country and period you choose, with a summary of the coverage.
- 100 free credits
- No card needed
- No scraper to build or maintain
curl "https://pipefetch.com/v1/google/news?q=artificial+intelligence&country=US&limit=20" \
-H "x-api-key: YOUR_API_KEY"const res = await fetch('https://pipefetch.com/v1/google/news?q=artificial+intelligence&country=US&limit=20', {
headers: { 'x-api-key': process.env.PIPEFETCH_API_KEY },
});
const { data, credits } = await res.json();import os, requests
res = requests.get(
"https://pipefetch.com/v1/google/news",
params={"q": "artificial intelligence", "country": "US", "limit": 20},
headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
)
data = res.json()["data"]What you get
- Up to 50 articles per request, in Google News' order
- The headline of each article, without the publisher's name Google News adds to its end
- The publisher and the publish time
- Google News' link to each article
- A summary of the coverage: how many publishers, which ones wrote the most, the oldest and the newest article, and articles per day
- The country edition and the language that were searched, and the address of the Google News feed behind the answer
{
"data": {
"search": {
"query": "artificial intelligence",
"country": "US",
"language": "en",
"period": "7d",
"feedUrl": "https://news.google.com/rss/search?q=artificial+intelligence+when%3A7d&hl=en-US&gl=US&ceid=US%3Aen",
"articleCount": 20,
"truncated": true,
"publisherCount": 18,
"topPublishers": [
{
"publisher": "Brookings",
"articleCount": 2
},
{
"publisher": "Department of Energy (.gov)",
"articleCount": 2
}
],
"oldestPublishedAt": "2026-11-12T14:59:26.000Z",
"newestPublishedAt": "2026-11-19T10:08:25.000Z",
"articlesPerDay": 2.94
},
"articles": [
{
"position": 1,
"title": "National Lab Discovery Series: PermitAI™: Using Artificial Intelligence to Accelerate Environmental Reviews and Permitting",
"publisher": "Department of Energy (.gov)",
"googleNewsUrl": "https://news.google.com/rss/articles/CBMitgFBVV95cUxQY2czV1NLUmdGcEhNcTlhOGJHMzRGRVhFaVBfT2EtNU8tWE4yVzVrQ2ozMHRUSnhvSmVnT1F1aTdSYVJTLU1xeWVDc3Q5cWEte…",
"publishedAt": "2026-11-13T17:08:36.000Z"
},
{
"position": 2,
"title": "Artificial intelligence and the economy",
"publisher": "Brookings",
"googleNewsUrl": "https://news.google.com/rss/articles/CBMigAFBVV95cUxQMUFreU83TjV0OVNMNWV1aDhMZV9zMFJyczNvdzNQUlQ0NEFkdzdYQ29QSVpfeHl3REhzTUVleXNVWFFfZGdGUzYtUlU5MWY5S…",
"publishedAt": "2026-11-17T13:42:37.000Z"
}
]
},
"credits": {
"used": 1,
"remaining": 99
}
}One GET request
Everything the endpoint accepts. The full reference, with the complete example response, is in the docs.
GET/v1/google/news
Costs 1 credit per request. Only requests that return data are charged.
Parameters
| Name | Type | Description |
|---|---|---|
qrequired |
string | What to search the news for, up to 100 characters. Google News search syntax works: quote a phrase, use OR, or put a minus before a word to leave it out. |
countryoptional |
string | Two-letter code of the country whose edition of Google News is searched, such as US, GB or DE. Default: US. |
periodoptional |
string | How far back to look: the last hour (1h), 24 hours (24h), 7 days (7d), 30 days (30d) or year (1y), or with no limit (any). One of: 1h, 24h, 7d, 30d, 1y, any. Default: 7d. |
limitoptional |
integer | How many articles to return, in Google News' order. Default: 20. From 1 to 50. |
Good to know
- The articles are the ones Google News lists for the search in the country's edition, in Google News' order, which is not always newest first.
- googleNewsUrl is Google News' own link to the article. In a browser it opens the article, because Google sends the browser on to the publisher. The publisher's own address is not included, and neither is the article's text.
- search.truncated is true when Google News had at least as many articles as you asked for, so there may be more. The publisher counts and articlesPerDay describe the articles returned, over the days they span.
- Every country has its own edition. search.language is the language that was read: German for DE and Japanese for JP, for example, and English where no other is set.
- A search with no articles in the country and period answers 404 no_results and costs nothing.
What people build with it
Watch a brand or a competitor
Search for a company name on a schedule and see who wrote about it and when.
Alerts on new articles
Ask for the last hour or the last 24 hours and compare the Google News links with the ones you have already seen.
Coverage reports
The summary tells you how many publishers covered a topic and which ones covered it the most.
Current headlines for AI agents
An agent gets the headlines on a topic in one tool call, each with its publisher and the time it was published.
Buy credits once. Use them whenever.
This endpoint costs 1 credit per request, and a request that returns no data costs nothing. Move the slider to see what your volume costs.
A request costs 1 credit. Requests that return nothing are free.
- $2.42 per 1,000 credits
- About $12.08 a month at this pace
- Lasts about 2.4 months at this pace
- Credits never expire
Questions and answers
Is this the official Google News API?
No. Pipefetch is an independent service and is not affiliated with Google. It returns what Google News lists for a search, read at the moment of your request.
Where do the articles come from?
From Google News search, in the edition of the country you choose. Google decides which publishers and articles it lists, so two requests a few minutes apart can differ.
Do I get the link to the article on the publisher's website?
No. You get googleNewsUrl, Google News' own link to the article. Opened in a browser it shows the article, because Google sends the browser on to the publisher. The publisher's own address is not included, and a program that fetches the link gets a Google page, not the article.
Is the text of the article included?
No. You get the headline, the publisher and the publish time. The article's text, author and images are not included.
How many articles can I get, and how far back?
Up to 50 per request, from the last hour, 24 hours, 7 days, 30 days or year, or with no time limit. There are no further pages. search.truncated tells you that Google News had at least as many articles as you asked for; a shorter period or a narrower search is the way to the rest.
What if nothing was written about my search?
The request answers 404 no_results and costs nothing.
What does a request cost?
One request costs 1 credit. Credit packs start at $9 for 3,000 credits, never expire, and a request that returns no data is not charged. New accounts get 100 free credits without a card.
More Google APIs
-
1 credit
Google Hotels API
Hotels for a place with Google's prices for your dates: nightly and total price, rating, star class, amenities and location.
GET /v1/google/hotels -
1 credit
Google Search API
The first page of Google results for a search: rank, title, link, domain, snippet and date of each result, plus related searches.
GET /v1/google/search -
1 credit
Google Trends API
Search interest in a term over time and by region on Google's 0 to 100 scale, with its top and rising related queries.
GET /v1/google/trends
Other sources
YouTubeInstagramWebsitesTikTokFacebookThreadsLinkedInApp storesSteamXPinterestAirbnbReal estateKeywordsJob boardsEventbriteShopify storesPublic tenders
Make your first request in a minute
Sign in, copy your key and call an endpoint. Your account starts with 100 free credits.