Google News & Universal RSS/Atom Feed Scraper avatar

Google News & Universal RSS/Atom Feed Scraper

Pricing

from $0.70 / 1,000 deduplicated news or feed items

Go to Apify Store
Google News & Universal RSS/Atom Feed Scraper

Google News & Universal RSS/Atom Feed Scraper

Collect deduplicated news from Google News search, regional topic feeds, and custom RSS 2.0, Atom 1.0, or JSON Feed 1.1 URLs. Decodes publisher URLs in batches, splits date ranges past 100 items, and estimates LLM tokens.

Pricing

from $0.70 / 1,000 deduplicated news or feed items

Rating

0.0

(0)

Developer

tsun tsun

tsun tsun

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 hours ago

Last modified

Features

Limited permissions

Share

Combine Google News search feeds, regional Google News topic sections, and arbitrary public RSS 2.0, RDF 1.0, Atom 1.0, or JSON Feed 1.1 URLs into a single deduplicated, newest-first JSON dataset over native Node.js keep-alive HTTP/HTTPS sockets. Each output item carries a cleaned title, publisher attribution, ISO 8601 timestamp, plain-text summary, and token estimate.

Note on article bodies: Google News RSS <description> tags normally contain only the headline and publisher name, not full body prose. To fetch full article text for selected stories, pass the decoded articleUrl values to Fast Website & Sitemap Markdown Crawler for AI/RAG.

Two-phase URL decoding & date-window splitting

Google News RSS links point to opaque news.google.com/rss/articles/... tokens rather than publisher domains. When decodeGoogleNewsUrls is true, decoding runs only on the final filtered, deduplicated, budget-capped slice in two phases: Phase 1 decodes legacy protobuf tokens offline and fetches /rss/articles/<token>?hl=en-US&gl=US&ceid=US:en in parallel (concurrency: 8) over pooled TLS sockets to gather signatures or direct redirects; Phase 2 batches 15 signatures per batchexecute RPC request and falls back per item only if a batch fails. The original Google link stays preserved in googleNewsUrl.

When publishedAfter and publishedBefore (YYYY-MM-DD) span more than 7 days and maxItemsPerSource is 0 or above 100, each Google News query splits into up to 12 chronological sub-windows to collect past Google News's ~100-item per-feed limit. Items then deduplicate across windows and sources by normalized URL (with utm_*, fbclid, gclid, and oc stripped) and normalized title. Trailing " - Publisher" suffixes are removed on Google News titles without mangling internal hyphens or generic types like Option<T>.

Use cases

  • Run a daily morning briefing that merges Google News boolean queries ("OpenAI" OR "Anthropic") with BBC, Reuters, or industry Atom/RSS feeds, filters postedWithinHours: 24, and posts canonical publisher links to Slack or Notion.
  • Backfill multi-week press coverage around earnings, M&A, or regulatory events with publishedAfter and publishedBefore date-window splitting.
  • Triage deduplicated headlines and estimatedTokens counts with an LLM before crawling only top-scoring articleUrl pages for full Markdown.
  • Monitor regional editions (US, GB, DE, FR, JP, SG) in parallel into one normalized schema.

Configuration & inputs

Provide at least one entry in queries, topics, or feedUrls. If all three are empty, the run exits cleanly (status: "completed") with itemsPushed: 0 and an explanatory note in OUTPUT.

ParameterTypeDefaultDescription
queriesstring[](none)Google News search queries supporting quotes, OR, site:, and when:.
topicsstring[](none)Google News sections: TOP_STORIES, WORLD, BUSINESS, TECHNOLOGY, SCIENCE, HEALTH, ENTERTAINMENT, SPORTS.
feedUrlsstring[](none)Direct public HTTP(S) URLs for RSS 2.0, Atom 1.0, or JSON Feed 1.1 feeds.
countrystring"US"Two-letter ISO-2 country edition (gl / ceid; UK maps to GB).
languagestring"en"Two-letter ISO-2 language code (hl / ceid).
decodeGoogleNewsUrlsbooleantrueResolve Google News tokens into real publisher URLs.
whenstring""Google News recency window ("", "1h", "1d", "7d", "30d"). Ignored when date bounds are set.
publishedAfterstring""UTC start date (YYYY-MM-DD) for Google News after: and custom feed filtering.
publishedBeforestring""UTC end date (YYYY-MM-DD) for Google News before: and custom feed filtering.
includeKeywordsstring[][]Case-insensitive OR filter across title, summaryText, categories, and publisher.
excludeKeywordsstring[][]Drop articles matching any term in title, summaryText, or categories.
excludePublishersstring[][]Drop articles matching publisher name or domain substring (e.g. MSN, yahoo.com).
postedWithinHoursinteger0Rolling age cutoff in hours across all sources (0-8760; 0 disables).
maxItemsPerSourceinteger50Cap per query, topic, or feed (0-2000; 0 = unlimited).
maxTotalItemsinteger200Cap total deduplicated output items (0-5000; 0 = unlimited).
concurrencyinteger5Parallel feed requests (1-8).

Example input

{
"queries": ["artificial intelligence", "\"OpenAI\" OR \"Anthropic\""],
"topics": ["TECHNOLOGY"],
"feedUrls": ["https://feeds.bbci.co.uk/news/technology/rss.xml"],
"country": "US",
"language": "en",
"decodeGoogleNewsUrls": true,
"when": "7d",
"excludePublishers": ["MSN"],
"postedWithinHours": 72,
"maxItemsPerSource": 25,
"maxTotalItems": 50,
"concurrency": 5
}

Dataset record format

Each dataset item represents one unique article. A run summary (source counts, duplicates removed, decoded URL count, and per-source errors) is saved to Key-Value Store record OUTPUT.

{
"title": "Consumers weigh risks as banks warn AI agent mistakes could be customers’ liability",
"publisher": "KSNV",
"publisherUrl": "https://news3lv.com/",
"articleUrl": "https://news3lv.com/news/nation-world/consumers-weigh-risks-banks-warn-ai-agent-mistakes",
"googleNewsUrl": "https://news.google.com/rss/articles/CBMiswFBVV95cUxQSGplc09Qa3ZDWVdvbWNxdk9KcEZTTDNCRzQzQXBoQkotdmVIMEpqSDlHSXRraXcxMFZySWNQcWZHMmtxNWotN3EzblJHLWJrQTlpRmlRMlVDMDlDeTJNOGlKRFlQUnFGNVJzdXF6MVYwUVY4dVVxS3hVd0twSC0wLW4wSmd6MTRGcm9wR1BqQlZvdlFRS0kxUVdmWXRXV29kdlFZa21qNlhVNk5paVRuOHc3OA?oc=5",
"publishedAt": "2026-11-25T02:32:48.000Z",
"summaryText": "Consumers weigh risks as banks warn AI agent mistakes could be customers’ liability KSNV",
"author": null,
"categories": [],
"imageUrl": null,
"sourceType": "google_news_search",
"feedTitle": "\"artificial intelligence\" - Google News",
"queryOrFeed": "artificial intelligence",
"estimatedTokens": 43,
"scrapedAt": "2026-11-25T02:35:18.758Z"
}

Output fields

FieldTypeDescription
titlestringArticle headline with trailing " - Publisher" removed on Google News items.
publisherstring | nullPublisher name from <source> or custom feed title.
publisherUrlstring | nullPublisher homepage URL when declared in the feed.
articleUrlstringDecoded publisher article URL, or direct custom feed item URL.
googleNewsUrlstring | nullOriginal Google News RSS link (null for custom feeds).
publishedAtstring | nullPublication timestamp normalized to ISO 8601 UTC.
summaryTextstringPlain-text summary (capped at 2,000 chars).
authorstring | nullAuthor from <dc:creator>, <author>, or JSON Feed authors.
categoriesstring[]Deduplicated category or tag names.
imageUrlstring | nullImage URL from media:content, media:thumbnail, <enclosure>, or JSON Feed image.
sourceTypestring"google_news_search", "google_news_topic", "rss", "atom", or "json_feed".
feedTitlestring | nullOriginating feed channel title.
queryOrFeedstringInput query, topic code, or feed URL that matched the article.
estimatedTokensnumberApproximate token count (ceil(chars / 4)) across title and summaryText.
scrapedAtstringISO 8601 UTC extraction timestamp.

Pay-Per-Event pricing

Pay-Per-Event billing on apify-default-dataset-item with $0 actor-start fee and $0 proxy fees. Filtered articles, duplicates, and failed feeds are never charged.

Event (Apify Store Label)Free / 1kBronze (-10%)Silver (-20%)Gold+ (-30%)
Deduplicated news or feed item$1.00$0.90$0.80$0.70

Gold+ includes Gold, Platinum, and Diamond plans (all -30%, or $0.0007 per item). Apify's $5 monthly free credit covers 5,000 deduplicated articles/month on the Free plan.

Connecting AI agents (MCP)

Claude Code

claude mcp add --transport http apify-news \
"https://mcp.apify.com/?tools=tsun_tsun/google-news-rss-intelligence" \
--header "Authorization: Bearer $APIFY_TOKEN"

Claude Desktop, Cursor & Windsurf

