List Category and Series Code

The World Bank’s Development Data manages macro, financial, and sector databases, ensuring data quality and integrity. Collaborating closely with the Bank’s regions and Global Practices, the group upholds professional standards in data collection and dissemination, fostering confidence in users

List main categories

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/worldbank/categories?c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

import tradingeconomics as te
te.login('your_api_key')
te.getWBCategories(category = None)

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/worldbank/categories?c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getworldbank().then(function(data){
  console.log(data)       
});

Using Requests:

using (var httpClient = new HttpClient())
{
    using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/worldbank/categories?c=your_api_key"))
    {
        request.Headers.TryAddWithoutValidation("Upgrade-Insecure-Requests", "1");
        var response = await httpClient.SendAsync(request);
        if (response.IsSuccessStatusCode)
        {
            var content = await response.Content.ReadAsStringAsync(); 
            Console.WriteLine(content);
        }
    }
}

The response data format can be configured by appending the &f= parameter to the URL request.

/worldbank/categories

Category
Agriculture & Rural Development
Aid Effectiveness
Climate Change

/worldbank/categories?f=json

[{"Category":"Agriculture & Rural Development"},{"Category":"Aid Effectiveness"},{"Category":"Climate Change"}]

/worldbank/categories?f=csv

Category
Agriculture & Rural Development
Aid Effectiveness
Climate Change

/worldbank/categories?f=xml

<ArrayOfWorldbankCategory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<WorldbankCategory>
<Category>Agriculture & Rural Development</Category>
</WorldbankCategory>
<WorldbankCategory>
<Category>Aid Effectiveness</Category>
</WorldbankCategory>
<WorldbankCategory>
<Category>Climate Change</Category>
</WorldbankCategory>
</ArrayOfWorldbankCategory>

List series code by main category

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/worldbank/category/Education?c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

te.getWBCategories(category = 'education')

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/worldbank/category/Education?c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getworldbank(category = 'education').then(function(data){
  console.log(data)       
});

Using Requests:

using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/worldbank/category/Education?c=your_api_key"))

/worldbank/category/{category}

Category
Agriculture & Rural Development
Aid Effectiveness
Climate Change
Series_codeSeries_nameCategorySymbolLastSub_categorySub_category2Sub_category3TitleLong_definitionShort_definitionSourceGeneral_commentsAggregation_methodURLOrganizationUnitVerbose_unitLast_update
SE.ADT.1524.LT.FE.ZS“Literacy rate, youth female (% of females ages 15-24)”EducationEducationGender“Literacy rate, youth female (% of females ages 15-24)”Youth literacy rate is the percentage of people…“Youth literacy rate is the percentage of people ages 15-24 who can, with understanding…”World Development IndicatorsWeighted average/country-list/literacy-rate-youth-female-percent-of-females-ages-15-24-wb-data.htmlUNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.%%11/5/2022 5:21:56 AM
SE.ADT.1524.LT.FM.ZS“Literacy rate, youth (ages 15-24), gender parity index (GPI)”EducationEducationGenderSocial DevelopmentRatio of young literate females to males (% ages 15-24)Gender parity index for youth literacy rate is the…“Ratio of young literate females to males is the percentage…”World Development IndicatorsWeighted average/country-list/ratio-of-young-literate-females-to-males-percent-ages-15-24-wb-data.htmlUNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.%%11/5/2022 5:21:58 AM
SE.ADT.1524.LT.MA.ZS“Literacy rate, youth male (% of males ages 15-24)”EducationEducationGender“Literacy rate, youth male (% of males ages 15-24)”Youth literacy rate is the percentage of people…“Youth literacy rate is the percentage of people ages 15-24 who can, with understanding…”World Development IndicatorsWeighted average/country-list/literacy-rate-youth-male-percent-of-males-ages-15-24-wb-data.htmlUNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.%%1/5/2022 5:22:00 AM

/worldbank/category/{category}?f=json

[{"Series_code":"SE.ADT.1524.LT.FE.ZS","Series_name":"Literacy rate, youth female (% of females ages 15-24)","Category":"Education","Sub_category":"Education ","Sub_category2":"Gender","Title":"Literacy rate, youth female (% of females ages 15-24)","Long_definition":"Youth literacy rate is the percentage of people ages 15-24 who can both read and write with understanding a short simple statement about their everyday life.","Short_definition":"Youth literacy rate is the percentage of people ages 15-24 who can, with understanding, read and write a short, simple statement on their everyday life.","Source":"World Development Indicators","Aggregation_method":"Weighted average","URL":"/country-list/literacy-rate-youth-female-percent-of-females-ages-15-24-wb-data.html                                                                                                                                                                       ","Organization":"UNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.","Unit":"%","Verbose_unit":"%","Last_update":"2022-11-05T05:21:56.62"},{"Series_code":"SE.ADT.1524.LT.FM.ZS","Series_name":"Literacy rate, youth (ages 15-24), gender parity index (GPI)","Category":"Education","Sub_category":"Education ","Sub_category2":"Gender","Sub_category3":"Social Development ","Title":"Ratio of young literate females to males (% ages 15-24)","Long_definition":"Gender parity index for youth literacy rate is the ratio of females to males ages 15-24 who can both read and write with understanding a short simple statement about their everyday life.","Short_definition":"Ratio of young literate females to males is the percentage of females to males ages 15-24 who can, with understanding, read and write a short, simple statement on their everyday life.","Source":"World Development Indicators","Aggregation_method":"Weighted average","URL":"/country-list/ratio-of-young-literate-females-to-males-percent-ages-15-24-wb-data.html                                                                                                                                                                    ","Organization":"UNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.","Unit":"%","Verbose_unit":"%","Last_update":"2022-11-05T05:21:58.63"},{"Series_code":"SE.ADT.1524.LT.MA.ZS","Series_name":"Literacy rate, youth male (% of males ages 15-24)","Category":"Education","Sub_category":"Education ","Sub_category2":"Gender","Title":"Literacy rate, youth male (% of males ages 15-24)","Long_definition":"Youth literacy rate is the percentage of people ages 15-24 who can both read and write with understanding a short simple statement about their everyday life.","Short_definition":"Youth literacy rate is the percentage of people ages 15-24 who can, with understanding, read and write a short, simple statement on their everyday life.","Source":"World Development Indicators","Aggregation_method":"Weighted average","URL":"/country-list/literacy-rate-youth-male-percent-of-males-ages-15-24-wb-data.html                                                                                                                                                                           ","Organization":"UNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.","Unit":"%","Verbose_unit":"%","Last_update":"2022-11-05T05:22:00.637"}]

/worldbank/category/{category}?f=csv

Series_code,Series_name,Category,Symbol,Last,Sub_category,Sub_category2,Sub_category3,Title,Long_definition,Short_definition,Source,General_comments,Aggregation_method,URL,Organization,Unit,Verbose_unit,Last_update
SE.ADT.1524.LT.FE.ZS,"Literacy rate, youth female (% of females ages 15-24)",Education,,,Education ,Gender,,"Literacy rate, youth female (% of females ages 15-24)",Youth literacy rate is the percentage of people ages 15-24 who can both read and write with understanding a short simple statement about their everyday life.,"Youth literacy rate is the percentage of people ages 15-24 who can, with understanding, read and write a short, simple statement on their everyday life.",World Development Indicators,,Weighted average,/country-list/literacy-rate-youth-female-percent-of-females-ages-15-24-wb-data.html ,UNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.,%,%,11/5/2022 5:21:56 AM
SE.ADT.1524.LT.FM.ZS,"Literacy rate, youth (ages 15-24), gender parity index (GPI)",Education,,,Education ,Gender,Social Development ,Ratio of young literate females to males (% ages 15-24),Gender parity index for youth literacy rate is the ratio of females to males ages 15-24 who can both read and write with understanding a short simple statement about their everyday life.,"Ratio of young literate females to males is the percentage of females to males ages 15-24 who can, with understanding, read and write a short, simple statement on their everyday life.",World Development Indicators,,Weighted average,/country-list/ratio-of-young-literate-females-to-males-percent-ages-15-24-wb-data.html,UNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.,%,%,11/5/2022 5:21:58 AM
SE.ADT.1524.LT.MA.ZS,"Literacy rate, youth male (% of males ages 15-24)",Education,,,Education ,Gender,,"Literacy rate, youth male (% of males ages 15-24)",Youth literacy rate is the percentage of people ages 15-24 who can both read and write with understanding a short simple statement about their everyday life.,"Youth literacy rate is the percentage of people ages 15-24 who can, with understanding, read and write a short, simple statement on their everyday life.",World Development Indicators,,Weighted average,/country-list/literacy-rate-youth-male-percent-of-males-ages-15-24-wb-data.html,UNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.,%,%,11/5/2022 5:22:00 AM

