Skip to main content

World Development Indicators (WDI) Guide

The World Development Indicators (WDI) is the World Bank's premier compilation of cross-country comparable data on development. It contains over 1,600 time series indicators for 217 economies.

Indicator Categories

1. Economy & Growth

Indicator CodeNameUnit
NY.GDP.MKTP.CDGDP (current US$)US$
NY.GDP.MKTP.KD.ZGGDP growth (annual %)%
NY.GDP.PCAP.CDGDP per capita (current US$)US$
NY.GDP.PCAP.PP.CDGDP per capita, PPP (current intl $)Intl $
NV.AGR.TOTL.ZSAgriculture, value added (% of GDP)%
NV.IND.TOTL.ZSIndustry, value added (% of GDP)%
NV.SRV.TOTL.ZSServices, value added (% of GDP)%

2. Trade & External Sector

Indicator CodeNameUnit
NE.EXP.GNFS.CDExports of goods and services (current US$)US$
NE.IMP.GNFS.CDImports of goods and services (current US$)US$
BN.CAB.XOKA.GD.ZSCurrent account balance (% of GDP)%
BX.KLT.DINV.CD.WDFDI, net inflows (BoP, current US$)US$
BX.TRF.PWKR.CD.DTPersonal remittances, received (current US$)US$
FI.RES.TOTL.CDTotal reserves (includes gold, current US$)US$

3. Financial Sector

Indicator CodeNameUnit
FM.LBL.BMNY.GD.ZSBroad money (% of GDP)%
FP.CPI.TOTL.ZGInflation, consumer prices (annual %)%
FR.INR.RINRReal interest rate (%)%
CM.MKT.LCAP.GD.ZSMarket capitalization (% of GDP)%
GC.DOD.TOTL.GD.ZSCentral government debt (% of GDP)%

4. Demographics & Labor

Indicator CodeNameUnit
SP.POP.TOTLPopulation, totalPersons
SP.POP.GROWPopulation growth (annual %)%
SP.DYN.LE00.INLife expectancy at birth, total (years)Years
SP.DYN.TFRT.INFertility rate, total (births per woman)Births
SL.UEM.TOTL.ZSUnemployment, total (% of total labor force)%
SL.TLF.CACT.ZSLabor force participation rate (% of pop ages 15+)%

5. Social Indicators

Indicator CodeNameUnit
SI.POV.DDAYPoverty headcount ratio at $2.15/day%
SI.POV.GINIGini indexIndex
SE.PRM.ENRRSchool enrollment, primary (% gross)%
SE.SEC.ENRRSchool enrollment, secondary (% gross)%
SE.TER.ENRRSchool enrollment, tertiary (% gross)%
SH.XPD.CHEX.GD.ZSCurrent health expenditure (% of GDP)%

6. Infrastructure & Technology

Indicator CodeNameUnit
EG.ELC.ACCS.ZSAccess to electricity (% of population)%
EG.USE.PCAP.KG.OEEnergy use (kg of oil equivalent per capita)kg
IT.NET.USER.ZSIndividuals using the Internet (% of pop)%
IT.CEL.SETS.P2Mobile cellular subscriptions (per 100 people)Per 100
IS.AIR.PSGRAir transport, passengers carriedPersons

7. Environment

Indicator CodeNameUnit
EN.ATM.CO2E.KTCO2 emissions (kt)kt
EN.ATM.CO2E.PCCO2 emissions (metric tons per capita)Metric tons
AG.LND.FRST.ZSForest area (% of land area)%
ER.LND.PTLD.ZSTerrestrial protected areas (% of total land area)%

Sample Query

Python Example

import requests

# Query multiple WDI indicators for Vietnam
url = "https://ecodata.khoviet.com/api/v1/indicators/batch"

payload = {
"source": "WB",
"indicators": [
"NY.GDP.MKTP.CD",
"NY.GDP.MKTP.KD.ZG",
"FP.CPI.TOTL.ZG"
],
"countries": ["VN", "TH", "ID", "MY", "PH"],
"start_year": 2015,
"end_year": 2023
}

response = requests.post(url, json=payload)
data = response.json()

# Print results
for item in data['data']:
print(f"{item['country']}: {item['indicator']} = {item['value']} ({item['year']})")

Output Format

{
"data": [
{
"country": "VN",
"country_name": "Vietnam",
"indicator": "NY.GDP.MKTP.CD",
"indicator_name": "GDP (current US$)",
"year": 2023,
"value": 430000000000,
"unit": "US$"
}
],
"metadata": {
"source": "World Bank - WDI",
"last_updated": "2024-03-15"
}
}

Data Coverage

RegionCountriesTime Range
East Asia & Pacific371960-2023
Europe & Central Asia581960-2023
Latin America & Caribbean421960-2023
Middle East & North Africa211960-2023
North America31960-2023
South Asia81960-2023
Sub-Saharan Africa481960-2023

Pro Tip

Use the batch API endpoint for querying multiple indicators at once to optimize performance.