# Google News Scraper - Articles by Keyword or Topic (`scrapercompany/google-news-scraper`) Actor

Scrape Google News: articles for any keyword (title, link, source, published date, snippet) with a freshness filter, or top stories and sections (world, business, technology...) for any country edition and language. Batch many keywords. No proxies needed.

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

## Pricing

from $3.00 / 1,000 news requests

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 - Articles by Keyword or Topic

**Google News Scraper** collects articles from Google News as structured data: **title, link, publisher, publication date and snippet** for each story. Search by keyword (a brand, a person, a topic) with an optional freshness window, or read **top stories and sections** such as business, technology or sports for any country edition and language. Use it for media monitoring, brand mentions, PR tracking and news datasets. Pricing is pay-per-event: **$0.003 per request**; failed requests are not charged.

Proxies, retries and anti-bot handling are built in, so you don't need your own proxies or an API key. Start a run, get structured JSON.

### What can this scraper do?

- **Keyword search** with a freshness filter (last hour, day, week or year).
- **Top stories and sections**: world, nation, business, technology, entertainment, sports, science, health.
- **Any country edition and language** (e.g. `CA:fr`, `GB:en`).
- Per article: **title, link, source, published date, snippet**, position.
- One of the cheapest Actors to run: batch hundreds of queries.

#### Modes

| Mode | What it returns | Price per request |
| --- | --- | --- |
| `search` | Articles matching a query, optionally limited to the last hour/day/week/year | $0.003 |
| `topic` | Top stories or a section (world, business, technology, ...) for a country edition | $0.003 |

### What data can you extract?

| Field | Description |
| --- | --- |
| `news_results[].title / link` | Headline and article URL |
| `news_results[].source` | Publisher |
| `news_results[].published` | Publication date |
| `news_results[].snippet` | Summary text |
| `news_results[].position / story_token` | Rank and Google story id |
| `total` | Articles returned |

Every dataset item also carries `input` (the exact request that was sent), `request_id` (quote it to support), `billed` and `scraped_at`.

### How to use Google News Scraper - Articles by Keyword or Topic

1. Open Google News Scraper - Articles by Keyword or Topic in Apify Console and go to the **Input** tab.
2. Enter keywords to search, or switch **Mode** to Section feed and pick sections. Choose the country edition and language.
3. Adjust the options if needed. Dates accept an exact date (`2026-12-01`) or a relative one (`30 days` from today), so saved tasks and schedules never go stale.
4. Click **Start** and wait for the run to finish.
5. Download the results from the **Output** tab as JSON, CSV, Excel or HTML, or fetch them with the Apify API.

### Input example

This is the default input; running the Actor without changes uses it.

