National Debt API

GET

Track US national debt and public debt figures down to the penny.

National Debt provides real-time access to the US national debt (Debt to the Penny). It returns the total public debt, debt held by the public, intragovernmental holdings, and per-capita debt calculations.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/nationaldebt
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "date": "2026-09-14",
    "recordDate": "2026-09-14",
    "totalDebt": 40054421967786.91,
    "totalDebtFormatted": "$40.05 trillion",
    "publicDebt": 32358452350574.73,
    "publicDebtFormatted": "$32.36 trillion",
    "intragovernmentalDebt": 7695969617212.18,
    "intragovernmentalDebtFormatted": "$7.70 trillion",
    "perCapita": 119565,
    "perCapitaFormatted": "$119,565",
    "population": 335000000,
    "publicDebtRatio": 80.79,
    "perHousehold": 298913.6,
    "perHouseholdFormatted": "$298,914"
  }
}

About the National Debt API

National Debt sources data directly from the US Treasury Fiscal Data API, which is updated daily. Historical data is available back to 1993, enabling trend analysis and historical comparisons.

What people use it for

Financial Dashboards
Display real-time national debt figures on financial dashboards and economic monitoring tools
Economic Research
Analyze historical debt trends for economic research and policy analysis
Educational Tools
Build educational applications showing government debt and per-capita calculations
News Applications
Provide up-to-date debt figures for news and media applications

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use National Debt

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the National Debt API.

Read the docs →
How far back does historical debt data go?
Historical debt figures are available back to 1993. You can pass any specific date in YYYY-MM-DD format to retrieve historical figures, or omit the date to pull the latest daily data.
Is it cheap enough to query US debt figures on every dashboard load?
Yes. Each lookup costs 2 credits, which works out to about $0.0003 per call on the Starter plan, or $0.30 per 1,000 calls. Starter includes 200,000 credits, covering up to 100,000 requests each month. The Free plan includes 200 credits, giving you 100 monthly calls for testing.
Are per-capita and per-household debt estimates included on the Free plan?
No. Per-capita debt, per-household debt, and intragovernmental debt holdings are premium fields that require a paid plan. The Free plan provides total national debt, debt held by the public, and the public debt ratio.
Where does the national debt data come from?
Data is sourced directly from the US Treasury Fiscal Data API. Updates are published daily to reflect official Debt to the Penny records.
Can I display these debt figures in a commercial financial dashboard?
Yes, provided you are on a paid plan. Commercial use requires Starter or above, while the Free plan is strictly for non-commercial evaluation. You can present the data in your software or reports, but you cannot resell or redistribute the raw dataset.

Ready to build with National Debt? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs