Snapshot

The World Bank Database is a collection of around 300,000 development indicators compiled from officially recognized international sources. It presents the most current and accurate global development data available.

List main categories

List all main categories available

/worldBank/categories

te.getWBCategories(category = None, output_type = 'df')
data = te.getWorldBank().then(function(data){
  console.log(data)
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/worldBank/categories?c=guest:guest");

By main category

Get World Bank data by specific category

/worldBank/category/{category}

te.getWBCategories(category = 'education', output_type = 'df')
data = te.getWorldBank(category = 'education').then(function(data){
  console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/worldBank/category/Education?c=guest:guest");

By series code

Get World Bank data by specific series code

/worldBank/indicator?s={series_code}

te.getWBIndicator(series_code = 'fr.inr.rinr', output_type='df')
data = te.getWorldBank(series_code = 'fr.inr.rinr').then(function(data){
  console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/worldBank/indicator?s=fr.inr.rinr&c=guest:guest");

/worldBank/indicator?s={country_abbreviation.series_code}

te.getWBIndicator(series_code = 'usa.fr.inr.rinr', output_type='df')
data = te.getWorldBank(series_code = 'usa.fr.inr.rinr').then(function(data){
  console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/worldBank/indicator?s=usa.fr.inr.rinr&c=guest:guest");

By country

Get World Bank data by specific country

/worldBank/country/{country}

te.getWBCountry(country = 'Portugal', output_type='df')
data = te.getWorldBank(country = 'Portugal').then(function(data){
  console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/worldBank/country/portugal?c=guest:guest");

By URL

Get World Bank data by specific URL

/worldBank/indicator?url={url}

te.getWBIndicator(url = '/united-states/real-interest-rate-percent-wb-data.html',
 output_type='df')
data = te.getWorldBank(URL = '/united-states/real-interest-rate-percent-wb-data.html').then(function(data){
  console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/worldBank/indicator?url=/united-states/real-interest-rate-percent-wb-data.html&c=guest:guest");

Response fields

FieldTypeDescriptionExample
SymbolstringUnique symbol used by Trading Economics“ABW.FR.INR.RINR”
LastnumberLatest released value12.22872
DatestringRelease time and date in UTC“2020-06-15T00:00:00”
PreviousnumberValue for the previous period after the revision (if revision is applicable)1.10675
PreviousDatestringRelease time and date in UTC of the previous value“2019-06-15T00:00:00”
CountrystringCountry name“Mexico”
CategorystringCategory name“Financial Sector”
DescriptionstringSnapshot description“Real interest rate (%)”
FrequencystringFrequency of the indicator“yearly”
UnitstringUnit of the data“%”
TitlestringWB Series title“Real interest rate”
URLstringHyperlink at Trading Economics“/aruba/real-interest-rate-percent-wb-data.html”
last_updatestringTime when new data was inserted or changed“2023-04-07T09:38:20.24”

Field in ‘List main categories’

FieldTypeDescriptionExample
CategorystringCategory name“Agriculture & Rural Development”

Fields in ‘By main category’

FieldTypeDescriptionExample
series_codestringWB symbol for the series“SE.ADT.1524.LT.FE.ZS”
series_namestringWB Name for the series“Literacy rate, youth female (% of females ages 15-24)”
CategorystringCategory name“Financial Sector”
SymbolstringUnique symbol used by Trading Economics“ABW.FR.INR.RINR”
LastnumberLatest released value12.22872
sub_categorystringWB Sub category name“Education”
sub_category2stringWB Sub category name“Gender”
sub_category3stringWB Sub category name“Social Development”
TitlestringWB Series title“Real interest rate”
long_definitionstringWB Series long definition“Gender parity index for youth literacy rate is…”
short_definitionstringWB Series short definition“Ratio of young literate females to males is the…”
SourcestringData source“World Development Indicators”
general_commentsstringWB general comments“Data showing as 2.0 signifies a poverty rate…”
aggregation_methodstringWB aggregation method“Weighted average”
URLstringHyperlink at Trading Economics“/aruba/real-interest-rate-percent-wb-data.html”
OrganizationstringWB Organization“UNESCO Institute for Statistics”
UnitstringUnit of the data“%”
verbose_unitstringWB Verbose Unit“%”
last_updatestringTime when new data was inserted or changed“2023-04-07T09:38:20.24”