# Google News Scraper (Search, Topics, 30+ Countries) (`szabidev/google-news-scraper`) Actor

Scrape Google News by keyword or topic in 30+ countries: headline, publisher, publisher site, publish date, link. Exact date ranges and day-by-day splitting to get past the 100-article limit. Dedupe across feeds.

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

## Pricing

from $0.80 / 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 (Search, Topics, 30+ Countries)

Scrape **Google News** by keyword, topic or top stories in **30+ countries and languages**. Each article comes back with headline, publisher, publisher website, exact publish time and link.

Unlike most news scrapers, it gets past Google's **~100 articles per search** limit: set a date range and split it into daily windows to collect **thousands of articles for one query**.

### What it's for

- **Media monitoring and PR**: every mention of your brand, competitors or CEO.
- **Market and investment research**: news flow per company, sector or topic.
- **AI / LLM pipelines and RAG**: fresh, deduplicated news feeds.
- **Academic and sentiment research**: historical coverage over a date range.
- **Alerts**: schedule hourly with "Past hour" for a cheap news alert feed.

### Features

- Multiple **queries** in one run. Google News operators work: `"exact phrase"`, `OR`, `-exclude`, `site:reuters.com`, `intitle:`.
- **Topic sections**: WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH.
- **Top stories** per country.
- **30+ country editions**: US, GB, IN, CA, AU, IE, SG, NG, ZA, DE, AT, CH, FR, ES, MX, AR, IT, NL, BR, PT, PL, HU, CZ, RO, SE, NO, TR, JP, KR, ID, UA, IL, AE.
- **Time range**: past hour / day / week / month / year, or an **exact date range**.
- **Split by days**: one feed per day (or N days) to go far beyond 100 results.
- **Deduplication** across queries and countries. Duplicates are not charged.

### Input example

```json
{
  "queries": ["nvidia", "\"electric vehicles\" -tesla"],
  "topics": ["TECHNOLOGY"],
  "countries": ["US", "GB", "DE"],
  "dateFrom": "2026-10-01",
  "dateTo": "2026-11-01",
  "splitByDays": 1,
  "maxArticlesPerQuery": 3000
}
```

### Output example

```json
{
  "title": "Nvidia board is not considering bringing Jensen Huang back as CEO, source tells CNBC",
  "publisher": "CNBC",
  "publisherUrl": "https://www.cnbc.com",
  "publishedAt": "2026-11-16T17:38:07+00:00",
  "googleNewsUrl": "https://news.google.com/rss/articles/CBMi...",
  "query": "nvidia",
  "country": "US"
}
```

### Pricing

Pay per result: **$0.80 per 1,000 articles**, plus a tiny per-run start fee. No monthly rental. Platform usage is included.

### FAQ

**Why is `googleNewsUrl` a news.google.com link?** That's the link Google publishes; it redirects to the article when opened in a browser. `publisherUrl` gives the publisher's site.

**How many articles can I get?** About 100 per feed. Use a date range with `splitByDays: 1` to get up to ~100 per day per query.

**Is it legal?** It reads Google News' public RSS feeds (headlines and links, no article bodies), at a polite pace. You are responsible for how you use the data.

**Need a field or a country?** Open an issue on the Issues tab. I usually reply within 24 hours.

# Actor input Schema

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

Keywords, brands, people or topics. Google News operators work: "exact phrase", OR, -exclude, site:reuters.com, intitle:.

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

Any of: WORLD, NATION, BUSINESS, TECHNOLOGY, ENTERTAINMENT, SPORTS, SCIENCE, HEALTH.

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

Adds each country's Top stories feed.

## `countries` (type: `array`):

2-letter codes, one feed per country: US, GB, IN, CA, AU, DE, FR, ES, IT, NL, BR, MX, PL, HU, JP, KR and more (see README).

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

Only articles from the last period. Ignored when dates are set.

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

Optional exact date range for search queries.

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

End of the date range (exclusive). Defaults to today when only From is set.

## `splitByDays` (type: `integer`):

Google returns max ~100 articles per feed. Splitting a date range (e.g. 1 = one feed per day) collects far more articles for one query. 0 = off.

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

Max articles per query per country.

## `dedupeAcrossFeeds` (type: `boolean`):

Duplicates are not charged.

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

Not needed normally. Use a proxy only if you get blocked or want results as seen from another country.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "topStories": false,
  "countries": [
    "US"
  ],
  "timeRange": "any",
  "splitByDays": 0,
  "maxArticlesPerQuery": 100,
  "dedupeAcrossFeeds": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

All articles as a table (also JSON, CSV, Excel via the dataset API).

# 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("szabidev/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("szabidev/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 szabidev/google-news-scraper --silent --output-dataset

```

## MCP server setup

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