Geopolitical Risk Index

Get the Geopolitical Risk (GPR) index of Caldara and Iacoviello: how much leading newspapers write about wars, terrorism and tensions between states, monthly from 1985 (or 1900), with its threats and acts and the share of articles about each of 44 countries.

The index counts the articles of ten US, British and Canadian newspapers (three for the historical index from 1900) that mention adverse geopolitical events or risks in eight categories, as a share of all articles. The threats index covers war threats, peace threats, military buildups, nuclear threats and terror threats; the acts index the beginning and escalation of wars and terror acts. The index is normalized to an average of 100 over 1985 to 2019 (1900 to 2019 for the historical index); it peaked after the attacks of 11 September 2001, in the Gulf War of 1991, at the start of the Iraq war in 2003 and at the Russian invasion of Ukraine in 2022. The share per country counts the articles that also mention the country or its largest cities.

Caldara, D., & Iacoviello, M. (2022). Measuring Geopolitical Risk. American Economic Review, 112(4), 1194-1225.

The Share is that of each month, with Articles the articles about geopolitical risk, Base Average the average share over 1985 to 2019 and Country Articles the articles about geopolitical risk that mention the country. The formula is as follows:

\[\text{Share} = \frac{\text{Articles}}{\text{All Articles}}\] \[\text{Geopolitical Risk Index} = \frac{100 \cdot \text{Share}}{\text{Base Average}}\] \[\text{Country Share} = \frac{\text{Country Articles}}{\text{All Articles}}\]

The data is downloaded from https://www.matteoiacoviello.com/gpr.htm and is open access under the Creative Commons BY license, crediting the authors and the website.

See definition: matteoiacoviello.com

Also known as: GPR, geopolitical risk, war risk, geopolitical threats, geopolitical acts.

Example · 2026

Install the Finance Toolkit with pip install financetoolkit -U, then call get_geopolitical_risk_index:

from financetoolkit import Economics

economics = Economics(start_date='2026-06-01', end_date='2026-11-30')

economics.get_geopolitical_risk_index()

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

How high was geopolitical risk in the world, split into threats and acts, each month from June to November 2026?

Which returns:

Parameters

get_geopolitical_risk_index accepts the following parameters.

ParameterTypeDescriptionExample
countrieslist[str] | str | NoneThe countries to include in the share of articles, e.g. ‘Russia’ or [‘Israel’, ‘World’]. Defaults to None, which returns all of them. The index has the World only.["United States", "Germany"]
measurestrWhat to return. Options are: “index” (the world index with its threats and acts), “share” (the share of articles about geopolitical risk, for the world and per country, as a decimal). Defaults to “index”."index"
historicalboolWhether to return the historical index from 1900, based on three newspapers, rather than the recent index from 1985, based on ten. Defaults to False.False
rollingintThe rolling window size to use for smoothing the data (simple moving average). Defaults to None.4
transformstr | list[str] | NoneTime series steps applied in order, such as “sma:12” (moving average), “ema:12”, “std:12”, “zscore:60”, “percentile:120”, “yoy”, “pct_change:3,annualize:3”, “log”, “diff”, “cumsum” or “hp_trend” and “hp_cycle” (Hodrick-Prescott). They run before growth and the date range, on the history fetched with it: the full history, so any window fits. Defaults to None.None
growthboolWhether to return the growth data or the actual data. Defaults to False.True
lagintThe number of periods to lag the data by. Defaults to 1.4
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the Economics class.2
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column

References

Share