# Google News Scraper - Real Article URLs, Any Country (`randy-tools/google-news-scraper`) Actor

Scrape Google News search, topics and top stories in 50+ country editions. Returns the real publisher URL (Google redirects decoded), source, date and headline. Google operators, site filter and date-window slicing for deep history beyond 100 articles. HTTP-only, pay per article.

- **URL**: https://apify.com/randy-tools/google-news-scraper.md
- **Developed by:** [AICORP Tools](https://apify.com/randy-tools) (community)
- **Categories:** News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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 — Real Publisher URLs, Any Country

Extract **Google News** articles by keyword, site, topic or top stories, in **50+ country and language editions**. Unlike most Google News scrapers, every article comes with the **real publisher URL**: Google's `news.google.com/rss/articles/...` redirect is decoded for you, so you can fetch, deduplicate and join the articles with your own data.

Built for **reliability and low cost**: it reads Google News' public RSS feeds over plain HTTP (no browser, no login) and paces its requests, so scheduled runs keep succeeding.

### What you can do with it

- **Media monitoring and PR:** track brand, competitor and executive mentions daily
- **Financial and market signals:** feed headlines about tickers, sectors and events into your models
- **Research datasets:** build historical news corpora by keyword and date range
- **Content and SEO:** find what publishers write about a topic, per country
- **Alerts:** run hourly with `Recency: past hour` and post new articles to Slack via webhook

### Features

- 🔗 **Decoded publisher URLs** (`link`), with the original Google link kept as `googleLink`
- 🔎 **Google operators** in queries: `when:7d`, `site:`, `intitle:`, `"exact phrase"`, `OR`, `-exclude`, `after:` / `before:`
- 🌍 **50+ editions** (US, UK, DE, FR, ES, BR, JP, IN, ...): every query runs once per edition
- 🗂️ **Topics:** World, Nation, Business, Technology, Entertainment, Sports, Science, Health, plus **Top stories**
- 🏢 **Site filter:** latest articles from chosen publishers, alone or combined with a query
- 📅 **Deep history:** one feed holds ~100 articles. Set `dateFrom`, or ask for more than 100 articles, and the run slices the search into date windows automatically
- 🧹 **Deduplication** across queries and editions
- 🧩 **Related coverage:** for clustered stories, `relatedArticles` lists the other outlets
- 🖼️ **Optional** `og:image` and description from each publisher page

### Input example

```json
{
  "queries": ["artificial intelligence regulation", "intitle:merger site:reuters.com"],
  "topics": ["TECHNOLOGY", "BUSINESS"],
  "editions": ["US:en", "GB:en", "DE:de"],
  "maxItemsPerQuery": 300,
  "dateFrom": "2026-08-01",
  "decodeUrls": true
}
```

### Output

```json
{
  "title": "Russia raises 2027 military spending by 27%, budget documents show",
  "source": "Reuters",
  "sourceUrl": "https://www.reuters.com",
  "sourceDomain": "reuters.com",
  "link": "https://www.reuters.com/world/russia-raises-2027-military-spending-by-27-budget-documents-show-2026-09-28/",
  "googleLink": "https://news.google.com/rss/articles/CBMiqgFBVV95cUxP...?oc=5",
  "urlDecoded": true,
  "publishedAt": "2026-09-28T17:56:29Z",
  "snippet": null,
  "relatedArticles": [],
  "query": "reuters.com",
  "queryType": "search",
  "edition": "US:en",
  "guid": "CBMiqgFBVV95cUxP...",
  "scrapedAt": "2026-09-28T19:05:12Z"
}
```

Export results as JSON, CSV, Excel or HTML, or pull them via the Apify API, webhooks, Make, Zapier, n8n or MCP.

### Notes on data

- Google's feed carries the headline, source and publish time. It usually has **no article text**; `snippet` is filled only when Google provides one. Turn on `fetchArticleMeta` to add the publisher's own `og:description` and `og:image`.
- If a link cannot be decoded (Google throttling, removed article), the Google link is kept and `urlDecoded` is `false`. It still redirects to the article in a browser.
- `after:`/`before:` work on whole days. Very old dates return fewer articles.

### Pricing

Pay only for what you get: a small fee per run start and a fee **per article**. Link decoding and the proxy fallback are included.

### FAQ

**Do I need a proxy?** No. Google News works without one. If Google throttles the run, the Actor switches to Apify datacenter proxy by itself. You can also enable a proxy from the start.

**How many articles can I get per query?** About 100 per request, and unlimited history in practice by date slicing: use `dateFrom` and a large `maxItemsPerQuery`. Older days have fewer indexed articles.

**Is this legal?** The Actor reads Google's public news feeds and collects only headlines, sources and links, no logins and no personal data. You are responsible for using the data in line with applicable laws and the terms of Google and the publishers.

**Something broke?** Open an issue on the Issues tab. We monitor the Actor daily and usually respond within 24 hours.

# Actor input Schema

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

Keywords or Google News operators, e.g. "tesla when:7d", "intitle:merger", ""exact phrase" site:reuters.com". One search per query and edition.

## `sites` (type: `array`):

Restrict results to publisher domains, e.g. "reuters.com". Works alone (latest from those sites) or combined with queries.

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

Google News topic feeds.

## `topStories` (type: `boolean`):

Also scrape the front page (Top stories) of each edition.

## `editions` (type: `array`):

Google News editions to search. Each query runs once per edition. Default: United States (English).

## `maxItemsPerQuery` (type: `integer`):

Per query, topic or edition. One feed holds about 100 articles; above that the run walks back through date windows automatically.

## `when` (type: `string`):

Only articles newer than this. Ignored when a date range is set or the query already has when:/after:/before:.

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

YYYY-MM-DD, inclusive. Together with maxItemsPerQuery this pulls deep history by slicing into date windows.

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

YYYY-MM-DD, inclusive. Defaults to today.

## `lookbackDays` (type: `integer`):

When maxItemsPerQuery exceeds one feed and no start date is set, the run walks back at most this many days.

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

Skip articles already output in this run (same story from several queries or editions).

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

Replace Google's redirect link with the real publisher URL. Costs two extra requests per article; if it fails the Google link is kept with urlDecoded=false.

## `decodeConcurrency` (type: `integer`):

Parallel link decodes. Keep low; Google throttles aggressive clients.

## `fetchArticleMeta` (type: `boolean`):

Open each publisher page and add its og:image and og:description. Slower; some publishers block it. Needs decoded URLs.

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

Off by default: Google News works without one. If Google throttles the run, it switches to Apify datacenter proxy by itself. Enable to use a proxy from the start.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "topStories": false,
  "editions": [
    "US:en"
  ],
  "maxItemsPerQuery": 50,
  "when": "",
  "lookbackDays": 365,
  "dedupe": true,
  "decodeUrls": true,
  "decodeConcurrency": 3,
  "fetchArticleMeta": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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": [
        "artificial intelligence"
    ],
    "editions": [
        "US:en"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("randy-tools/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": ["artificial intelligence"],
    "editions": ["US:en"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("randy-tools/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": [
    "artificial intelligence"
  ],
  "editions": [
    "US:en"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call randy-tools/google-news-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,randy-tools/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/agLQJ00DOghA2f65J/builds/EZhRwWu4VpUq5jNox/openapi.json
