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
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
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
Field | Type | Description | Example |
---|---|---|---|
Symbol | string | Unique symbol used by Trading Economics | “ABW.FR.INR.RINR” |
Last | number | Latest released value | 12.22872 |
Date | string | Release time and date in UTC | “2020-06-15T00:00:00” |
Previous | number | Value for the previous period after the revision (if revision is applicable) | 1.10675 |
PreviousDate | string | Release time and date in UTC of the previous value | “2019-06-15T00:00:00” |
Country | string | Country name | “Mexico” |
Category | string | Category name | “Financial Sector” |
Description | string | Snapshot description | “Real interest rate (%)” |
Frequency | string | Frequency of the indicator | “yearly” |
Unit | string | Unit of the data | “%” |
Title | string | WB Series title | “Real interest rate” |
URL | string | Hyperlink at Trading Economics | “/aruba/real-interest-rate-percent-wb-data.html” |
last_update | string | Time when new data was inserted or changed | “2023-04-07T09:38:20.24” |
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” |
Symbol | string | Unique symbol used by Trading Economics | “ABW.FR.INR.RINR” |
Last | number | Latest released value | 12.22872 |
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” |
general_comments | string | WB general comments | “Data showing as 2.0 signifies a poverty rate…” |
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” |