World Bank Indicators

Population and gross domestic product (current US dollars) for 217 economies and 49 regional and income aggregates, by year, from the World Bank's World Development Indicators.

2,660 rows · 2018–2022 · 266 countries · version 1, 2026-10-13

Harmonized · first 8 of 2,660 rows

countryyearmeasurevalueunitas publishedpublished unit
Afghanistan2018Gross domestic product, current US dollars18,053,222,687US dollars18053222687.4126current US$
Afghanistan2018Total population36,743,039persons36743039person
Afghanistan2019Gross domestic product, current US dollars18,799,444,490US dollars18799444490.1128current US$
Afghanistan2019Total population37,856,121persons37856121person
Afghanistan2020Gross domestic product, current US dollars19,955,929,052US dollars19955929052.1496current US$
Afghanistan2020Total population39,068,979persons39068979person
Afghanistan2021Gross domestic product, current US dollars14,259,995,441US dollars14259995441.0759current US$
Afghanistan2021Total population40,000,412persons40000412person

As published by the source · first 8 of 2,660 rows

indicator codeindicator namecountry iso2country codecountry nameyearvaluedecimal
NY.GDP.MKTP.CDGDP (current US$)1AARBArab World20182,924,906,594,1290
NY.GDP.MKTP.CDGDP (current US$)1AARBArab World20192,969,429,771,6100
NY.GDP.MKTP.CDGDP (current US$)1AARBArab World20202,608,795,934,1740
NY.GDP.MKTP.CDGDP (current US$)1AARBArab World20213,090,113,052,0440
NY.GDP.MKTP.CDGDP (current US$)1AARBArab World20223,752,344,988,9030
NY.GDP.MKTP.CDGDP (current US$)1WWLDWorld201887,310,840,056,7180
NY.GDP.MKTP.CDGDP (current US$)1WWLDWorld201988,796,498,078,9780
NY.GDP.MKTP.CDGDP (current US$)1WWLDWorld202086,388,502,867,2890

Full data

2,660 rows as CSV or Parquet, with SQL access and the source of every row. Premium access required.

What was done to this data

Collected
5 API responses from The World Bank, retrieved 2026-10-13. Each is kept unchanged and identified by its SHA-256.
Parsed
296 rows of wb_countries, 2,660 rows of wb_indicator_observations. Every record was readable.
Places matched
266 by identifier code to one registry of countries and country groups. Every row's place was matched.
Measures defined
SP.POP.TOTL is Total population, in person; NY.GDP.MKTP.CD is Gross domestic product, current US dollars, in usd. Each is tied to a written definition of what it measures.
Periods
Each year becomes an explicit interval, 1 January to 1 January, on the calendar year.
Missing values
44 of 2,660 values the source does not report are kept as missing, never as zero.
Checked
Every row has a unique key and names the response record it came from. Version 1, published 2026-10-13.
Columns
codestringThree-letter World Bank code.
iso2_codestringTwo-letter code the indicator endpoints use.
namestring
region_codestring
region_namestring"Aggregates" marks a group of economies.
income_level_codestring
income_level_namestring
lending_type_codestring
capital_citystring
longitudefloat
latitudefloat
indicator_codestringwhich variable
indicator_namestring
country_iso2stringcountry · wb2Two-letter code of the economy or aggregate.
country_codestringcountry · wbThree-letter code; empty for some aggregates.
country_namestring
yearintcalendar year
valuefloatvalueNull when the Bank reports no value.
unitstring
obs_statusstring
decimalint

Sources

World Development Indicators, The World Bank · CC-BY-4.0