debt-data

Accessing International Debt Statistics (IDS) through the World Bank Data API

Use the step-by-step guides below to learn how to access the International Debt Statistics (IDS) database using the World Bank Data API. The guides are available in Python and R. You will learn how to query the World Bank Data API to retrieve the source ID for International Debt Statistics, the corresponding indicators, and available countries, regions, or income level categories.

For readability and ease of access, the links below take you to the GitHub Page for each guide.

Part 1 - Query the API: Indicators and locations:

Python Guide
R Guide

Part 2 - Get and explore the data:

Python Guide
R Guide