Skip to main content
Use API v2 for new integrations. v2 is the recommended interface for clean generated GDELT Cloud Events, clustered Stories, Entities, normalized geography, canonical significance ranking, top-3 inline articles, and cursor pagination. See API v2.API v1 remains supported for existing direct API users and integrations.

Overview

The GDELT Cloud v1 Developer API (/api/v1/*) provides backward-compatible programmatic access to earlier GDELT Cloud surfaces: media-event clusters, GEG entity profiles, news-domain profiles, Conflict events, and CAMEO+ events. For new dashboards, monitoring workflows, agents, and analyst applications, prefer /api/v2/*. V2 Event, Story, and Entity list endpoints default to the exact past 24 hours. Narrow with geography, category, subcategory, date windows up to 30 days, and semantic search rather than public confidence modes.

API v2

Recommended clean Events, Stories, Entities, geo discovery, summaries, and cursor pagination

Media Events

Legacy story clusters from articles, filterable by category, actor country, location, and event type

Entities

Wikipedia-linked GEG entity profiles with sentiment, linked stories, and relationship graph

Domains

News domain profiles — stats, top persons/orgs, recent articles

Authentication

All Developer API requests require an API key in the Authorization header:
API keys use the format gdelt_sk_<64-hex-chars>. Generate yours in Dashboard → Settings → API Keys.
API keys require API access on your GDELT Cloud account.
The equivalent v2 starting point is:

Confidence Strictness Spectrum

Several GDELT Cloud product surfaces now use the same plain-language confidence spectrum:
  • High confidencestrict
  • Balancedbalanced
  • Broadbroad
For alerting, this appears as spec_json.filters.precision_mode. Plain-language meaning: This is a quality gate, not a separate family filter. It combines with the rest of your filters using logical AND. It is now exposed directly on the main event-discovery APIs as the precision query parameter:
  • /api/v1/media-events
  • /api/v1/conflict-events
  • /api/v1/cameoplus-events

Date & Time Parameters

All v1 endpoints accept a consistent date + days pattern:
Example: date=2025-02-20&days=7 returns data from Feb 14-20 (7 days ending on Feb 20).
For /api/v1/media-events specifically: days=1 returns only the single date daily bucket; days=7 returns 7 daily buckets ending on date.

Response Detail Levels

Most endpoints support a detail parameter for progressive disclosure — control how much data you receive to optimize for your use case.

/api/v1/media-events

summary returns compact headline cards: cluster_id, label, category, scope, time_bucket, article_count, avg_goldstein, avg_tone, quad_class, event_description, location, top 5 entity names, top 5 source domains, and languages. standard adds trimmed representative articles (URL, title, domain, date, weight), resolved actor/event/location details, and top 10 linked entities. full (default) returns the complete unmodified response including per-article metrics, all linked entities, and lat/long coordinates.

Summary Response Shape

Standard Response Shape

For MCP agents: Start with detail=summary to discover what’s happening, then use the cluster endpoint to deep-dive into specific stories.

/api/v1/media-events/cluster

Summary Response Shape

Standard Response Shape

/api/v1/entity-geg

Cluster Deep-Dive (/api/v1/media-events/cluster)

After discovering stories with /api/v1/media-events, drill into a specific cluster to see all articles, key entities, and apply filters.

Parameters

Filters

Use filters to explore specific angles of a story:
When filters are applied, the response includes filtered_count showing how many articles match.
Always pass date and days matching the media-events discovery call to ensure efficient partition-scoped queries.

Semantic Search (/api/v1/media-events)

The search parameter enables natural-language semantic search across media event clusters. When provided, clusters are ranked by embedding similarity (cosine distance) instead of article count.

How it works

  1. Your query text is converted server-side into a semantic representation
  2. Matching records are scored against pre-computed article representations
  3. Results are grouped by cluster and ranked by semantic similarity

Combining with filters

All filters work with search — they combine as AND (each filter narrows results):
Semantic search is best for conceptual queries — topics, themes, or ideas described in natural language. Use structured filters for precise criteria like specific countries, event types, or date ranges. Combine both for the most targeted results.

Pagination (/api/v1/media-events)

/api/v1/media-events supports numeric offset pagination via the offset parameter:
If the response returns fewer clusters than limit, you have reached the last page.

Error Codes

Reference Codes

Categories (category param)

Scope (scope param)

CAMEO Country Codes (actor_country param)

3-letter ISO codes: USA, GBR, CHN, RUS, DEU, FRA, ISR, IRN, SAU, IND

Event Codes (event_type param)

Pass the root code prefix: 14=Protest, 18=Assault, 19=Fight, 13=Threaten, 11=Disapprove. See the full CAMEO event code table for all codes.

Article Weight

Measures uniqueness of a news article:
Cluster articles are sorted by article_weight DESC.