# Google News Scraper & Article Extractor (URL Decoder) (`mirtung/google-news-scraper-pro`) Actor

Fast Google News RSS scraper with real publisher URL decoding, full article text extraction, country/language filters, and clean MCP/n8n JSON output.

- **URL**: https://apify.com/mirtung/google-news-scraper-pro.md
- **Developed by:** [mirtung Labs](https://apify.com/mirtung) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 news articles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google News Scraper & Article Extractor (URL Decoder)

Fast, lightweight **Google News RSS Scraper** built for **n8n, Make, Zapier, and AI Agents (MCP)**. Collects real-time news by keyword, topic, country, language, date range, and domain — with **real publisher URL decoding** and optional **full article text extraction** at less than half the cost of standard scrapers.

***

### Why Use This Actor?

- **Real Publisher URLs (No Opaque `news.google.com/rss/articles/...` Links):** Automatically decodes Google News redirect tokens into clean publisher URLs (`reuters.com`, `npr.org`, `techcrunch.com`, etc.).
- **Optional Full Article Text & Metadata:** Extract clean article body text (stripped of nav/ads), word count, reading time, author, and `og:image` — sized for LLM/RAG/MCP context windows.
- **15 Regional Editions & Multi-Query Deduplication:** Monitor multiple keywords and official Google News Topics (`BUSINESS`, `TECHNOLOGY`, `WORLD`, `FINANCE`, etc.) in one run with automatic deduplication and newest-first sorting.
- **Fair Pay-Per-Event Pricing:** You only pay for URLs that actually decode and articles whose text actually extracts (paywalled/blocked pages are never billed for extraction).

***

### Transparent Pricing (Pay-Per-Event)

| Event | Price | Notes |
| :--- | :---: | :--- |
| **Actor Start** | $0.002 | Flat per run |
| **News Article Collected** | **$0.0008** ($0.80 / 1,000) | Fast RSS collection (title, source, date, snippet, link) |
| **Publisher URL Decoded** *(optional)* | **+$0.0004** ($0.40 / 1,000) | Billed **only** when decoded successfully |
| **Article Content Extracted** *(optional)* | **+$0.0005** ($0.50 / 1,000) | Billed **only** when full text is extracted |

> **Full stack (RSS + URL Decode + Full Text) = $1.70 / 1,000 articles** (vs. $3.50–$5.00/1k on competing Google News scrapers).

***

### Example Input

```json
{
  "queries": ["AI agents", "OpenAI"],
  "countryLanguage": "US:en",
  "timeRange": "7d",
  "maxItems": 25,
  "decodeUrls": true,
  "extractArticleContent": true,
  "maxContentChars": 6000
}
```

### Example Output

```json
{
  "articleId": "CBMiqgFBVV95cUx...",
  "title": "What to know before using AI agents for Black Friday shopping",
  "sourceName": "NPR",
  "sourceUrl": "https://www.npr.org",
  "publishedAt": "2026-11-25T14:30:00.000Z",
  "snippet": "What to know before using AI agents for Black Friday shopping  NPR",
  "googleNewsUrl": "https://news.google.com/rss/articles/CBMiqgFBVV95cUx...",
  "url": "https://www.npr.org/2026/11/25/nx-s1-6048524/what-to-know-before-using-ai-agents-for-black-friday-shopping",
  "urlDecoded": true,
  "query": "AI agents",
  "articleText": "Artificial intelligence shopping tools are becoming...",
  "wordCount": 742,
  "readingTimeMinutes": 3,
  "author": "NPR Staff",
  "topImage": "https://npr.brightspotcdn.com/...",
  "metaDescription": "Shoppers are turning to AI agents...",
  "extractionStatus": "success"
}
```

***

### Honest Limitations & Best Practices

- **RSS Limit per Query:** Google News RSS returns up to ~100 most recent articles per query. To gather larger datasets, pass multiple targeted queries or split by `dateFrom` / `dateTo`.
- **Rate Limits on Large URL Decoding Runs:** For 1–50 articles, direct HTTP decoding works with no proxy. For 100+ decoded URLs in a single run, enabling Apify Proxy (`useApifyProxy: true`) is recommended to avoid Google `HTTP 429` throttling.
- **Paywalled Publishers:** Hard paywalls (e.g., WSJ, FT, Bloomberg) return `extractionStatus: "paywall_or_blocked"` and are **not billed** for article extraction.

# Actor input Schema

## `queries` (type: `array`):

Keywords or search queries to monitor on Google News (e.g., \["AI agents", "OpenAI", "semiconductor"]). Leave empty if using Topics or Top Headlines.

## `topic` (type: `string`):

Fetch articles from a Google News topic feed instead of (or in addition to) search queries.

## `countryLanguage` (type: `string`):

Google News regional edition (Country:Language).

## `timeRange` (type: `string`):

Filter search queries by recency (applies to Search Queries).

## `dateFrom` (type: `string`):

Optional start date filter (YYYY-MM-DD). Overrides Time Range when set.

## `dateTo` (type: `string`):

Optional end date filter (YYYY-MM-DD).

## `siteFilter` (type: `array`):

Only return news from specific publisher domains (e.g., \["reuters.com", "bloomberg.com"]).

## `excludeKeywords` (type: `array`):

Exclude articles containing these words (e.g., \["sponsored", "rumor"]).

## `maxItems` (type: `integer`):

Maximum total number of deduplicated articles to output (1 - 1000).

## `decodeUrls` (type: `boolean`):

Resolve encrypted news.google.com redirect links into clean publisher URLs (e.g., reuters.com, techcrunch.com). Charged only for URLs successfully decoded.

## `extractArticleContent` (type: `boolean`):

Fetch each decoded publisher page and extract clean article body text, word count, author, and top image (requires Decode Real Publisher URLs). Charged only when text is extracted.

## `maxContentChars` (type: `integer`):

Truncate extracted article text to this many characters (helpful for LLM/MCP context limits).

## `proxyConfiguration` (type: `object`):

Apify Proxy is enabled by default to rotate IPs and prevent Google 429 rate limits when decoding URLs. You can disable it for small RSS-only runs.

## Actor input object example

```json
{
  "queries": [
    "AI agents"
  ],
  "topic": "",
  "countryLanguage": "US:en",
  "timeRange": "7d",
  "maxItems": 25,
  "decodeUrls": true,
  "extractArticleContent": false,
  "maxContentChars": 6000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `articles` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "AI agents"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mirtung/google-news-scraper-pro").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "queries": ["AI agents"] }

# Run the Actor and wait for it to finish
run = client.actor("mirtung/google-news-scraper-pro").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "AI agents"
  ]
}' |
apify call mirtung/google-news-scraper-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mirtung/google-news-scraper-pro"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/yEHRWDBFMd9V65ya5/builds/jX7zQDdNIUy1dokai/openapi.json
