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. Requires a single date and rejects hours that have not started. The current hour is allowed and describes publications so far; omit for the whole selected day.

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
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. Reporting has day precision and rejects hour. Note: validation is owned by the endpoint service because it depends on composed or cross-parameter state; the published error semantics above still apply.

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. Reporting basis only; 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.

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.

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:
Africa,
Asia,
Middle East,
Northern Africa,
Western Africa,
Eastern Africa,
Middle Africa,
Southern Africa,
Europe,
Eastern Europe,
South Asia,
Southeast Asia,
East Asia,
Central Asia,
North America,
Central America,
Caribbean,
South America,
Oceania
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
string

Directory order: most recently seen in reporting/publication activity (default), name alphabetically, events or stories descending with stable name ties. Requires directory=true. Note: validation is owned by the endpoint service because it depends on composed or cross-parameter state; the published error semantics above still apply.

limit
integer

Number of countries per directory page; applies only with directory=true. 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; applies only with directory=true.

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