Skip to content
Docs
Get API key
World Bank

World Bank Categories and Series Codes

Use the following API endpoints to list all World Bank categories and series codes available.

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:

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

Or using our package:

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

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

Text
https://api.tradingeconomics.com/worldbank/categories?c={your_api_key}&f=json
JSON
[
  {
    "Category": "Agriculture & Rural Development"
  },
  {
    "Category": "Aid Effectiveness"
  },
  {
    "Category": "Climate Change"
  }
]

List series code by main category

Using Requests:

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

Or using our package:

Python
te.getWBCategories(category = 'education')
Text
https://api.tradingeconomics.com/worldbank/category/{category}?c={your_api_key}&f=json
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"
  }
]

Response fields

Fields in ‘List main categories’

FieldTypeDescriptionExample
CategorystringName of the main category“Agriculture & Rural Development”

Fields in ‘By main category’

FieldTypeDescriptionExample
series_codestringWorld Bank unique symbol for the data series“SE.ADT.1524.LT.FE.ZS”
series_namestringName of the series from World Bank“Literacy rate, youth female (% of females ages 15-24)”
CategorystringMain category of the series“Financial Sector”
sub_categorystringFirst-level subcategory“Education”
sub_category2stringSecond-level subcategory“Gender”
sub_category3stringThird-level subcategory“Social Development”
TitlestringSeries title“Real interest rate”
long_definitionstringDetailed description of the series“Gender parity index for youth literacy rate is…”
short_definitionstringBrief description of the series“Ratio of young literate females to males is the…”
SourcestringOriginal data source“World Development Indicators”
aggregation_methodstringMethod used to aggregate the data“Weighted average”
URLstringTrading Economics link to the series“/aruba/real-interest-rate-percent-wb-data.html”
OrganizationstringOrganization responsible for the data“UNESCO Institute for Statistics”
UnitstringUnit of the data“%”
verbose_unitstringExpanded description of the unit“%”
last_updatestringDate and time when the series was last updated“2023-04-07T09:38:20.24”