---
title: "GetNationalDebt"
method: GET
path: "/api/economic/v1/get-national-debt"
tags: ["EconomicService"]
---

# GetNationalDebt

`GET /api/economic/v1/get-national-debt`

## Request

- Base URL: `https://api.worldmonitor.app`
- URL: `https://api.worldmonitor.app/api/economic/v1/get-national-debt`
- Auth: one of:
  - API key in header `X-WorldMonitor-Key`
  - API key in header `X-Api-Key`

GetNationalDebt retrieves national debt clock data for all countries.

## Query parameters

- `jmespath` string

## Response `200`

OK

- WorldmonitorEconomicV1GetNationalDebtResponse: GetNationalDebtResponse wraps the full list of national debt entries.
  - `entries` WorldmonitorEconomicV1NationalDebtEntry[]
    - `iso3` string: ISO3 country code (e.g. "USA").
    - `debtUsd` number, double: Total debt in USD at baseline_ts.
    - `gdpUsd` number, double: GDP in USD (nominal, latest year).
    - `debtToGdp` number, double: Debt as % of GDP.
    - `annualGrowth` number, double: Year-over-year debt growth percent (2023->2024).
    - `perSecondRate` number, double: Deficit-derived accrual in USD per second.
    - `perDayRate` number, double: Deficit-derived accrual in USD per day.
    - `baselineTs` string, int64: UTC ms timestamp anchoring the debt_usd figure (2024-01-01T00:00:00Z).
    - `source` string: Human-readable source string.
  - `seededAt` string: ISO 8601 timestamp when seed data was written.
  - `unavailable` WM53 (unresolved $ref)

## Other responses

- `400`: Validation error
- `401`: Missing or invalid API key.
- `403`: API access requires an active subscription (the API key's subscription is inactive or expired).
- `429`: Rate limit exceeded.
- `503`: Service unavailable. Billing-verification responses include code and X-Billing-Verification; other gateway infrastructure failures use the generic GatewayError shape.
- `default`: Gateway or handler error response.

---

[API](https://skmtc.dev/worldmonitor/apis/worldmonitor-api.md) · [All operations](https://skmtc.dev/worldmonitor/apis/worldmonitor-api/llms.txt) · [OpenAPI document](https://skmtc.dev/worldmonitor/apis/worldmonitor-api/revisions/e3dc8463a5c9?raw)
