# Google news monitor (`martingarcia99/google-news-monitor`) Actor

Only Google News scraper with full article text in Markdown. Real publisher URLs, new-only alerts, JSON/CSV/Excel export, API, MCP and n8n. For monitoring, research and AI pipelines.

- **URL**: https://apify.com/martingarcia99/google-news-monitor.md
- **Developed by:** [Martin Garcia](https://apify.com/martingarcia99) (community)
- **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 news headlines

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 Monitor — Full Article Text & New-Only Alerts

**The only Google News scraper that returns the full article text in Markdown, plus a "new articles only" mode for alerts.** Export as JSON, CSV or Excel, or use it via API, MCP or n8n.

Search **Google News** by keyword, language and country and get, for every article:

- the **real publisher URL** (not the `news.google.com` redirect),
- the **full, clean article text in Markdown** — ready for ChatGPT, Claude or any LLM / RAG pipeline,
- title, source, publication date, author, image and snippet.

Turn on **Only new since last run** and schedule the Actor (every hour, every morning…) to get **news alerts**: each run returns only articles you haven't seen before for the same queries — and you only pay for what's new.

### Why this Actor

| | This Actor | Typical Google News scrapers |
|---|---|---|
| Full article text | ✅ Markdown, boilerplate removed | ❌ links and titles only |
| Real publisher URL | ✅ | Sometimes |
| Only new articles between runs | ✅ built-in | ❌ you deduplicate yourself |
| Works with AI agents (MCP) | ✅ | Varies |

### Use cases

- **Media monitoring & PR:** track your brand, competitors or executives.
- **Market & investment research:** follow companies, sectors, central banks, crypto.
- **AI pipelines:** feed fresh, full-text news into summaries, sentiment analysis or RAG.
- **Newsletters & alerts:** schedule it and send new articles to Slack, email or Sheets via Apify integrations.

### Input

| Field | Example | Notes |
|---|---|---|
| `queries` | `["\"Banco de España\"", "openai site:reuters.com"]` | Google News operators work: quotes, `site:`, `-`, `OR` |
| `language` | `es` | `en`, `es`, `de`, `fr`, `pt-BR`… |
| `country` | `ES` | Two-letter code |
| `timeRange` | `1d` | `1h`, `12h`, `1d`, `7d`, `30d` or any time |
| `maxItemsPerQuery` | `50` | Google News returns up to ~100 per search |
| `fetchFullText` | `true` | Extract the full article text |
| `onlyNew` | `true` | Return only articles not returned before for the same queries |

### Output (one item per article)

```json
{
  "query": "interest rates",
  "title": "ECB holds rates steady",
  "source": "Reuters",
  "publishedAt": "2026-11-20T10:00:00+00:00",
  "url": "https://www.reuters.com/markets/...",
  "text": "# ECB holds rates steady\n\nThe European Central Bank ...",
  "wordCount": 642,
  "author": "Jane Doe",
  "image": "https://...",
  "snippet": "...",
  "language": "en",
  "country": "US"
}
```

### Pricing

Pay only for results:

- **Article with full text:** charged per article that includes the extracted text.
- **Headline only:** charged per article without text (when `fetchFullText` is off or a site cannot be read).

Set a **maximum cost per run** in the run options and the Actor stops cleanly when it is reached.

### Notes

- Some publishers block automated access or use paywalls; for those, you still get title, source, date and URL, and the item is charged as a headline.
- Data comes from the public Google News RSS feed and the public pages of each publisher. Respect the terms and copyright of each publisher when reusing article text.

***

#### En español

Busca noticias en Google News por palabra clave, idioma y país, y obtén el enlace real del medio y el **texto completo del artículo en Markdown**. Activa «Only new since last run» y prográmalo para recibir **alertas** solo con las noticias nuevas.

# Changelog

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

# Actor input Schema

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

Keywords or Google News operators ("exact phrase", site:reuters.com, -word, OR). One search per line.

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

Language code, e.g. en, es, de, fr, pt-BR.

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

Two-letter country code, e.g. US, GB, ES, MX, DE.

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

Only news from the last…

## `maxItemsPerQuery` (type: `integer`):

Google News returns up to ~100 per search.

## `fetchFullText` (type: `boolean`):

Open each article and extract the clean full text as Markdown (charged as «article with text»).

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

Turn Google News links into the real publisher URL.

## `onlyNew` (type: `boolean`):

Remember what was already returned for these same queries and return only new articles. Schedule the Actor to get news alerts — you only pay for what is new.

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

How many articles are fetched in parallel (1–20). Lower it if sites start blocking requests.

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

Optional. Use Apify Proxy if some sites block requests.

## Actor input object example

```json
{
  "queries": [
    "artificial intelligence regulation"
  ],
  "language": "en",
  "country": "US",
  "timeRange": "1d",
  "maxItemsPerQuery": 10,
  "fetchFullText": true,
  "resolveUrls": true,
  "onlyNew": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Table of the news found: date, title, source, real publisher URL, word count and query. Open the dataset for the full text of each article.

# 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 regulation"
    ],
    "maxItemsPerQuery": 10,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("martingarcia99/google-news-monitor").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 regulation"],
    "maxItemsPerQuery": 10,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("martingarcia99/google-news-monitor").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 regulation"
  ],
  "maxItemsPerQuery": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call martingarcia99/google-news-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,martingarcia99/google-news-monitor"
        }
    }
}
```

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/zE68WB6VUQh5PgApq/builds/LvU7p5tklSfsacywQ/openapi.json
