Skip to main content
GET
Read country activity

Authorizations

Authorization
string
header
required

GDELT Cloud API key. Send as Authorization: Bearer gdelt_sk_....

Query Parameters

time_basis
enum<string>
default:published

Clock for date/hour filters and ordering: published preserves the serving/reference publication time; recorded uses the durable journal commit time and includes late publications when they become available. Omission retains published compatibility. Choose recorded explicitly for ongoing activity Monitors; source dates remain unchanged. Full value list: https://docs.gdeltcloud.com/reference/enums#activity-time-basis

Available options:
published,
recorded
date_start
string<date>

First UTC date in the selected time_basis. Defaults to today; future dates are rejected. Neither clock is Event occurrence time. Note: validation is owned by the endpoint service because it depends on composed or cross-parameter state; the published error semantics above still apply.

date_end
string<date>

Last UTC date in the selected time_basis, inclusive. Defaults to date_start and cannot be later than the current UTC day. Note: validation is owned by the endpoint service because it depends on composed or cross-parameter state; the published error semantics above still apply.

hour
integer

UTC hour selecting a publication bucket on one UTC date. Rejects hours that have not started. The current hour is allowed and describes publications so far; omit for the whole selected day. Requires date_start and date_end to be equal when both are sent. An hour selects one UTC date.

Required range: 0 <= x <= 23
country
string

Known country attribution. Evidence distinguishes location, actor origin, reporting and source association. Note: validation is owned by the endpoint service because it depends on composed or cross-parameter state; the published error semantics above still apply. Full value list: https://docs.gdeltcloud.com/reference/enums#country

basis
enum<string>
default:publication

publication retains the activity journal clock. reporting uses distinct served Events by occurrence date and location country (country_match=location), and Stories by reporting date under every authoritative country association (the Stories summary country_attribution=all mode). Country buckets may overlap for Stories; totals are computed independently. With basis=reporting: cannot be combined with hour. Reporting has day precision; select publication for hourly changes. Full value list: https://docs.gdeltcloud.com/reference/enums#country_basis

Available options:
publication,
reporting
include_event_metrics
boolean

Include Event metric maxima with tied-country evidence, five AI-coded metric averages with scored Event counts, and per-country readings/linked identity counts. totals.entities_spotted counts distinct served identity/id-space pairs across the entire scoped Event set, never summed over countries; null when unavailable or not requested. Occurrence-date and location scope. Averages weight each finite scored canonical Event equally, independently of directory pagination. Unrestricted world averages and linked-identity totals include unlocated/global Events; geographic filters use location. Goldstein remains a signed maximum only. No scored observations gives null/count 0; unavailable context remains null. With include_event_metrics=true: requires basis=reporting.

include_context
boolean

Include dated macro rollups for the selected geography, with same-period coverage and aggregation methods. Requires intelligence entitlement.

directory
boolean

Include every registered country, even those without observed activity. When omitted, returns the activity view rather than the paginated directory.

q
string

Country directory name or ISO code search. Requires directory=true. Omit directory-only parameters for the complete activity map.

region
enum<string>

Registered geographic region whose member countries narrow the country activity or directory view. Note: validation is owned by the endpoint service because it depends on composed or cross-parameter state; the published error semantics above still apply. Full value list: https://docs.gdeltcloud.com/reference/enums#region

Available options:
Middle East,
Northern Africa,
Western Africa,
Eastern Africa,
Middle Africa,
Southern Africa,
Eastern Europe,
South Asia,
Southeast Asia,
East Asia,
Central Asia,
Northern America,
Central America,
Caribbean
continent
enum<string>

Registered continent whose member countries narrow the country activity or directory view. Note: validation is owned by the endpoint service because it depends on composed or cross-parameter state; the published error semantics above still apply. Full value list: https://docs.gdeltcloud.com/reference/enums#continent

Available options:
Africa,
Asia,
Europe,
North America,
South America,
Oceania
sort
enum<string>

Directory order: most recently seen in reporting/publication activity (default), name alphabetically, events or stories descending with stable name ties. Requires directory=true. Omit directory-only parameters for the complete activity map. Full value list: https://docs.gdeltcloud.com/reference/enums#country_directory_sort

Available options:
recent,
name,
events,
stories
limit
integer

Number of countries per directory page. Requires directory=true. Omit directory-only parameters for the complete activity map. Note: validation is owned by the endpoint service because it depends on composed or cross-parameter state; the published error semantics above still apply.

Required range: 1 <= x <= 250
offset
integer

Number of directory countries to skip. Requires directory=true. Omit directory-only parameters for the complete activity map.

Required range: x >= 0

Response

Success

success
enum<boolean>
required
Available options:
true
data
object[]
required
edges
object[]
required
hourly
object[]
required
totals
object
required

Independently counted activity totals. On reporting basis with include_event_metrics=true, entities_spotted is the distinct served identity/id-space count across the entire scoped Event population, including unlocated/global Events at world scope; null when unavailable or not requested. Never sum overlapping country entity counts.

applied_filters
object
required
meta
object
required
daily
object[]
event_metrics
object[] | null

Maximum signed Event metrics by occurrence date, with evidence from every tied country.

event_metric_averages
object[] | null

Five AI-coded metric means weighted by scored Event observations, never country means or maxima. Independent of directory pagination. World scope includes unlocated Events; geographic filters use Event location. Null when context is unavailable or not requested.

event_metrics_by_country
object[] | null
context
object
pagination
object