Government
US national debt to the penny API
Return the latest US total public debt outstanding ('debt to the penny') from the keyless US Treasury FiscalData API, normalized to numeric fields (total public debt, debt held by public, intragovernmental holdings, record date). Answers 'what is the US national debt right now?','how much debt is held by the public?'.
Price$0.01per request
MethodPOST
Route/v1/gov/treasury-debt
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
govtreasurydebtnational-debtfiscalmacrousdeficit
API URL
Integration docshttps://x402.hexl.dev/v1/gov/treasury-debtExample request
{}Example response
{
"recordDate": "2026-06-02",
"totalPublicDebt": 39221984586285.3,
"debtHeldByPublic": 31597886394124.88,
"intragovernmentalHoldings": 7624098192160.42
}Input schema
{
"type": "object",
"required": [],
"properties": {}
}Output schema
{
"type": "object",
"additionalProperties": true
}