# Google News Scraper | Keywords, Topics, Real URLs & Text (`tactful_anvil/google-news-scraper`) Actor

Scrape Google News by keyword, topic, location or RSS URL in any language/country. Clean title, publisher, REAL article URL (redirect decoded), publish time, age, related coverage, optional full text. Time filters, dedupe, monitor mode for new articles only. $3.20 per 1,000.

- **URL**: https://apify.com/tactful\_anvil/google-news-scraper.md
- **Developed by:** [Mr Zack](https://apify.com/tactful_anvil) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.20 / 1,000 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google News Scraper — Keywords, Topics, Real URLs, Full Text & Monitoring

Pull news from **Google News** by keyword, topic (Business, Technology, Sports…), location or any Google News RSS URL — in **any language and country edition** — and get clean JSON: title, publisher, **real publisher URL** (Google's redirect links are decoded, not left as `news.google.com/...`), publish time, age in hours, snippet or related coverage, and optionally the **full article text**. Time filters (last hour → 30 days), cross-feed **deduplication**, and a **monitor mode** that only returns articles you haven't seen in earlier runs. No browser, no API key — **$3.20 per 1,000 articles**.

### Who uses this

- **Newsletters, digests & AI summarizers** — `queries` + `timeRange: 24h` + `includeArticleText` on a daily schedule → ready-to-summarize corpus with source URLs.
- **Brand / competitor / crisis monitoring** — `onlyNew` on an hourly schedule: you only pay for fresh mentions.
- **Traders & crypto desks** — `bitcoin`, `"federal reserve"`, `site:reuters.com tesla` every 15 minutes; `ageHours` tells you what just broke.
- **Researchers & local media** — topic and location feeds in 40+ editions (`language: id, country: ID` → Indonesian news; `de/DE`, `pt/BR`, `ja/JP`…).

### Input

| Field | Description |
|---|---|
| `queries` | Keywords; Google operators work (`"exact"`, `-word`, `site:`, `intitle:`). |
| `topics` | `top`, `world`, `nation`, `business`, `technology`, `entertainment`, `science`, `sports`, `health`. |
| `locations` | City / region / country names → local news feeds. |
| `feedUrls` | Any Google News RSS URL (or a generic RSS feed). |
| `timeRange` | `any` / `1h` / `6h` / `24h` / `7d` / `30d`. |
| `language`, `country` | Edition, e.g. `en`+`US`, `id`+`ID`, `de`+`DE`. |
| `maxArticlesPerFeed` | Up to 100 (Google's feed limit). |
| `resolveUrls` | Decode Google redirect links to publisher URLs (default on, included in price). |
| `includeArticleText`, `maxTextArticles` | Fetch publisher pages and extract the readable body. |
| `dedupe` | Drop the same story appearing under several queries/topics. |
| `onlyNew` | Monitor mode — remember seen articles per feed set; later runs push only new ones. |
| `includeFeedSummary` | Free per-feed summary row. |

```json
{ "queries": ["bitcoin", "\"federal reserve\" rates"], "topics": ["business"], "timeRange": "24h", "language": "en", "country": "US", "includeArticleText": true, "maxTextArticles": 50, "onlyNew": true }
```

### Output

**`article`**

```json
{ "type": "article", "title": "Bitcoin network used by exchanges hit by $320 million exploit. Hackers claim they're the 'good guys'",
  "source": "CoinDesk", "sourceUrl": "https://www.coindesk.com", "url": "https://www.coindesk.com/markets/2026/09/07/bitcoin-network-used-by-exchanges-hit-by-usd320-million-exploit", "domain": "coindesk.com", "urlResolved": true,
  "googleUrl": "https://news.google.com/rss/articles/CBMi2wFBVV95cUxN…", "googleId": "CBMi2wFBVV95cUxN…",
  "publishedAt": "2026-09-07T10:01:06.000Z", "ageHours": 3.9, "snippet": null, "relatedCoverage": [],
  "feedKind": "query", "feed": "bitcoin", "position": 2, "language": "en", "country": "US",
  "articleText": "…full body…", "wordCount": 1549, "scrapedAt": "2026-09-07T13:57:43Z" }
```

Top-stories items include `relatedCoverage[] { title, source, googleUrl, googleId }` (the other outlets covering the same story).

**`feed-summary`** (free): `articles, sources, topSources[], oldest, newest, urlsResolved, withText, fetched, pushed`.

Feeds that fail (blocked, malformed) are pushed as `type: "failed"` and never charged.

### Pricing (pay per event)

| Event | Price |
|---|---|
| Article (with resolved URL) | $0.0032 |
| Article with full text | $0.006 |
| Actor start | $0.001 |

1,000 articles ≈ **$3.20**; with full text ≈ $6. Text is billed only when a readable body was actually extracted — paywalled or JavaScript-only pages stay at the Article price and carry `articleTextError`.

### Notes

- Google News feeds return at most 100 items per query/topic; split broad topics into several queries for more.
- `publishedAt` comes from Google's feed; `ageHours` is computed at scrape time.
- Publisher-URL decoding uses Google's own redirect mechanism; if Google changes it, rows fall back to `googleUrl` with `urlResolved: false` (still charged as Article, still clickable).
- Related on this profile: **YouTube Channel & Shorts Scraper**, **Hyperliquid Smart Money Tracker**, **Amazon / TikTok Shop / AliExpress** product scrapers.

# Actor input Schema

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

Keywords, one per line. Google operators work: "exact phrase", -exclude, site:reuters.com, intitle:.

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

Google News topic feeds (headlines for the selected language/country).

## `locations` (type: `array`):

City / region / country names for local news feeds, e.g. Jakarta, Texas, Germany.

## `feedUrls` (type: `array`):

Any Google News RSS URL (search, topic, publication) or a generic RSS feed.

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

Applied as Google's when: filter for searches and as a publish-date filter for topic/location feeds.

## `language` (type: `string`):

ISO language code (en, id, de, es, pt, fr, ja…).

## `country` (type: `string`):

ISO-2 country edition (US, GB, ID, DE, IN…). Together with language it selects the Google News edition.

## `maxArticlesPerFeed` (type: `integer`):

Google News feeds return at most 100 items.

## `resolveUrls` (type: `boolean`):

Decode news.google.com redirect links into the publisher's article URL and domain (included in the Article price).

## `includeArticleText` (type: `boolean`):

Download each publisher page and extract the readable body. Charged as Article with full text only when extraction succeeds (paywalls / JS-only pages stay at the Article price).

## `maxTextArticles` (type: `integer`):

Cap on publisher pages fetched per run.

## `dedupe` (type: `boolean`):

Drop repeated stories (same normalized title) when several queries/topics overlap.

## `onlyNew` (type: `boolean`):

Remembers article ids per feed set in a named key-value store; later runs push (and charge) only new articles. Ideal for scheduled runs.

## `includeFeedSummary` (type: `boolean`):

Per feed: article count, sources, top publishers, newest/oldest. Never charged.

## Actor input object example

```json
{
  "queries": [
    "bitcoin"
  ],
  "timeRange": "24h",
  "language": "en",
  "country": "US",
  "maxArticlesPerFeed": 100,
  "resolveUrls": true,
  "includeArticleText": false,
  "maxTextArticles": 50,
  "dedupe": true,
  "onlyNew": false,
  "includeFeedSummary": 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": [
        "bitcoin"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tactful_anvil/google-news-scraper").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": ["bitcoin"] }

# Run the Actor and wait for it to finish
run = client.actor("tactful_anvil/google-news-scraper").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": [
    "bitcoin"
  ]
}' |
apify call tactful_anvil/google-news-scraper --silent --output-dataset

```

## MCP server setup

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

```

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/zMzXbI7tQtCktHfXd/builds/XWHKzlm0EBALJoFnl/openapi.json
