Skip to main content

Overview

get_cameoplus_events_summary returns aggregated totals and bucketed counts for AI-coded CAMEO+ events. It is the broad-and-shallow counterpart to get_cameoplus_events — designed to understand domain activity, geographic distribution, and average event intensity before fetching individual records. Results include a totals object (aggregate across the entire filter) and a buckets array (one row per group_by dimension). Each bucket includes avg/max magnitude, market_sensitivity, systemic_importance, and propagation_potential in addition to event counts.

Progressive Disclosure Pattern

1. get_cameoplus_events_summary(days=7, group_by='domain')
   → Which domains are most active this week?

2. get_cameoplus_events_summary(domain='ECONOMIC', days=7, group_by='country')
   → Where are economic events happening?

3. get_cameoplus_events(domain='ECONOMIC', country='USA')
   → Individual economic events in the US

Parameters

ParameterTypeDefaultDescription
group_byenumdomainDimension to group results by. See values below.
daysinteger7Lookback window in days from date. Max 90.
datestringtoday UTCAnchor/end date in YYYY-MM-DD format.
domainenumFilter to a specific CAMEO+ domain. See domain values below.
event_codestringFilter by event code or domain prefix. Supports exact match ('EC02') or prefix match ('EC' = all ECONOMIC codes). See full code table below.
countrystringISO-3 country code (e.g. 'USA', 'DEU', 'CHN'). Must be a 3-letter code — full names will not match.
regionenumGeographic region. Expands to the corresponding ISO-3 country list. Only one region per request. See valid values below.
admin1stringFirst-level administrative division as stored in GDELT. Must be used with country. Use the full official name. Examples: 'California' (USA), 'Bavaria' (Germany), 'São Paulo' (Brazil), 'Guangdong' (China), 'Île-de-France' (France).
magnitude_minnumberMinimum magnitude score (0–10). Pre-filters events before aggregation.
magnitude_maxnumberMaximum magnitude score (0–10).
systemic_minnumberMinimum systemic importance score (0–1).
market_minnumberMinimum market sensitivity score (0–1).

group_by Values

ValueDescription
domainOne bucket per CAMEO+ domain (default). Shows which domains are most active.
dateOne bucket per day, ascending. Use for trend lines over time.
countryOne bucket per country. Includes centroid lat/lon for map rendering.
event_codeOne bucket per specific event code. Most useful combined with a domain filter.

region Values

Western Africa, Middle East, Eastern Africa, Southern Asia, East Asia, Eastern Europe, Latin America & Caribbean, South-Eastern Asia, Northern America, Western Europe, Central Asia, Oceania, Middle Africa, Northern Africa, Southern Africa, Caribbean, Central America

domain Values

ValueDescription
POLITICALDiplomatic, cooperative, and non-violent coercive political events (CAMEO 01–17)
ECONOMICMacroeconomic indicators, monetary policy, fiscal policy, trade, market stress
CORPORATEM&A, bankruptcies, production capacity, technology milestones, capital allocation
TECHNOLOGYAI capability, military technology, cyber operations, space, strategic tech controls
INFRASTRUCTUREEnergy, transport, supply chain, communications infrastructure disruptions
ENVIRONMENTGeophysical hazards, meteorological events, climate events, pollution
HEALTHDisease outbreaks, pandemics, vaccines, health policy, health system crises
DEMOGRAPHICRefugee flows, migration, population crises, labor events
INFORMATIONDisinformation campaigns, information controls, major leaks, narrative warfare

event_code Values

