GDELT Global News & Event Graph Fetcher avatar

GDELT Global News & Event Graph Fetcher

Under maintenance

Pricing

Pay per usage

Go to Apify Store
GDELT Global News & Event Graph Fetcher

GDELT Global News & Event Graph Fetcher

Under maintenance

Fetch real-time global news articles and event-graph analytics from the GDELT Project 2.0 API. Supports article list mode (per-article billing) and GKG graph mode (per-entity-event billing). No API key required.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Bruno Finger

Bruno Finger

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Categories

Share

Fetch real-time global news articles and event-graph analytics from the GDELT Project 2.0 API. Supports article list mode (per-article billing) and GKG graph mode (per-entity-event billing). No API key required.

Data Source

  • API: GDELT Project 2.0 API (https://api.gdeltproject.org/api/v2/doc/doc)
  • Coverage: Real-time global news from 65+ languages, 100+ countries
  • Authentication: None required (keyless public API)
  • Rate Limits: Designed for public access, generous limits

Features

  • Article List Mode (artlist): Fetch news articles with URLs, titles, domains, publication dates, languages, countries, and social images
  • Event Graph Mode (graph): Fetch GKG (Global Knowledge Graph) entity/event nodes with relationships
  • Time Chart Mode (timechart): Get historical time-series counts for a query
  • HTML Render Mode (htmlrender): Get rendered HTML visualization
  • Flexible filtering by language, domain, source country, and time windows
  • Per-article or per-graph-node pay-per-event billing

Input Parameters

ParameterTypeRequiredDescription
querystringYesSearch query for GDELT (keywords, phrases, or GDELT syntax)
modestringNoFetch mode: artlist, graph, timechart, htmlrender (default: artlist)
maxRecordsintegerNoMaximum records to return (default 100, max 250)
startDatetimestringNoStart datetime UTC: YYYYMMDDHHMMSS
endDatetimestringNoEnd datetime UTC: YYYYMMDDHHMMSS
timespanstringNoRelative time span: 1H, 6H, 12H, 24H, 3D, 1W, 1M
formatstringNoResponse format: json, csv, html (default: json)
langstringNoLanguage filter (e.g., English, Spanish, French)
domainstringNoDomain filter (e.g., nytimes.com, bbc.com)
sourceCountrystringNoSource country filter (e.g., United States, United Kingdom)

Output Fields

FieldTypeDescription
urlstringArticle URL (artlist mode)
titlestringArticle headline/title
domainstringSource domain
seendatestringWhen GDELT first saw the article (YYYYMMDDTHHMMSSZ)
languagestringArticle language
sourcecountrystringSource country
socialimagestringSocial media preview image URL
modestringFetch mode used
url_mobilestringMobile-optimized URL (if available)
errorstringError message (if any)

Pricing

  • Model: Pay-per-event
  • Article Fetched: $0.001 per article (artlist mode)
  • Graph Node Fetched: $0.001 per graph node (graph mode)
  • Category: NEWS / MONITORING

Example Usage

Article list (artlist mode):

{
"query": "climate change",
"mode": "artlist",
"maxRecords": 50,
"lang": "English",
"timespan": "24H"
}

Event graph (graph mode):

{
"query": "election fraud",
"mode": "graph",
"maxRecords": 100,
"sourceCountry": "United States"
}

Time series (timechart mode):

{
"query": "covid-19 vaccine",
"mode": "timechart",
"timespan": "1M"
}

Local Development

cd gdelt-news-event-graph-fetcher
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
echo '{"query": "llm", "mode": "artlist", "maxRecords": 5}' > INPUT.json
.venv/bin/python -m src --input-file INPUT.json

Docker

docker build -t gdelt-news-event-graph-fetcher .actor/
docker run --rm -v $(pwd)/storage:/usr/src/app/storage gdelt-news-event-graph-fetcher

References