# Google News & GDELT API — Live News & Sentiment (`yannabadie/google-news-gdelt-api-mcp`) Actor

Official Google News RSS & GDELT Project v2 DOC API scraper & MCP server. Extract live multi-country news, direct canonical URLs, publisher domains, media images & GDELT tone/sentiment scores. $2/1k flat (-50% vs incumbents), free count mode, 256 MB RAM, zero proxy.

- **URL**: https://apify.com/yannabadie/google-news-gdelt-api-mcp.md
- **Developed by:** [Yann Abadie](https://apify.com/yannabadie) (community)
- **Categories:** News, SEO tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 normalized news article records

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 & GDELT API — Live News & Sentiment](https://raw.githubusercontent.com/yannabadie/yannabadie/main/assets/banner_google_news_gdelt.png)

## Google News & GDELT API — Live News & Sentiment

Extract **live multi-country news articles**, **direct canonical publisher URLs**, **media images**, and **GDELT v2 sentiment / tone scores** using **official Google News RSS** and the **GDELT Project v2 DOC API**.

Built for **AI agents (MCP)**, **PR & brand monitoring**, **financial news sentiment**, **SEO research**, and **real-time media alerts** — running on **256 MB RAM** with **zero browser overhead** and **zero residential proxies**.

***

### Why Choose This Actor?

| Feature | This Actor (`google-news-gdelt-api-mcp`) | Typical Google News Scrapers |
|---|---|---|
| **Price per 1,000 articles** | **$2.00 / 1k flat** (`$0.002`/article) + `$0.005` start (**-50%**) | $4.00–$5.00 / 1k (+ high start fee / proxies) |
| **Direct Canonical URLs** | **GDELT v2 direct `articleUrl`** + Google News RSS (`CBMi...` transparent) | Opaque Google News redirect URLs only |
| **Media Sentiment / Tone** | **GDELT ToneChart** sentiment score (`tone`, `toneLabel`, aggregate histogram) | None |
| **FREE `count` Mode** | **$0 record charge** — preview matched volume & cost first | Not available |
| **Multi-Country & Topics** | Any `language`/`country` (`US`, `FR`, `GB`, `DE`...), `when` (`1h`–`30d`) & 8 Topics | Limited |
| **Memory & Speed** | Pure Python 3.12 stdlib, **256 MB RAM**, zero proxies | Heavy headless browser costs |

> **Transparency note on Google News URLs:** Google News RSS natively emits opaque `news.google.com/rss/articles/CBMi...` links. Use `mode: "combined"` (default) or `mode: "gdelt_doc"` to receive **direct canonical publisher `articleUrl`s**, `imageUrl`s, and **GDELT tone scores** alongside Google News RSS coverage, cleanly deduplicated by headline and URL.

***

### 4 Execution Modes

#### 1. `combined` (Default) — Google News RSS + GDELT v2 (Deduplicated)

Queries both Google News RSS and GDELT Project v2 DOC API, merges matching headlines so you get GDELT's direct canonical URL, cover image, and tone score enriched with Google News publisher names and snippets.

```json
{
  "mode": "combined",
  "query": "artificial intelligence",
  "language": "en",
  "country": "US",
  "when": "7d",
  "includeToneChart": true,
  "maxResults": 25
}
```

#### 2. `google_news` — Fast Google News RSS Search or Topic Headlines

Ultra-fast (~200 ms) search across any country/language edition or official Google News topic (`WORLD`, `BUSINESS`, `TECHNOLOGY`, `SCIENCE`, `HEALTH`, `SPORTS`, `ENTERTAINMENT`, `NATION`).

```json
{
  "mode": "google_news",
  "query": "facturation électronique",
  "language": "fr",
  "country": "FR",
  "when": "30d",
  "maxResults": 30
}
```

#### 3. `gdelt_doc` — GDELT Project v2 DOC API + Sentiment Tone

Queries GDELT v2 `ArtList` + optional `ToneChart` (respecting GDELT's polite 5-second request interval automatically) for direct canonical article URLs, publisher domains, source countries, images, and tone scores.

```json
{
  "mode": "gdelt_doc",
  "query": "semiconductor supply chain",
  "language": "en",
  "when": "7d",
  "includeToneChart": true,
  "maxResults": 50
}
```

#### 4. `count` — FREE Preview Mode (`$0` record charge)

Preview matched Google News feed volume, GDELT availability, top 5 headlines, and estimated cost before pulling a full batch (`billable = 0`).

```json
{
  "mode": "count",
  "query": "Nvidia earnings",
  "language": "en",
  "country": "US",
  "when": "7d"
}
```

***

### Pay-Per-Event Pricing

| Event | Price | Notes |
|---|---|---|
| `apify-actor-start` | `$0.005` | Charged once per Actor run |
| `news-article-record` | `$0.002` (`$2.00 / 1,000`) | Per deduplicated article (`$0` in free `count` mode) |

***

### Use with AI Agents (MCP)

Connect directly to Claude, Cursor, Windsurf, or any MCP client via the Apify MCP Server:

```text
https://mcp.apify.com/?actors=yannabadie/google-news-gdelt-api-mcp
```

***

### Explore Our Other Official Zero-Proxy API Actors

- [Substack Scraper — Posts, Newsletters & Rankings](https://apify.com/yannabadie/substack-api-mcp)
- [Multi-ATS Jobs API — Greenhouse, Lever & Ashby](https://apify.com/yannabadie/multi-ats-jobs-api-mcp)
- [French Company Intelligence (SIRENE + BODACC + BOAMP)](https://apify.com/yannabadie/french-company-intelligence-mcp)
- [EU Public Tenders (TED Europa v3 + BOAMP)](https://apify.com/yannabadie/eu-public-tenders-ted-boamp)
- [ClinicalTrials.gov v2 API & Sponsor Contacts](https://apify.com/yannabadie/clinical-trials-api-mcp)
- [US NPI Healthcare Providers & Clinics (CMS Registry)](https://apify.com/yannabadie/npi-healthcare-providers-mcp)
- [PubMed & Europe PMC API — Papers, Emails & PDFs](https://apify.com/yannabadie/pubmed-europepmc-api-mcp)

# Actor input Schema

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

Choose 'combined' to query BOTH Google News RSS + GDELT v2 and deduplicate by URL/title, 'google_news' for Google News RSS only (search or topic headlines), 'gdelt_doc' for GDELT v2 DOC API (canonical URLs + tone), or 'count' for a FREE ($0 record charge) preview.

## `query` (type: `string`):

News search query (e.g. 'artificial intelligence', 'Nvidia earnings', 'facturation électronique'). Optional when using a Google News topic in 'google_news' mode.

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

ISO 639-1 language code for Google News RSS & GDELT filter (e.g. 'en', 'fr', 'de', 'es', 'it', 'pt', 'nl', 'ja').

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

ISO 3166-1 alpha-2 country code for Google News RSS edition (e.g. 'US', 'FR', 'GB', 'DE', 'CA', 'ES', 'AU').

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

Recency filter mapped to Google News 'when:' operator and GDELT 'timespan' parameter.

## `topic` (type: `string`):

Optional official Google News headline topic (used when query is empty or in 'google_news' mode).

## `sourceDomain` (type: `string`):

Optional domain filter (e.g. 'reuters.com', 'techcrunch.com', 'lemonde.fr'). Applied via site: in Google News and domainis: in GDELT.

## `includeToneChart` (type: `boolean`):

When using 'gdelt_doc' or 'combined', also query GDELT ToneChart (after a polite 5.2s interval required by GDELT) to attach sentiment tone scores and aggregate sentiment stats in OUTPUT.

## `maxResults` (type: `integer`):

Maximum deduplicated articles to emit (1–500).

## Actor input object example

```json
{
  "mode": "combined",
  "query": "artificial intelligence",
  "language": "en",
  "country": "US",
  "when": "7d",
  "topic": "",
  "sourceDomain": "",
  "includeToneChart": true,
  "maxResults": 25
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (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 = {
    "mode": "combined",
    "query": "artificial intelligence",
    "language": "en",
    "country": "US",
    "when": "7d",
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("yannabadie/google-news-gdelt-api-mcp").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 = {
    "mode": "combined",
    "query": "artificial intelligence",
    "language": "en",
    "country": "US",
    "when": "7d",
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("yannabadie/google-news-gdelt-api-mcp").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 '{
  "mode": "combined",
  "query": "artificial intelligence",
  "language": "en",
  "country": "US",
  "when": "7d",
  "maxResults": 25
}' |
apify call yannabadie/google-news-gdelt-api-mcp --silent --output-dataset

```

## MCP server setup

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

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/Br2V7sQ14oU4aDyJI/builds/ZqauiSjpUzTIie77q/openapi.json
