General government gross debt
Gross debt consists of all liabilities that require payment or payments of interest and/or principal by the debtor to the creditor at a date or dates in the future. This includes debt liabilities in the form of SDRs, currency and deposits, debt securities, loans, insurance, pensions and standardized guarantee schemes, and other accounts payable. Thus, all liabilities in the GFSM 2001 system are debt, except for equity and investment fund shares and financial derivatives and employee stock options. Debt can be valued at current market, nominal, or face values (GFSM 2001, paragraph 7.110).
Quality
Attribution
International Monetary Fund (IMF DataMapper)
Schema
| Column | Type | Description |
|---|---|---|
| country_code | string | IMF country code (ISO 3166-1 alpha-3). |
| country_name | string | Country label from the IMF DataMapper country list. |
| year | integer | Calendar year of the observation. |
| value | float | Indicator value for the country and year, as defined by the IMF World Economic Outlook (see the dataset description). Missing values are null. (unit: % of GDP) |
Sample rows
| country_code | country_name | year | value |
|---|---|---|---|
| ABW | Aruba | 1995 | 55.1 |
| ABW | Aruba | 1996 | 54.8 |
| ABW | Aruba | 1997 | 51.1 |
| ABW | Aruba | 1998 | 41 |
| ABW | Aruba | 1999 | 39.3 |
Use with an LLM
Point any LLM at the metadata endpoint — the documentation above is machine-readable too (JSON-LD + Croissant).
cURL
curl "https://datazimuts.com/v1/datasets/imf/imf_government_debt" | jq '{title, rows, columns_count, license}'Python
import requests
ds = requests.get("https://datazimuts.com/v1/datasets/imf/imf_government_debt").json()
print(ds["title"], ds["rows"], "rows")
# Sample rows for an LLM context window
for row in ds.get("sample_rows", [])[:5]:
print(row)API endpoint: https://datazimuts.com/v1/datasets/imf/imf_government_debt
Tip: fetch /llms.txt for the full machine-readable catalog.