# Google News Scraper (`chorelet/google-news-scraper`) Actor

Search Google News by keyword, topic or top stories in any country and language. Real publisher URLs (not news.google.com redirects), source, date and related coverage — deduplicated, with CSV/JSON export and API.

- **URL**: https://apify.com/chorelet/google-news-scraper.md
- **Developed by:** [Ilia Muravev](https://apify.com/chorelet) (community)
- **Categories:** News, Automation, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.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

Search Google News by keyword, read whole sections (Technology, Business, Health…) or the front page of any country and language edition — and get **real publisher URLs**, not `news.google.com` redirect links. Output as JSON, CSV or Excel, or straight into your own tools via API.

### What you get

| Field | Description |
|---|---|
| `feed`, `query`, `topic`, `language`, `country` | Where the article came from |
| `title` | Headline without Google's " - Source" suffix |
| `url`, `urlResolved` | The publisher's article URL; `urlResolved` is false when Google refused to decode a link (the item then keeps `googleUrl`) |
| `googleUrl`, `id` | Google News link and article ID |
| `source` | `{ name, url }` of the outlet |
| `publishedAt` | ISO 8601 UTC |
| `related` | Other outlets' articles Google groups with this one (sections and top stories) |

Articles are deduplicated across all queries and topics of a run. A per-feed summary (counts, duplicates, unresolved links, errors) is saved to the key-value store as `SUMMARY`.

### Input

- **Search queries** — one per line; Google's operators work: `"exact phrase"`, `site:reuters.com`, `-word`, `when:7d` (last 7 days), `when:1h`. Up to ~100 articles per query.
- **Topics** — World, Nation, Business, Technology, Entertainment, Sports, Science, Health (~70 articles each). **Top stories** — the front page (~40).
- **Language / Country** — any Google News edition: `en`/`US`, `de`/`DE`, `pt-BR`/`BR`, `hi`/`IN`…
- **Only articles published after** — ISO date; for rolling windows prefer `when:1d` in the query so Google fills the page with recent items.
- **Resolve real article URLs** — on by default; two extra requests per article.

### Limits and notes

- Google caps each feed at ~100 results; split broad topics into several queries (by outlet, by sub-topic, by `when:` window) to get more.
- Article text is not included — pair this Actor with any article-extractor Actor if you need full content.
- Google occasionally throttles URL decoding for busy IPs; such items are still delivered with the Google link and `urlResolved: false`. Turning on the proxy option fixes it for large runs.
- Public data only; the Actor stores nothing beyond the dataset of your run.

### Pricing

Pay per article — nothing else. Runs that return zero articles cost nothing.

### Typical uses

Brand and competitor monitoring, media lists (which outlets cover a topic), daily news digests summarised by an LLM, trend research by country and language, feeding article URLs into content pipelines.

# Actor input Schema

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

One Google News search per line. Google's operators work: `"exact phrase"`, `site:reuters.com`, `-word`, `when:7d` (last 7 days), `when:1h`. Each search returns up to 100 articles.

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

Google News sections to read.

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

Also read the front page ("Top stories") for the chosen country and language.

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

Two-letter code (`en`, `de`, `es`, `fr`, `pt`, `ru`…) or a full locale like `pt-BR`.

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

Two-letter country code of the Google News edition (`US`, `GB`, `DE`, `IN`…).

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

Google returns at most ~100 per search and ~70 per topic.

## `publishedAfter` (type: `string`):

ISO date or date-time, e.g. `2026-09-01` or `2026-09-01T12:00:00Z`. For rolling windows prefer `when:1d` / `when:7d` inside the query — Google then fills the whole result page with recent articles.

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

Google News links point to news.google.com. When on, each link is decoded into the publisher's URL (two extra requests per article). When Google refuses, the item keeps the Google link and `urlResolved` is false.

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

Off by default. Enable Apify proxies if URL resolution starts failing for most items (Google throttles busy IPs).

## Actor input object example

```json
{
  "queries": [
    "\"artificial intelligence\" when:1d"
  ],
  "topics": [],
  "topStories": false,
  "language": "en",
  "country": "US",
  "maxArticlesPerFeed": 100,
  "resolveUrls": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `articles` (type: `string`):

All scraped articles — items of the default dataset. Use ?format=csv or xlsx on this URL for spreadsheets.

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

Articles per query/topic, duplicates skipped, unresolved links, errors.

# 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\" when:1d"
    ],
    "topics": [],
    "topStories": false,
    "language": "en",
    "country": "US",
    "maxArticlesPerFeed": 100,
    "resolveUrls": true,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("chorelet/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\" when:1d"],
    "topics": [],
    "topStories": False,
    "language": "en",
    "country": "US",
    "maxArticlesPerFeed": 100,
    "resolveUrls": True,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("chorelet/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\\" when:1d"
  ],
  "topics": [],
  "topStories": false,
  "language": "en",
  "country": "US",
  "maxArticlesPerFeed": 100,
  "resolveUrls": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call chorelet/google-news-scraper --silent --output-dataset

```

## MCP server setup

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