List Category and Series code

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

import tradingeconomics as te
te.login('your_api_key')

te.getWBCategories(category = None)
const te = require('tradingeconomics');
te.login('your_api_key');

data = te.getworldbank().then(function(data){
  console.log(data)
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/worldbank/categories?c=guest:guest");

List series code by main category

List series codes using a specific category

/worldbank/category/{category}

te.getWBCategories(category = 'education')
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");

Response fields

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”
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”
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”