# GDELT Event Intelligence Normalizer (`wakey7dev/gdelt-event-normalizer`) Actor

Extract GDELT global event data — news events, conflicts, protests, diplomatic activities. Geopolitical analysis, risk monitoring, media intelligence.

- **URL**: https://apify.com/wakey7dev/gdelt-event-normalizer.md
- **Developed by:** [Chris Wakefield](https://apify.com/wakey7dev) (community)
- **Categories:** Business
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

![Chris The Dev](https://raw.githubusercontent.com/chriswakefield87/appstore-screenshot-translator/main/assets/actor-banner.png)

## GDELT News Intelligence Normalizer

Search the live **GDELT Project global news database** and get clean, deduplicated article intelligence for OSINT, communications, market research and geopolitical monitoring. GDELT monitors news in more than 100 languages and updates continuously.

### What this Actor does

- Searches GDELT's public DOC 2.0 API — no API key or account required
- Canonicalizes URLs and removes duplicate syndicated articles
- Normalizes titles, source domains, dates, languages and tone
- Extracts useful named entities from headlines and preserves GDELT locations
- Adds a readable tone label (positive / neutral / negative) from GDELT's tone score
- Returns both a dataset for automation and OUTPUT/STATS records for humans and dashboards

### Input parameters

| Parameter | Type | Description |
|---|---|---|
| `searchQuery` | string | GDELT query expression, e.g. `semiconductor supply chain` |
| `maxResults` | integer | Maximum unique articles, 1–250 (default 25) |
| `language` | string | Optional source language filter, e.g. `English` |
| `timespan` | select | `1d`, `7d`, `30d`, or `3m` (default `7d`) |

### Example input

```json
{
  "searchQuery": "artificial intelligence",
  "maxResults": 20,
  "timespan": "7d"
}
```

### Example output

```json
{
  "url": "https://example.com/article",
  "title": "Example normalized headline",
  "sourceDomain": "example.com",
  "language": "English",
  "seendate": "20260827120000",
  "tone": 1.42,
  "toneLabel": "neutral",
  "locations": ["United States"],
  "entities": ["Example Company"],
  "sourceCountry": "US",
  "urlHash": "deduplication-key"
}
```

### Use cases

- OSINT and geopolitical monitoring
- PR and communications tracking
- Competitive intelligence and market research
- Media-bias and sentiment trend analysis
- Research datasets requiring duplicate removal and consistent source fields

### Data source attribution

Powered by the [GDELT Project](https://www.gdeltproject.org/) and its [DOC 2.0 API](https://blog.gdeltproject.org/gdelt-doc-2-0-api-debuts/). GDELT data is provided for public research and monitoring; users should review the source's current terms and attribution requirements.

# Actor input Schema

## `searchQuery` (type: `string`):

GDELT search expression, such as climate change, semiconductor supply chain, or a quoted phrase.

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

Maximum normalized articles to return.

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

Optional GDELT language filter, for example English or French. Leave empty for all languages.

## `timespan` (type: `string`):

Time window for the GDELT search.

## Actor input object example

```json
{
  "searchQuery": "artificial intelligence",
  "maxResults": 25,
  "language": "",
  "timespan": "7d"
}
```

# Actor output Schema

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

Full normalized article dataset.

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

Formatted summary table.

## `stats` (type: `string`):

Machine-readable run statistics.

# 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 = {
    "searchQuery": "artificial intelligence"
};

// Run the Actor and wait for it to finish
const run = await client.actor("wakey7dev/gdelt-event-normalizer").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 = { "searchQuery": "artificial intelligence" }

# Run the Actor and wait for it to finish
run = client.actor("wakey7dev/gdelt-event-normalizer").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 '{
  "searchQuery": "artificial intelligence"
}' |
apify call wakey7dev/gdelt-event-normalizer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wakey7dev/gdelt-event-normalizer"
        }
    }
}

```

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/NNcln6dkrbwhPCtFC/builds/i6tasYfJhK1PQGQMR/openapi.json