{
"mcpServers": {
"apify-news": {
"url": "https://mcp.apify.com/?tools=tsun_tsun/google-news-rss-intelligence",
"headers": {
"Authorization": "Bearer YOUR_APIFY_TOKEN"
}
}
}
}

API & SDK integration

JavaScript / TypeScript (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('tsun_tsun/google-news-rss-intelligence').call({
queries: ['artificial intelligence'],
feedUrls: ['https://feeds.bbci.co.uk/news/technology/rss.xml'],
decodeGoogleNewsUrls: true,
when: '1d',
maxItemsPerSource: 20,
maxTotalItems: 40,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, items[0]?.articleUrl);

Python (apify-client)

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("tsun_tsun/google-news-rss-intelligence").call(
run_input={
"queries": ["artificial intelligence"],
"feedUrls": ["https://feeds.bbci.co.uk/news/technology/rss.xml"],
"decodeGoogleNewsUrls": True,
"when": "1d",
"maxItemsPerSource": 20,
"maxTotalItems": 40,
}
)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(f"Collected {len(items)} articles")

cURL

curl -X POST "https://api.apify.com/v2/acts/tsun_tsun~google-news-rss-intelligence/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"queries": ["artificial intelligence"],
"feedUrls": ["https://feeds.bbci.co.uk/news/technology/rss.xml"],
"decodeGoogleNewsUrls": true,
"maxItemsPerSource": 10,
"maxTotalItems": 20
}'

Measured performance & security controls

On Apify Cloud (256 MB memory), an 8-item decoded run finished in 2.07 s at 38.4 MB peak RAM, down from 28.58 s prior to batched decoding (13.8x faster). Minimum supported memory is 128 MB.

Feeds enforce a 15-second timeout, a 5-second splash decode timeout, a 3 MB streaming body cap, Retry-After backoff on 429/5xx, and cross-origin Cookie/Authorization stripping on redirects so Google consent cookies never reach third-party publisher domains. Socket-level SSRF checks fail closed on malformed IP literals and block private IPv4/IPv6 ranges, cloud metadata hosts (including instance-data), single-label internal hostnames, NAT64/Teredo/6to4 ranges, and .local/.internal suffixes.

Scope limitations

This Actor is not built for full paywalled article bodies (Google News RSS supplies headlines and short snippets only), exhaustive multi-year historical firehoses (Google News caps ranked search highlights at ~100 items per sub-window across up to 12 windows), or authenticated private feeds behind corporate networks.

Frequently asked questions

How does the 2-phase Google News URL decoder avoid rate limits and slowdowns?

Phase 1 decodes legacy protobuf tokens offline and fetches /rss/articles/<token>?hl=en-US&gl=US&ceid=US:en in parallel (concurrency: 8) over keep-alive TLS sockets to gather signatures or direct redirects. Phase 2 packs 15 signatures into a single batchexecute POST and falls back per item only if a batch request fails.

What happens if decoding fails for one Google News article?

The run does not fail. That item keeps its original Google News URL in both articleUrl and googleNewsUrl, and the fallback count is logged under OUTPUT.googleNewsUrlsFailed. Set decodeGoogleNewsUrls: false to skip decoding entirely.

Why did publishedAfter + publishedBefore ignore my when parameter?

Google News search operators after: / before: conflict with when: in the same query string. Whenever either explicit date bound is set, when is ignored automatically so Google returns valid date-scoped results.

Are custom feeds and Google News items billed if they get filtered out or deduplicated?

No. All keyword filters, excludePublishers, postedWithinHours, date checks, and cross-source deduplication happen before Actor.pushData. Unreachable feeds are recorded in OUTPUT.errors at $0.

Companion lightweight API Actors and free workflow templates in the Apify Automation Toolkit:

ActorBest paired for
Fast Website & Sitemap Markdown Crawler for AI/RAGFetch full article Markdown from decoded articleUrl links or crawl documentation sitemaps.
Substack Newsletter & Archive Scraper (Markdown)Pull Substack archives, engagement metrics, clean Markdown posts, and outbound links.
Apple Podcasts & RSS Scraper (Host Emails & Shows)Extract podcast show profiles, host emails, audio URLs, and show notes.
Apple App Store & Reviews Scraper (iOS Apps & Ratings)Track iOS app releases, ratings, and filtered customer reviews across storefronts.
Wikipedia Knowledge & RAG Markdown Scraper (API)Ground news entities with clean Wikipedia Markdown, infobox JSON, and Wikidata Q-IDs.
Website Contact, Email MX/DMARC & Tech Stack EnricherEnrich publisher or company domains mentioned in stories with contacts and DNS/tech signals.