# Google News Scraper for Monitoring & Alerts (`andok/google-news-scraper`) Actor

Schedule Google News monitoring for brand mentions, competitor coverage, and crisis keywords. Structured RSS-backed articles for PR clipping and alert pipelines.

- **URL**: https://apify.com/andok/google-news-scraper.md
- **Developed by:** [Andok](https://apify.com/andok) (community)
- **Categories:** News, Business, Developer tools
- **Features:** Limited permissions
- **Stats:** 113 total users, 9 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.47 / 1,000 article founds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 for Monitoring & Alerts

Schedule continuous Google News monitoring for brand mentions, competitor moves, and crisis keywords. Built for PR clipping and alert pipelines — pull structured article rows from Google News RSS on an hourly cadence without heavy DOM scraping.

### Features

- **PR / brand monitoring** — watch mentions and competitor coverage on a schedule
- **Crisis & alerts** — keep a short keyword list hot for real-time topic spikes
- **Publisher extraction** — automatically parses the source publisher from each headline
- **Language targeting** — filter results by language and region (e.g. `en-US`, `de-DE`, `uk-UA`)
- **Structured output** — every article includes title, link, publisher, and publication date
- **No browser needed** — queries official Google News RSS endpoints for fast, reliable results
- **Pay-per-result pricing** — only pay for articles found, with charge-limit safety built in

### Input

| Field | Type | Required | Default | Description |
|-------|------|----------|---------|-------------|
| `queries` | `array` | Yes | — | List of search keywords to monitor (e.g. `artificial intelligence`, `Tesla earnings`) |
| `maxItems` | `integer` | No | `50` | Maximum number of articles to return per query (1-100) |
| `language` | `string` | No | `en-US` | Language and region code for results (e.g. `en-US`, `de-DE`, `fr-FR`) |

#### Input Example

```json
{
  "queries": ["artificial intelligence", "OpenAI funding"],
  "maxItems": 25,
  "language": "en-US"
}
```

### Output

Each dataset item represents one news article. Key fields:

- `query` (`string`) — the search term that matched this article
- `title` (`string`) — article headline
- `link` (`string`) — URL to the full article
- `publisher` (`string`) — name of the publishing outlet
- `pubDate` (`string`) — publication date in ISO format

#### Output Example

```json
{
  "query": "artificial intelligence",
  "title": "Google DeepMind unveils new AI model for protein folding",
  "link": "https://www.reuters.com/technology/google-deepmind-ai-protein-2025-01-15/",
  "publisher": "Reuters",
  "pubDate": "Wed, 15 Jan 2025 14:30:00 GMT"
}
```

### Pricing

| Event | Cost |
|-------|------|
| Article Found | Pay-per-event (see actor pricing page) |

### Use Cases

- **PR & brand monitoring** — track mentions of your company or product across news outlets daily
- **Competitive intelligence** — monitor competitor launches, funding rounds, and press coverage
- **Market research** — gather news sentiment data on industries, trends, or emerging technologies
- **Crisis detection** — schedule hourly runs to catch negative coverage early
- **Content curation** — feed article data into newsletters, dashboards, or Slack channels
- **AI/LLM pipelines** — supply fresh news context to RAG applications and AI agents

### Related Actors

| Actor | What it adds |
|-------|-------------|
| [RSS & Atom Feed Parser](https://apify.com/andok/rss-parser) | Parse any RSS/Atom feed beyond Google News |
| [Hacker News Scraper](https://apify.com/andok/hackernews-scraper) | Track tech community discussions and trending topics |
| [Wayback Machine Scraper](https://apify.com/andok/wayback-machine-scraper) | Retrieve historical versions of articles and pages |

### Notes

- Google News RSS feeds are public but may rate-limit aggressive usage. Space scheduled runs at least 15 minutes apart for best reliability.
- Results depend on Google News indexing; very recent articles (under ~5 minutes old) may not appear immediately.

# Actor input Schema

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

Keywords to search on Google News. Each query runs a separate search and returns matching articles (e.g. "artificial intelligence", "Tesla earnings").

## `maxItems` (type: `integer`):

Maximum number of articles to return for each search query. Google News typically provides up to 100 recent results.

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

Language and region code for Google News results. Format: ll-CC (e.g. en-US, de-DE, fr-FR, uk-UA).

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence"
  ],
  "maxItems": 50,
  "language": "en-US"
}
```

# Actor output Schema

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

No description

## `resultsCsv` (type: `string`):

No description

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

```

## MCP server setup

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