CodeEvent
EC01Macroeconomic Indicator Release
EC02Monetary Policy Action
EC03Fiscal Policy Action
EC04Trade Policy Action
EC05Market Stress Event
EC06Currency Event
EC07Sovereign Debt Event
Use 'EC' as a prefix to match all 7 ECONOMIC codes.
CodeEvent
CO01Merger or Acquisition
CO02Bankruptcy or Restructuring
CO03Production Capacity Change
CO04Technology Development Milestone
CO05Capital Allocation Event
CO06Regulatory or Legal Action
CO07Leadership or Governance Change
CO08Supply Chain Shock
CodeEvent
TE01AI Capability Event
TE02Military Technology Event
TE03Cyber Event
TE04Space or Satellite Event
TE05Strategic Technology Control
TE06Critical Tech Infrastructure
CodeEvent
IN01Energy Infrastructure Event
IN02Transport Disruption
IN03Supply Chain Disruption
IN04Communications Infrastructure
IN05Deliberate Infrastructure Sabotage
IN06Water Infrastructure Event
CodeEvent
EN01Geophysical Hazard
EN02Meteorological Hazard
EN03Climate Event
EN04Environmental Pollution Event
EN05Environmental Policy or Agreement
CodeEvent
HE01Disease Outbreak
HE02Pandemic or Global Health Emergency
HE03Vaccine or Treatment Milestone
HE04Public Health Policy Action
HE05Health System Crisis
CodeEvent
DE01Mass Displacement or Refugee Event
DE02Migration Event
DE03Population Crisis
DE04Labor Event
DE05Urbanization or Housing Event
CodeEvent
IF01Disinformation or Influence Operation
IF02Information Control Action
IF03Major Leak or Disclosure
IF04Narrative Warfare Event
Uses standard CAMEO 2-digit codes for diplomatic/political interactions. Examples: 01 Public statement, 04 Consult, 05 Diplomatic cooperation, 13 Threaten, 14 Protest/Demand, 17 Coerce. Use '01''17' for exact match or no prefix for domain-level.

Data Structure

{
  "success": true,
  "group_by": "domain",
  "totals": {
    "event_count": 1842,
    "avg_magnitude": 5.3,
    "max_magnitude": 9.8,
    "avg_market_sensitivity": 0.54,
    "max_market_sensitivity": 0.97,
    "avg_systemic_importance": 0.61,
    "max_systemic_importance": 0.99,
    "avg_propagation_potential": 0.48,
    "avg_goldstein_scale": -1.2,   // non-null only when POLITICAL events in scope
    "avg_confidence": 0.87,
    "countries_affected": 89,
    "domains_active": 9,
    "centroid_lat": null,   // only present when country/region filter active
    "centroid_lon": null
  },
  "buckets": [
    {
      "domain": "ECONOMIC",
      "event_count": 412,
      "avg_magnitude": 5.8,
      "max_magnitude": 8.9,
      "avg_market_sensitivity": 0.71,
      "max_market_sensitivity": 0.97,
      "avg_systemic_importance": 0.68,
      "max_systemic_importance": 0.99,
      "avg_propagation_potential": 0.52,
      "avg_goldstein_scale": null,
      "avg_confidence": 0.89,
      "countries_in_bucket": 67,
      "domains_in_bucket": null   // omitted when group_by=domain
    }
  ],
  "filters": { "days": 7 },
  "metadata": { "bucket_count": 9, "execution_time_ms": 38 }
}

Latent Attribute Averages

Each bucket includes average and max values for the four CAMEO+ latent attributes:
AttributeRangeDescription
avg_magnitude / max_magnitude0–10Domain-specific intensity. Routine = 3–4, major structural events = 8–10.
avg_market_sensitivity / max_market_sensitivity0–1Expected financial market impact. Rate decisions, tariffs score high.
avg_systemic_importance / max_systemic_importance0–1How broadly the event affects systems/institutions.
avg_propagation_potential0–1Likelihood of cascading or contagion effects.
avg_goldstein_scale-10 to +10Only non-null when bucket contains POLITICAL-domain events.

Caching

  • Historical queries (date before today UTC): cached 24 hours
  • Live queries (includes today): cached until 7 minutes past the next UTC hour

Example Queries

get_cameoplus_events_summary(
    days=7,
    group_by="domain"
)
# → Which CAMEO+ domains are most active this week?

Common Use Cases

  • “Which domains are most active this week?”days=7, group_by='domain'
  • “Show me a daily trend of economic events”domain='ECONOMIC', days=30, group_by='date'
  • “Which countries have the most market-sensitive events?”market_min=0.7, days=7, group_by='country'
  • “What’s the average magnitude of tech events in East Asia?”domain='TECHNOLOGY', region='East Asia', days=30, group_by='domain'
  • “Break down economic events by specific code”domain='ECONOMIC', days=30, group_by='event_code'
  • “Show me high-systemic-importance events in Europe”region='Western Europe', systemic_min=0.8, days=7, group_by='country'