DataBrighten

    Short-term debt (% of exports of goods, services and primary income)

    4,459 × 6rows × columns: 119 countries, 1970 to 2024

    Real data: World Bank, World Development Indicators, indicator DT.DOD.DSTC.XP.ZS, retrieved 19 November 2026. Values are as published; we only reshaped the file.

    textnumberdateyes/no
    Rows4,459country-year values
    Countries119with at least one value
    Years1970 – 202455 years with data
    LicenceCC BY 4.0credit the World Bank

    What it measures

    Short-term external debt is defined as debt that has an original maturity of one year or less. Available data permit no distinction between public and private nonguaranteed short-term debt. Exports of goods, services and primary income is the sum of goods (merchandise) exports, exports of (nonfactor) services and income (factor) receipts.

    The numbers in 2024

    In 2024, 99 countries have a value. The highest is Sudan (139.8); at the bottom, 4 countries tie at 0 (e.g. Bhutan, Burkina Faso, Liberia). The median country value is 13.29.

    Top 10 countries, 2024

    % of exports of goods, services and primary income

    Source: World Bank, DT.DOD.DSTC.XP.ZS, retrieved 19 November 2026. Computed from short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv.

    Highest, 2024

    #CountryValue
    1Sudan139.8
    2Tunisia75.71
    3Dominica75.05
    4Jordan72.1
    5Mauritius57.08
    6Zimbabwe48.01
    7Argentina47.04
    8Turkiye46.37
    9Egypt, Arab Rep.46.27
    10Nigeria36.19

    Lowest, 2024

    Ties are listed A to Z.

    #CountryValue
    1Tonga0
    2Liberia0
    3Burkina Faso0
    4Bhutan0
    5Timor-Leste0.148
    6Lesotho0.202
    7Guinea-Bissau0.225
    8Azerbaijan0.595
    9Iraq0.627
    10Mali0.674
    How many countries report, by decade
    DecadeMost countries in one year
    1970s59
    1980s78
    1990s90
    2000s110
    2010s114
    2020s111

    By region, 2024

    World Bank regionValue
    Sub-Saharan Africa 22.8
    South Asia16.6
    Latin America & Caribbean 15.4

    First rows

    short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv

    countrytextiso3textregiontextincome_grouptextyearnumbervaluenumber
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20080.921137595073863
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20090.969679683785938
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20103.82537103357233
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20112.51643907547447
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20124.56420158819098
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20136.68289910286655
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income20147.99432260271021
    AfghanistanAFGMiddle East, North Africa, Afghanistan & PakistanLow income201516.8868553044412

    Data dictionary

    ColumnTypeMeaning
    countrytextCountry or economy, World Bank name
    iso3textISO 3166-1 alpha-3 code
    regiontextWorld Bank region
    income_grouptextWorld Bank income group
    yearnumberCalendar year of the value
    valuenumberShort-term debt (% of exports of goods, services and primary income), exactly as the World Bank API returns it (not rounded)

    Only country-years with a value are in the long file; blank cells in the wide file mean no value was published.

    Practice questions

    answers computed from the file

    Which country has the highest value in 2024?

    Sudan, with 139.8.

    Excel (on the long CSV: E = year, F = value)

    =FILTER(A2:A100000,(E2:E100000=2024)*(F2:F100000=MAXIFS(F2:F100000,E2:E100000,2024)))

    SQL (table wb = the CSV)

    SELECT country, value FROM wb WHERE year = 2024
      AND value = (SELECT MAX(value) FROM wb WHERE year = 2024);

    pandas (df = pd.read_csv("short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv"))

    y = df[df.year == 2024]
    y[y.value == y.value.max()][["country", "value"]]

    File: short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv

    How many countries report a value for 2024?

    99 of the 217 economies in the file's country list.

    Excel (on the long CSV: E = year, F = value)

    =COUNTIF(E2:E100000,2024)

    SQL (table wb = the CSV)

    SELECT COUNT(*) FROM wb WHERE year = 2024;

    pandas (df = pd.read_csv("short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv"))

    (df.year == 2024).sum()

    File: short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv

    What is the median across countries in 2024?

    13.29 (median of the 99 country values; not a World Bank aggregate).

    Excel (on the long CSV: E = year, F = value)

    =MEDIAN(FILTER(F2:F100000,E2:E100000=2024))

    SQL (table wb = the CSV)

    -- SQLite has no MEDIAN(); this picks the middle value(s)
    SELECT AVG(value) FROM (SELECT value FROM wb WHERE year = 2024 ORDER BY value
      LIMIT 2 - (SELECT COUNT(*) FROM wb WHERE year = 2024) % 2
      OFFSET (SELECT (COUNT(*) - 1) / 2 FROM wb WHERE year = 2024));

    pandas (df = pd.read_csv("short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv"))

    df[df.year == 2024]["value"].median()

    File: short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv

    Which country rose the most between 2014 and 2024?

    Sudan: from 87.95 to 139.8, a rise of 51.83 (out of 98 countries with both years).

    Excel (on the long CSV: E = year, F = value)

    Use the wide file (short-term-debt-percent-of-exports-of-goods-services-and-primary-income-wide.csv): add a column = [2024] - [2014], then sort it largest to smallest.

    SQL (table wb = the CSV)

    SELECT a.country, b.value - a.value AS rise FROM wb a JOIN wb b ON a.iso3 = b.iso3
    WHERE a.year = 2014 AND b.year = 2024 ORDER BY rise DESC LIMIT 1;

    pandas (df = pd.read_csv("short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv"))

    w = df.pivot(index="country", columns="year", values="value")
    (w[2024] - w[2014]).dropna().nlargest(1)

    File: short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv

    Which year has the most countries reporting?

    2015, with 114 countries. (Later years are still filling in as countries report.)

    Excel (on the long CSV: E = year, F = value)

    Make a pivot table: year in Rows, Count of value in Values, then sort by the count.

    SQL (table wb = the CSV)

    SELECT year, COUNT(*) AS n FROM wb GROUP BY year ORDER BY n DESC, year DESC LIMIT 1;

    pandas (df = pd.read_csv("short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv"))

    df.groupby("year").size().sort_values(ascending=False).head(1)

    File: short-term-debt-percent-of-exports-of-goods-services-and-primary-income.csv