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
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’
Field | Type | Description | Example |
---|---|---|---|
Category | string | Category name | “Agriculture & Rural Development” |
Fields in ‘By main category’
Field | Type | Description | Example |
---|---|---|---|
series_code | string | WB symbol for the series | “SE.ADT.1524.LT.FE.ZS” |
series_name | string | WB Name for the series | “Literacy rate, youth female (% of females ages 15-24)” |
Category | string | Category name | “Financial Sector” |
sub_category | string | WB Sub category name | “Education” |
sub_category2 | string | WB Sub category name | “Gender” |
sub_category3 | string | WB Sub category name | “Social Development” |
Title | string | WB Series title | “Real interest rate” |
long_definition | string | WB Series long definition | “Gender parity index for youth literacy rate is…” |
short_definition | string | WB Series short definition | “Ratio of young literate females to males is the…” |
Source | string | Data source | “World Development Indicators” |
aggregation_method | string | WB aggregation method | “Weighted average” |
URL | string | Hyperlink at Trading Economics | “/aruba/real-interest-rate-percent-wb-data.html” |
Organization | string | WB Organization | “UNESCO Institute for Statistics” |
Unit | string | Unit of the data | “%” |
verbose_unit | string | WB Verbose Unit | “%” |
last_update | string | Time when new data was inserted or changed | “2023-04-07T09:38:20.24” |