```json
{
  "mode": "search",
  "queries": [
    "Hilton Chicago"
  ],
  "topics": [
    "top_stories"
  ],
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

### Output example

One dataset item per request (trimmed here; real items contain every field the API returns):

```json
{
  "mode": "search",
  "endpoint": "/v1/news",
  "input": {
    "q": "Hilton Chicago",
    "when": "1y"
  },
  "meta": {
    "elapsed_s": 0.412,
    "source": "google_news"
  },
  "news_results": [
    {
      "link": "https://news.google.com/rss/articles/CBMigAFBVV95cUxOTFVQSS1SaXdVWjNMdUR6WWk1SUk5LTdFSm44bW1xOEtTMko3bDJ0ZlBfaEY0eUlSWGZUV2tOTUZxWmU5Rzg2RVRRQ2RzR243UnJ4UEww...",
      "position": 1,
      "published": "2025-10-31T07:00:00Z",
      "snippet": null,
      "source": {
        "name": "Time Out Worldwide",
        "url": "https://www.timeout.com"
      },
      "story_token": "CBMigAFBVV95cUxOTFVQSS1SaXdVWjNMdUR6WWk1SUk5LTdFSm44bW1xOEtTMko3bDJ0ZlBfaEY0eUlSWGZUV2tOTUZxWmU5Rzg2RVRRQ2RzR243UnJ4UEwwMFR5MzRiSEtnOEFWa2I0M0ZoU1lzYlpBNVhWR...",
      "title": "Sleep in history: Inside Hilton Chicago, the city's grandest hotel"
    },
    {
      "link": "https://news.google.com/rss/articles/CBMiWhFDQUlRQUNvZENodHljRjlvT25SZmJHOVBVMHh0VTJkSlNsa3lMVmMxZVMxMWVtYxAB?oc=5",
      "position": 2,
      "published": "2026-09-28T22:45:10Z",
      "snippet": null,
      "source": {
        "name": "Chicago Tribune",
        "url": "https://www.chicagotribune.com"
      },
      "story_token": "CBMiWhFDQUlRQUNvZENodHljRjlvT25SZmJHOVBVMHh0VTJkSlNsa3lMVmMxZVMxMWVtYxAB",
      "title": "Second story title from the same feed"
    }
  ],
  "search_parameters": {
    "engine": "google_news",
    "gl": "US",
    "hl": "en",
    "q": "Hilton Chicago",
    "topic": null
  },
  "total": 2,
  "request_id": "req_3f9c0d6e2b8a4c1f9e7d5b3a1c0e8f6d",
  "billed": true,
  "scraped_at": "2026-10-01T14:03:27.512Z"
}
```

A request that fails is saved with an `error` message instead (turn off **Include failed requests** to skip those). Failed requests are never charged.

### How much does it cost?

This Actor uses **pay-per-event** pricing: you pay for successful API requests, not for compute time.

| Event | Charged when | Price | Per 1,000 |
| --- | --- | --- | --- |
| `news-request` | One Google News search or section feed (up to about 100 articles). Empty answers are free. | $0.003 | $3.00 |

For example, 1,000 requests in the default mode cost **$3.00**.

- Failed requests (errors, invalid input, blocked upstream after retries) are **free**.
- Requests where the source returns nothing at all (no results, nothing priced) are saved but **not charged**.
- Set **Maximum cost per run** when you start a run and the Actor stops cleanly before going over it.

### FAQ

#### Do I need proxies or an API key?

No. Proxy rotation, retries and anti-bot handling are built in, and the Actor is ready to run as is. You only pay the per-event prices above.

#### How many articles per request?

Google News returns up to about 100 articles per search or section. Narrow the query or the time window for more targeted results.

#### Can I monitor news about a brand automatically?

Yes. Save your keywords as a task, use the freshness filter so each run returns recent articles only, and schedule it. Send new articles to Slack, email or Google Sheets with Apify integrations.

#### Which countries and languages are supported?

Any Google News country edition: set the country and language, and the results match that edition.

#### Is it legal to scrape this data?

The Actor collects publicly available information that anyone can see without logging in. You are responsible for how you use the results: respect the source site's terms, copyright and privacy law (such as GDPR) and do not collect personal data without a lawful basis. If in doubt, ask a lawyer.

#### What happens when a request is blocked or rate-limited?

Rate limits (HTTP 429) and temporary errors (5xx) are retried automatically with exponential backoff, respecting `Retry-After`. If a request still fails it is saved with the error message and not charged, and the rest of the batch keeps going. A run only fails when every request failed.

#### Why did a request return an error?

Read the `error` field: validation problems (for example a malformed date or an unknown id) are reported exactly as the API sees them. Fix the input and run again; failed requests cost nothing.

#### How many requests can I run at once?

Any number per run. The Actor sends up to 3 requests in parallel by default (change it under **Run options**); larger batches simply take longer.

### Use it from your code

Call the Actor from any language through the [Apify API](https://docs.apify.com/api/v2). With the JavaScript client (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('scrapercompany/google-news-scraper').call({
    "mode": "search",
    "queries": [
        "Hilton Chicago"
    ]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

With Python (`pip install apify-client`):

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("scrapercompany/google-news-scraper").call(run_input={
    "mode": "search",
    "queries": ["Hilton Chicago"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

You can also schedule runs, chain them with webhooks, or connect them to Make, Zapier, n8n, Google Sheets and other integrations from the **Integrations** tab.

### Related scrapers

- [Google SERP Scraper](https://apify.com/scrapercompany/google-search-scraper)
- [Google Trends Scraper](https://apify.com/scrapercompany/google-trends-scraper)

### Support

Questions, a field you need, or a site that stopped working? Open an issue on the **Issues** tab. Include the `request_id` from the dataset item so we can trace the request.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrapercompany/google-news-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Search articles by keyword, or read Google News sections.

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

One news search per line, e.g. a company, person or topic. Google News operators such as quotes and <code>site:</code> work.

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

Only articles from this window (search mode).

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

Google News sections to read, one request each. Used by the Section feed mode.

## `gl` (type: `string`):

Two-letter country of the Google News edition.

## `hl` (type: `string`):

Language of the edition, e.g. <code>en</code>, <code>fr</code>.

## `ceid` (type: `string`):

Explicit edition such as <code>CA:fr</code> or <code>GB:en</code>; built from country and language when empty.

## `customRequests` (type: `array`):

Optional list of JSON objects, one request each, using the API field names shown above. Each object is merged over the options above, so you only need to give what differs. Example: <code>{"q":"electric vehicles","when":"7d","gl":"gb","hl":"en"}</code>

## `includeErrors` (type: `boolean`):

When on, a request that fails (for example an unknown property id) is saved as a dataset item with an <code>error</code> message so you can see what went wrong. Failed requests are never charged.

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

How many API requests run at the same time (1-8). Parallel runs share one limit, so extra requests wait for a free slot instead of failing.

## `maxRetries` (type: `integer`):

Retries for rate limits (HTTP 429), temporary server errors (5xx) and network errors, with exponential backoff. Validation errors are never retried.

## Actor input object example

```json
{
  "mode": "search",
  "queries": [
    "Hilton Chicago"
  ],
  "topics": [
    "top_stories"
  ],
  "gl": "us",
  "hl": "en",
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

# Actor output Schema

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

One dataset item per request.

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

Counts of succeeded, failed, skipped and charged requests.

# 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": [
        "Hilton Chicago"
    ],
    "topics": [
        "top_stories"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapercompany/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": ["Hilton Chicago"],
    "topics": ["top_stories"],
}

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

```

## MCP server setup

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