# Google News Scraper - Headlines, Real URLs & Date Ranges (`mossgreen_zed/google-news-scraper`) Actor

Scrape Google News by keyword, topic or edition: headline, publisher, publish time and the real article URL (decoded, not news.google.com). Any country/language, date ranges split by day to beat the 100-result cap, new-only alerts. $1 per 1,000 articles.

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

## Pricing

from $1.00 / 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?

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: Headlines, Real Article URLs & Date Ranges

**Scrape Google News by keyword, topic or country edition and get clean article rows with the publisher's real URL**, not a `news.google.com` redirect. Each row has the headline, publisher, publish time (UTC), feed rank, the decoded article URL and related coverage from the same story cluster.

- **Any edition:** country + language (US/en, GB/en, IN/en, DE/de, FR/fr, BR/pt-BR, JP/ja...).
- **Search operators work:** `"exact phrase"`, `OR`, `-exclude`, `site:reuters.com`, `intitle:`.
- **Beat the 100-result cap:** set a date range and `splitByDay`, and the Actor runs one search per day, so a month of coverage can return thousands of articles per query.
- **Topic sections:** Top stories, World, Business, Technology, Science, Health, Sports, Entertainment.
- **News alerts:** `onlyNewArticles` remembers what you've already seen, so a schedule returns (and charges for) fresh articles only.

It reads Google News' public RSS feeds. No login, no browser, no proxies, no API key.

### Who uses it

- **PR and comms teams.** Track brand and competitor mentions every hour.
- **Investors and analysts.** Collect news for tickers, sectors and events into a sheet or database.
- **SEO and content teams.** Spot trending stories and which publishers rank in Google News.
- **AI and data teams.** Feed fresh, de-duplicated news URLs into RAG pipelines, summarizers or classifiers.
- **Researchers.** Build historical news datasets by day for any keyword.

### Input

| Field | Description |
|---|---|
| `queries` | Keywords/operators to search. |
| `topics` | `TOP`, `WORLD`, `NATION`, `BUSINESS`, `TECHNOLOGY`, `ENTERTAINMENT`, `SPORTS`, `SCIENCE`, `HEALTH`. |
| `feedUrls` | Any `news.google.com` RSS/topic URL. |
| `country`, `language` | Edition, default `US` / `en`. |
| `timeRange` | `1h`, `1d`, `7d` (default), `30d`, `1y`, `any`. |
| `dateFrom`, `dateTo`, `splitByDay` | Exact date range, optionally one search per day. |
| `maxArticlesPerQuery`, `maxArticles` | Caps (default 100 per query). |
| `decodeUrls` | Resolve real publisher URLs (default on, included in the price). |
| `deduplicate`, `onlyNewArticles` | De-duplicate within a run / across scheduled runs. |

```json
{
  "queries": ["\"Tesla\" earnings", "nvidia site:reuters.com"],
  "topics": ["BUSINESS"],
  "country": "US",
  "language": "en",
  "dateFrom": "2026-10-01",
  "dateTo": "2026-11-01",
  "splitByDay": true,
  "maxArticlesPerQuery": 2000
}
```

### Output (one row per article)

Real row from a test run on 2026-11-16:

```json
{
  "query": "bitcoin",
  "dateWindow": null,
  "title": "Did Bitcoin Prices Bottom at $62,000? Strategy Has Bought the Decline.",
  "url": "https://www.barrons.com/articles/bitcoin-prices-strategy-coinbase-f7d3191e",
  "urlDecoded": true,
  "source": "Barron's",
  "sourceUrl": "https://www.barrons.com",
  "publishedAt": "2026-11-16T18:56:00+00:00",
  "feedPosition": 1,
  "googleNewsUrl": "https://news.google.com/rss/articles/CBMif0FVX3lxTE0y...",
  "relatedCoverage": [],
  "scrapedAt": "2026-11-16T22:17:25+00:00"
}
```

A summary (articles per query) is saved to the `RUN_SUMMARY` record in the run's key-value store.

### Pricing (pay per event)

- **$1.00 per 1,000 articles** ($0.001 per article), real-URL decoding included, plus Apify's tiny standard actor-start fee.
- Duplicates are never charged. With `onlyNewArticles`, articles you already have are free.
- Example: hourly brand alert returning ~20 new articles a day = 600 articles a month = **$0.60/month**.
- Use "Maximum cost per run" in run options to cap spending.

### FAQ

**Why only ~100 articles per search?** That's the Google News feed limit. Use `dateFrom` + `splitByDay` to get ~100 per day instead.

**Does it get the full article text?** No, it returns headline, publisher, time and the real URL. Feed the URLs to a content extractor if you need full text.

**Some rows have `urlDecoded: false`.** Google occasionally refuses to resolve a link; the row then keeps the `news.google.com` URL, which still redirects to the article in a browser.

**Is it legal?** It reads Google News' public RSS feeds, which Google publishes for feed readers. Respect publishers' copyright when you reuse content.

# Actor input Schema

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

Keywords to search on Google News. Google search operators work: "exact phrase", OR, -exclude, site:reuters.com, intitle:.

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

Optional headline sections: TOP, WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH.

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

Optional: any news.google.com RSS or topic URL you already use.

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

Two-letter country code: US, GB, IN, CA, AU, DE, FR, BR...

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

Language code: en, es, de, fr, pt-BR, ja, hi...

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

Ignored when a date range is set below.

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

Optional start date (YYYY-MM-DD) for search queries.

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

Optional end date (YYYY-MM-DD, exclusive).

## `splitByDay` (type: `boolean`):

Google returns at most ~100 articles per search. With a From date set, this runs one search per day, so a 30-day range can return up to ~3,000 articles per query.

## `maxArticlesPerQuery` (type: `integer`):

0 = no limit.

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

0 = no limit. You are only charged for articles returned.

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

Turns news.google.com redirect links into the publisher's real URL (e.g. https://www.reuters.com/...). Included in the price.

## `deduplicate` (type: `boolean`):

Skip articles already returned for another query in the same run.

## `onlyNewArticles` (type: `boolean`):

Remembers article IDs in a named key-value store so scheduled runs return (and charge for) new articles only. Great for news alerts.

## `stateStoreName` (type: `string`):

Named key-value store used by 'Only new articles'.

## `maxConcurrency` (type: `integer`):

Parallel HTTP requests.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "topics": [],
  "feedUrls": [],
  "country": "US",
  "language": "en",
  "timeRange": "7d",
  "splitByDay": false,
  "maxArticlesPerQuery": 100,
  "maxArticles": 0,
  "decodeUrls": true,
  "deduplicate": true,
  "onlyNewArticles": false,
  "stateStoreName": "google-news-seen",
  "maxConcurrency": 5
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mossgreen_zed/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"] }

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

```

## MCP server setup

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