# Google News Scraper — Full Text, RAG, Triggers & Monitor (`maitreya_buddha/google-news-intel-rag-trigger-monitor`) Actor

Pure-HTTP 128 MB Google News scraper with 5-in-1 publisher URL decoding, streaming HTML full-text & 512-token RAG chunks, 3-layer paywall sibling rescue, 10 B2B/PR triggers, cross-lingual clustering & $0-skip watchDiff monitoring.

- **URL**: https://apify.com/maitreya_buddha/google-news-intel-rag-trigger-monitor.md
- **Developed by:** [BoGeun Kim](https://apify.com/maitreya_buddha) (community)
- **Categories:** News, AI, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.52 / 1,000 news headline + decoded url + nlp trigger (mode a)s

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 — Full Text, Real Links, AI/RAG & Crisis Monitor

**Get real publisher URLs (not broken `news.google.com` redirects), clean full article text, AI-ready chunks, and real-time B2B/PR alerts from Google News — ready for Excel, Google Sheets, Slack, or your AI pipeline in seconds.**

- **No proxies required** · **Runs in ~5 seconds** · **Free Apify `$5/mo` credit covers up to `6,250` headlines or `3,300` full-text articles**
- **Never pay twice for the same story:** Turn on *Only Get NEW Stories* (`watchDiff`) to skip previously seen articles at **`$0`** on hourly or daily schedules.
- **Live Proof Before You Run:** [Open Interactive Newsroom Report](https://wonderpick.github.io/apify-b2b-ecom-automation-kit/demos/slot-14-google-news-intel.html) · [Sample Full-Text CSV](https://github.com/wonderpick/apify-b2b-ecom-automation-kit/blob/main/samples/sample-14-google-news-rag-fulltext.csv)

***

### 30-Second Quick Start (Zero Code)

1. **Enter topics or company names** (e.g., `"Nvidia AI"`, `"OpenAI funding"`, or pick a Google News section like `TECHNOLOGY`).
2. **Pick your output:** *Headlines + Real Links* (`$0.80 / 1,000`) or *Full Article Text + AI Chunks* (`$1.50 / 1,000`).
3. **Click Start** → download Excel/CSV/JSON, open the visual `OUTPUT_DASHBOARD.html` report, or send alerts straight to Slack, Clay, Make, or n8n.

#### What Lands in Your Spreadsheet (Real Output Preview)

| Headline | Publisher | Real Link | Full Text & AI Chunks | Alerts & Signals |
|---|---|---|---|---|
| Anthropic launches Claude Ship... | TechCrunch | `techcrunch.com/...` | `FULL` · 597 words · 2 AI chunks | `PRODUCT_LAUNCH` · Positive |
| Semiconductor supply update... | Paywalled Outlet → **Rescued via AP News** | `apnews.com/...` | `RESCUED_FROM_SIBLING` · 1,259 words · 4 chunks | `PARTNERSHIP` · 4 outlets (`en+ko+ja`) |
| Major enterprise breach report... | CNBC | `cnbc.com/...` | `FULL` · 1,003 words · 3 chunks | `BREACH` · **Crisis Alert** · Urgency `85` |

***

### Why Teams Switch — Side-by-Side Comparison

| What You Need | Typical News Scrapers | Enterprise Media Monitoring (`$299–$1,500/mo`) | **This Google News Scraper** |
|---|---|---|---|
| **Real Publisher URLs** | Returns broken `news.google.com` redirects or fails under rate limits | Proprietary tracking links | **Automatic real publisher URLs + backup Bing News source if Google throttles** |
| **Full Article Text & Paywalls** | Short 2-sentence snippets or `"Subscribe to read"` dead ends | Snippets only (export restricted) | **Clean full text, Markdown & 512-token AI chunks + auto-recovers paywalled stories from open sources covering the same event** |
| **Hourly / Daily Monitoring Cost** | Re-scrapes & re-bills the same 100 headlines every run | Expensive per-seat contracts | **Skips already-seen stories at `$0` (`watchDiff`) and alerts only on new stories or coverage spikes** |
| **B2B Sales & PR Crisis Signals** | Raw text only — you have to read or pay LLM tokens on every row | Slow daily digests | **Built-in 10-event detector (Funding, M\&A, Layoffs, Breaches, Recalls, Lawsuits) across EN, KO, JA, DE & ES** |
| **Transparent Pricing** | `$2.50–$5.00 / 1K` + proxies | `$3,600–$18,000 / yr` | **`$0.80 / 1K` headlines (`$0.40` Diamond) · `$1.50 / 1K` full-text (`$0.75` Diamond) · `$0` proxy fees** |

***

### Built for Both Humans (Zero Code) & AI Agents (MCP / RAG / n8n / Clay)

- **For Sales, PR & Research Teams:** Open `OUTPUT_DASHBOARD.html` for an instant shareable newsroom brief, or export clean CSV/Excel tables with zero broken links.
- **For AI & RAG Builders:** Every full-text article includes paragraph-clean `cleanPlainText`, `cleanMarkdown`, and overlap-ready `ragChunks[]` (default 512 tokens) ready to drop into Pinecone, Supabase, or OpenAI.
- **For Automated Workflows (`n8n`, `Clay`, `Make`, `MCP`):** Runs under strict `LIMITED_PERMISSIONS` and accepts `upstreamItems` rows directly from Clay, Make, n8n, or MCP agents (`monitor_google_news_rag_triggers`).

***

### Two Simple Modes (Pay Only for What You Need)

1. **Headlines, Real Links & Alerts (`news_headlines_intel` — `$0.80 / 1K` Free → `$0.40 / 1K` Diamond):**
   - Fast multi-country news collection (`50+` country:language locales, custom date ranges >100 items), real publisher URLs, B2B/PR triggers, cross-lingual story grouping, `$0`-skip monitoring, and visual HTML report.
2. **Full Article Text, Markdown & AI Chunks (`full_article_rag` — `$1.50 / 1K` Free → `$0.75 / 1K` Diamond):**
   - Everything above **plus** full publisher article text, author/section/image metadata, clean Markdown, pre-split 512-token AI chunks, and automatic open-source text recovery when an outlet is paywalled.

- **Zero-Cost Protection:** Empty inputs cost `$0`. Already-seen stories under `watchDiff` cost `$0`. Optional quality filters (`onlyFullText`, `onlyWithTriggers`) skip non-matches at `$0`.

***

### Real Live-Verified JSON Output Sample (`full_article_rag`)

```json
{
  "recordType": "news_article_rag",
  "title": "Anthropic launches Claude Ship, letting AI agents review, fix, and approve code changes",
  "publisherName": "TechCrunch",
  "publisherDomain": "techcrunch.com",
  "publisherUrl": "https://techcrunch.com/2026/11/23/anthropic-launches-claude-ship-letting-ai-agents-review-fix-and-approve-code-changes/",
  "publishedAt": "2026-11-23T16:30:00.000Z",
  "locale": "US:en",
  "sourceEngine": "google_news_rss",
  "author": "TechCrunch Staff",
  "section": "AI",
  "extractionStatus": "FULL",
  "wordCount": 597,
  "ragTokenEstimate": 794,
  "ragChunksCount": 2,
  "nlpStatus": "analyzed",
  "eventTriggers": ["PRODUCT_LAUNCH"],
  "sentiment": "positive",
  "urgencyScore": 30,
  "crisisAlert": false,
  "tickers": [],
  "clusterId": "clu_9f2a4c8e1b04",
  "coverageCount": 3,
  "crossLingualCoverage": ["en", "ko"],
  "watchTriggers": ["NEW_BREAKING_STORY"]
}
```

***

### For AI Agents & Developers (MCP, RAG Pipelines, n8n, Clay & Make)

- **Zero-Install Remote MCP Server (MIT)**: Connect Claude, Cursor, or Windsurf directly via `https://apify-factory-rapidapi-gateway.apify-factory-rapidapi-gateway.workers.dev/mcp` (GitHub kit: https://github.com/wonderpick/apify-b2b-ecom-automation-kit).
- **Cross-Actor Chaining under `LIMITED_PERMISSIONS`**: Pass `upstreamItems` from any CRM, Clay table, or upstream Actor (`companyName`, `domain`, `query`) directly into input — zero `FULL_PERMISSIONS` required.
- **403/429 Block-Rate Telemetry**: Every run writes `OUTPUT_SUMMARY` and `OUTPUT_SUMMARY.md` showing exact streaming HTML RAM savings, paywall rescue count, and `403/429` block rate — automatically flagging if an enterprise 10K+ burst should enable opt-in `proxyConfiguration`.

# Actor input Schema

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

Enter keywords, company names, or search operators (e.g., "Nvidia AI", "OpenAI funding", "site:techcrunch.com"). Leave blank if using Official Topics below.

## `mode` (type: `string`):

Headlines + Real Links ($0.80/1K): fast news list with real publisher URLs, triggers & story grouping. Full Article Text + AI Chunks ($1.50/1K): also downloads full article text, clean Markdown & AI-ready chunks (auto-recovers paywalled stories from open sources).

## `locales` (type: `array`):

Country:language codes (e.g., \["US:en"] or \["US:en", "KR:ko", "JP:ja"] to group the same breaking story across countries).

## `timeframe` (type: `string`):

Pick a time window (1h, 6h, 24h, 7d, 30d, or all). Ignored if you set custom Start/End dates below.

## `maxArticles` (type: `integer`):

Maximum number of articles to collect per run (1 to 2,000).

## `topics` (type: `array`):

Optional official Google News sections (WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH).

## `topicOrClusterUrls` (type: `array`):

Optional publisher domains (e.g., "techcrunch.com") or Google News topic/cluster URLs.

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

Optional start date. With End Date, automatically splits large date ranges to collect more than Google's 100-item limit.

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

Optional end date (YYYY-MM-DD).

## `upstreamItems` (type: `array`):

Optional JSON rows with query, companyName, domain, or topic fields for automated workflows.

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

Replaces obfuscated news.google.com links with the real publisher article URL automatically.

## `dedupeSimilarStories` (type: `boolean`):

When enabled, outputs 1 representative article per breaking story while keeping coverageCount and relatedSources.

## `onlyFullText` (type: `boolean`):

In Full Article mode, skip articles whose full text could not be extracted or recovered from a free source ($0 charge for skipped rows).

## `onlyWithTriggers` (type: `boolean`):

Keep only stories matching funding, M\&A, layoffs, breaches, recalls, lawsuits, or executive changes ($0 charge for skipped rows).

## `ragChunkMaxTokens` (type: `integer`):

Target token size for pre-split AI chunks in Full Article mode (128 to 2,048).

## `enableBingFallback` (type: `boolean`):

Automatically switches to Bing News if Google News rate-limits your request.

## `watchDiff` (type: `boolean`):

Remembers stories from previous runs for 90 days, skips duplicates at $0, and flags sudden coverage spikes or crises.

## `dedupStoreName` (type: `string`):

Optional name to separate monitoring history across different topics or clients (default: gnews-intel-watch).

## `generateDashboardHtml` (type: `boolean`):

Saves a shareable interactive OUTPUT_DASHBOARD.html report you can open in any browser.

## `webhookUrl` (type: `string`):

Optional HTTPS webhook URL to receive run summaries and urgent crisis alerts automatically.

## `llmEscalation` (type: `object`):

Optional { provider: "openai"|"anthropic"|"gemini", apiKey: "...", model: "...", minUrgencyScore: 60 }. Off by default ($0).

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

Leave off ($0 proxy cost) for normal runs. Enable only for very large enterprise bursts.

## Actor input object example

```json
{
  "queries": [
    "Nvidia AI"
  ],
  "mode": "news_headlines_intel",
  "locales": [
    "US:en"
  ],
  "timeframe": "7d",
  "maxArticles": 8,
  "topics": [],
  "topicOrClusterUrls": [],
  "upstreamItems": [],
  "decodeUrls": true,
  "dedupeSimilarStories": false,
  "onlyFullText": false,
  "onlyWithTriggers": false,
  "ragChunkMaxTokens": 512,
  "enableBingFallback": true,
  "watchDiff": false,
  "generateDashboardHtml": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `summary` (type: `string`):

No description

## `summaryMarkdown` (type: `string`):

No description

## `dashboardHtml` (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": [
        "Nvidia AI"
    ],
    "mode": "news_headlines_intel",
    "locales": [
        "US:en"
    ],
    "timeframe": "7d",
    "maxArticles": 8,
    "decodeUrls": true,
    "generateDashboardHtml": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("maitreya_buddha/google-news-intel-rag-trigger-monitor").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": ["Nvidia AI"],
    "mode": "news_headlines_intel",
    "locales": ["US:en"],
    "timeframe": "7d",
    "maxArticles": 8,
    "decodeUrls": True,
    "generateDashboardHtml": True,
}

# Run the Actor and wait for it to finish
run = client.actor("maitreya_buddha/google-news-intel-rag-trigger-monitor").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": [
    "Nvidia AI"
  ],
  "mode": "news_headlines_intel",
  "locales": [
    "US:en"
  ],
  "timeframe": "7d",
  "maxArticles": 8,
  "decodeUrls": true,
  "generateDashboardHtml": true
}' |
apify call maitreya_buddha/google-news-intel-rag-trigger-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,maitreya_buddha/google-news-intel-rag-trigger-monitor"
        }
    }
}
```

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/KUmHxTa3fPPEpj5uv/builds/98w2j8ihQi5M7zEO2/openapi.json