/worldbank/category/{category}?f=xml

<ArrayOfWorldbankCategories xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<WorldbankCategories>
<Aggregation_method>Weighted average</Aggregation_method>
<Category>Education</Category>
<Last_update>2022-11-05T05:21:56.62</Last_update>
<Long_definition>Youth literacy rate is the percentage of people ages 15-24 who can both read and write with understanding a short simple statement about their everyday life.</Long_definition>
<Organization>UNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.</Organization>
<Series_code>SE.ADT.1524.LT.FE.ZS</Series_code>
<Series_name>Literacy rate, youth female (% of females ages 15-24)</Series_name>
<Short_definition>Youth literacy rate is the percentage of people ages 15-24 who can, with understanding, read and write a short, simple statement on their everyday life.</Short_definition>
<Source>World Development Indicators</Source>
<Sub_category>Education </Sub_category>
<Sub_category2>Gender</Sub_category2>
<Title>Literacy rate, youth female (% of females ages 15-24)</Title>
<URL>/country-list/literacy-rate-youth-female-percent-of-females-ages-15-24-wb-data.html </URL>
<Unit>%</Unit>
<Verbose_unit>%</Verbose_unit>
</WorldbankCategories>
<WorldbankCategories>
<Aggregation_method>Weighted average</Aggregation_method>
<Category>Education</Category>
<Last_update>2022-11-05T05:21:58.63</Last_update>
<Long_definition>Gender parity index for youth literacy rate is the ratio of females to males ages 15-24 who can both read and write with understanding a short simple statement about their everyday life.</Long_definition>
<Organization>UNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.</Organization>
<Series_code>SE.ADT.1524.LT.FM.ZS</Series_code>
<Series_name>Literacy rate, youth (ages 15-24), gender parity index (GPI)</Series_name>
<Short_definition>Ratio of young literate females to males is the percentage of females to males ages 15-24 who can, with understanding, read and write a short, simple statement on their everyday life.</Short_definition>
<Source>World Development Indicators</Source>
<Sub_category>Education </Sub_category>
<Sub_category2>Gender</Sub_category2>
<Sub_category3>Social Development </Sub_category3>
<Title>Ratio of young literate females to males (% ages 15-24)</Title>
<URL>/country-list/ratio-of-young-literate-females-to-males-percent-ages-15-24-wb-data.html </URL>
<Unit>%</Unit>
<Verbose_unit>%</Verbose_unit>
</WorldbankCategories>
<WorldbankCategories>
<Aggregation_method>Weighted average</Aggregation_method>
<Category>Education</Category>
<Last_update>2022-11-05T05:22:00.637</Last_update>
<Long_definition>Youth literacy rate is the percentage of people ages 15-24 who can both read and write with understanding a short simple statement about their everyday life.</Long_definition>
<Organization>UNESCO Institute for Statistics (http://uis.unesco.org/). Data as of June 2022.</Organization>
<Series_code>SE.ADT.1524.LT.MA.ZS</Series_code>
<Series_name>Literacy rate, youth male (% of males ages 15-24)</Series_name>
<Short_definition>Youth literacy rate is the percentage of people ages 15-24 who can, with understanding, read and write a short, simple statement on their everyday life.</Short_definition>
<Source>World Development Indicators</Source>
<Sub_category>Education </Sub_category>
<Sub_category2>Gender</Sub_category2>
<Title>Literacy rate, youth male (% of males ages 15-24)</Title>
<URL>/country-list/literacy-rate-youth-male-percent-of-males-ages-15-24-wb-data.html </URL>
<Unit>%</Unit>
<Verbose_unit>%</Verbose_unit>
</WorldbankCategories>
</ArrayOfWorldbankCategories>

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”