Overview
GDELT uses standardized code systems for precise filtering of actors, events, locations, and themes. Understanding these codes is essential for building effective queries.Access code references programmatically using the
get_resource tool or via MCP resource URIs (gdelt://codes/*).Code categories
Country Codes
CAMEO & FIPSActor filtering (ISO-3) vs Location filtering (FIPS 2-char)
Actor Codes
Types, Groups, IdentityGOV, MIL, NGO, ethnic, religious affiliations
Event Codes
CAMEO Taxonomy01-20 root codes for event classification
Theme Codes
Topics & SubjectsENV_, ECON_, CONFLICT_, HEALTH_
Country codes
CAMEO country codes (ISO-3)
ISO-3 country codes for filtering WHO (actors) in events.Usage & examples
Usage & examples
Use with:Common codes:
actor1_country_codein gdelt_eventsactor2_country_codein gdelt_events
- USA - United States
- CHN - China
- RUS - Russia
- GBR - United Kingdom
- FRA - France
- DEU - Germany
- JPN - Japan
- IND - India
- BRA - Brazil
- CAN - Canada
- AUS - Australia
- KOR - South Korea
- MEX - Mexico
- IDN - Indonesia
- TUR - Turkey
- SAU - Saudi Arabia
- IRN - Iran
- ISR - Israel
- UKR - Ukraine
- POL - Poland
gdelt://codes/cameo-countryFIPS country codes (2-char)
FIPS 2-character country codes for filtering WHERE (event locations).Usage & examples
Usage & examples
Use with:Common codes:
action_geo_country_codein gdelt_events (where event happened)actor1_geo_country_codein gdelt_events (where actor1 is from)actor2_geo_country_codein gdelt_events (where actor2 is from)country_codein gdelt_gkg_locations_extracted
- US - United States
- CH - China
- RS - Russia
- UK - United Kingdom
- FR - France
- GM - Germany
- JA - Japan
- IN - India
- BR - Brazil
- CA - Canada
- AS - Australia
- KS - South Korea
- MX - Mexico
- ID - Indonesia
- TU - Turkey
- SA - Saudi Arabia
- IR - Iran
- IS - Israel
- UP - Ukraine
- PL - Poland
gdelt://codes/fips-countryActor classification codes
CAMEO type codes
Actor type codes classify organizations and individuals by role.Usage & examples
Usage & examples
Use with:Resource URI:
actor*_type1_code(primary type)actor*_type2_code(secondary type)actor*_type3_code(tertiary type)
- GOV - Government (general)
- GOVMIL - Military/Defense
- GOVCOP - Police/Law enforcement
- GOVLEG - Legislature/Parliament
- GOVJUD - Judiciary/Courts
- GOVEDU - Education ministry
- GOVHLT - Health ministry
- GOVCCE - Central bank/Finance ministry
- MIL - Military (not government)
- REB - Rebels/Armed opposition
- OPP - Opposition party/Dissidents
- PTY - Political party
- COP - Police (not government)
- JUD - Judiciary (not government)
- SPY - Intelligence/Security services
- MED - Media
- EDU - Education institution
- BUS - Business/Corporation
- CRM - Criminal
- CVL - Civilian/General population
- NGO - Non-governmental organization
- IGO - Inter-governmental organization
- SET - Settler
- REF - Refugee/Displaced person
- HLH - Health/Medical
- LAB - Labor union
- AGR - Agriculture
- ELI - Elite/Wealthy
- REL - Religious organization
- ENV - Environmental organization
gdelt://codes/cameo-typeCAMEO known groups
Codes for international organizations and known groups.Usage & examples
Usage & examples
Use with:Resource URI:
actor*_known_group_codein gdelt_events
- NATO - North Atlantic Treaty Organization
- UN - United Nations
- UNSC - UN Security Council
- EU - European Union
- ECON - European Community
- ARAB - Arab League
- OPEC - OPEC
- ASEAN - Association of Southeast Asian Nations
- OAS - Organization of American States
- OAU - Organization of African Unity (now African Union)
- AU - African Union
- BRICS - Brazil, Russia, India, China, South Africa
- G7 - Group of Seven
- G20 - Group of Twenty
- IMF - International Monetary Fund
- WB - World Bank
- WTO - World Trade Organization
- WHO - World Health Organization
- IAEA - International Atomic Energy Agency
- ICRC - International Committee of the Red Cross
- AMNESTY - Amnesty International
- HRW - Human Rights Watch
- TALIBAN - Taliban
- ALQAEDA - Al-Qaeda
- ISIS - Islamic State
gdelt://codes/cameo-known-groupsCAMEO ethnic codes
Ethnic group classification codes for identity-based filtering.Usage & examples
Usage & examples
Use with:Resource URI:
actor*_ethnic_codein gdelt_events
- ARAB - Arab
- KURD - Kurdish
- HAN - Han Chinese
- UIGHUR - Uighur
- TIBETAN - Tibetan
- HUTU - Hutu
- TUTSI - Tutsi
- TAMIL - Tamil
- ROMA - Roma/Romani
- JEWISH - Jewish
- HISPANIC - Hispanic/Latino
- AFRICAN - African/Black
- ASIAN - Asian
- CAUCASIAN - Caucasian/White
- INDIGENOUS - Indigenous peoples
gdelt://codes/cameo-ethnicCAMEO religion codes
Religious affiliation codes for faith-based filtering.Usage & examples
Usage & examples
Use with:Resource URI:
actor*_religion1_code(primary affiliation)actor*_religion2_code(secondary affiliation)
- MOS - Muslim/Islamic
- SUN - Sunni Islam
- SHI - Shia Islam
- CHR - Christian
- CAT - Catholic
- PTR - Protestant
- ORT - Orthodox Christian
- JEW - Jewish
- HIN - Hindu
- BUD - Buddhist
- SIK - Sikh
- DRUZE - Druze
- BAH - Baha’i
gdelt://codes/cameo-religionEvent classification
CAMEO event codes
Complete CAMEO event taxonomy with 20 root codes and hundreds of subcodes.Root codes (01-20)
Root codes (01-20)
01 - MAKE PUBLIC STATEMENT
- Appeal, demand, comment, or public declaration
- Example: 010 (Make statement), 011 (Appeal), 012 (Express intent)
- Request, plead, appeal for help or support
- Example: 020 (Appeal), 021 (Appeal for material cooperation), 025 (Appeal to yield)
- Promise future cooperation or assistance
- Example: 030 (Express intent to cooperate), 031 (Express intent to engage in material cooperation)
- Discussion, negotiation, consultation
- Example: 040 (Consult), 041 (Discuss by telephone), 042 (Make a visit)
- Diplomatic meetings, treaties, agreements
- Example: 050 (Engage in diplomatic cooperation), 051 (Praise or endorse), 052 (Defend)
- Provide material support, resources, assistance
- Example: 060 (Engage in material cooperation), 061 (Cooperate economically), 062 (Cooperate militarily)
- Humanitarian, economic, or military aid
- Example: 070 (Provide aid), 071 (Provide economic aid), 072 (Provide military aid)
- Surrender, capitulate, retreat
- Example: 080 (Yield), 081 (Ease restrictions), 086 (Retreat or surrender)
- Inquiry, investigation, search
- Example: 090 (Investigate), 091 (Investigate crime), 092 (Investigate human rights)
- Ultimatum, requirement, insistence
- Example: 100 (Demand), 101 (Demand material cooperation), 102 (Demand policy change)
- Criticize, complain, condemn
- Example: 110 (Disapprove), 111 (Criticize or denounce), 112 (Accuse)
- Refuse, deny, reject requests
- Example: 120 (Reject), 121 (Reject material cooperation), 122 (Reject request)
- Warn, issue threat, ultimatum
- Example: 130 (Threaten), 131 (Threaten blockade), 138 (Threaten to use military force)
- Demonstrate, rally, strike
- Example: 140 (Engage in political dissent), 141 (Demonstrate or rally), 142 (Conduct hunger strike)
- Military exercises, mobilization, show of force
- Example: 150 (Demonstrate military power), 151 (Increase military alert), 152 (Mobilize)
- Sanctions, embargo, cut ties
- Example: 160 (Reduce relations), 161 (Reduce or stop aid), 162 (Impose embargo)
- Force, intimidate, occupy
- Example: 170 (Coerce), 171 (Seize possessions), 173 (Impose administrative sanctions)
- Physical attack on persons
- Example: 180 (Use unconventional violence), 181 (Abduct, kidnap), 182 (Physically assault)
- Armed combat, battle
- Example: 190 (Use conventional military force), 191 (Impose blockade), 193 (Fight with small arms)
- WMD, terrorism, mass killing
- Example: 200 (Use unconventional mass violence), 201 (Engage in mass expulsion), 203 (Engage in ethnic cleansing)
gdelt://codes/cameo-eventGoldstein scale
Event intensity scale from -10 (most negative/conflictual) to +10 (most positive/cooperative).Natural language mapping
Natural language mapping
Conflict spectrum:Strong cooperation:Resource URI:
- -10 to -7: Violent conflict (fight, assault, mass violence)
- -6 to -4: Non-violent conflict (threaten, reduce relations, coerce)
- -3 to -1: Mild conflict (disapprove, reject, protest)
- 0: Neutral actions (investigate, make statement)
- +1 to +2: Mild cooperation (consult, appeal positively)
- +3 to +6: Material cooperation (cooperate economically/militarily, provide aid)
- +7 to +10: Strong cooperation (host talks, sign major agreements, merge)
gdelt://codes/goldstein-scaleGoldstein scale provides numerical filtering for event intensity. Use with
quad_class for conflict/cooperation categories.Theme classification
GDELT theme taxonomy
Hierarchical theme taxonomy for topic-based article filtering.Major theme categories
Major theme categories
ENV_ - Environmental themes*
- ENV_CLIMATECHANGE - Climate change
- ENV_DISASTER - Natural disasters
- ENV_EMISSIONS - Emissions and pollution
- ENV_DEFORESTATION - Deforestation
- ENV_BIODIVERSITY - Biodiversity loss
- ENV_WATER - Water issues
- ENV_ENERGY - Energy topics
- ECON_INFLATION - Inflation
- ECON_TRADE - Trade agreements/disputes
- ECON_STOCKMARKET - Stock market
- ECON_UNEMPLOYMENT - Unemployment
- ECON_POVERTY - Poverty
- ECON_DEBT - National/corporate debt
- ECON_CURRENCY - Currency issues
- CONFLICT_MILITARY - Military conflict
- CONFLICT_TERRORISM - Terrorism
- CONFLICT_CYBER - Cyber warfare
- CONFLICT_NUCLEAR - Nuclear weapons
- CONFLICT_ARMS - Arms sales/control
- GOV_ELECTION - Elections
- GOV_CORRUPTION - Corruption
- GOV_POLICY - Policy changes
- GOV_REGULATION - Regulatory issues
- GOV_DIPLOMACY - Diplomatic relations
- HEALTH_PANDEMIC - Pandemics/epidemics
- HEALTH_POLICY - Health policy
- HEALTH_HOSPITAL - Hospital/medical care
- HEALTH_MENTAL - Mental health
- HEALTH_DRUG - Drug issues
- WB_* themes map to World Bank development indicators
- UNGP_* themes align with UN SDG goals
- Coverage of casualties, evacuations, damage, relief
gdelt://codes/theme-gdelt-taxonomyCrisisLex themes
Specialized crisis and disaster terminology for emergency event tracking.Coverage areas
Coverage areas
Casualties & Injuries:
- Fatalities, deaths, casualties
- Injured, wounded
- Missing persons
- Evacuations, refugees
- Displaced persons
- Shelter needs
- Building collapses
- Infrastructure damage
- Power outages
- Humanitarian aid
- Emergency response
- Rescue operations
- Medical assistance
- First responders
- Search and rescue
- Emergency declarations
gdelt://codes/theme-crisislexBest practices
Start broad, then narrow - Begin with root codes or top-level themes, then add specificity
Combine complementary codes - Use actor types + event codes + locations for precision
Understand sparsity - Ethnic and religion codes are sparse; use as secondary filters
Quick reference
| Code Type | Use For | Column Names | Format |
|---|---|---|---|
| CAMEO Country | Actor filtering (WHO) | actor*_country_code | ISO-3 (USA, CHN) |
| FIPS Country | Location filtering (WHERE) | *_geo_country_code | FIPS 2-char (US, CH) |
| CAMEO Type | Actor classification | actor_type_code | 3-char (GOV, MIL) |
| Known Groups | Organizations | actor*_known_group_code | Names (NATO, UN) |
| Event Codes | Event classification | event_*_code | 2-4 digits (14, 182) |
| Goldstein | Event intensity | goldstein_scale | -10 to +10 |
| Themes | Topic filtering | theme | Hierarchical (ENV_*) |

