Current total U
Current total U.S. national debt outstanding — how much the U.S. government owes right now — from the Treasury's 'Debt to the Penny' data: total public debt outstanding, debt held by the public, and intragovernmental holdings. Updated each business day by the U.S. Treasury.
1000 (raw units)
price
3
calls / 30d
3
unique payers
2026-09-08
updated
Provider
x402-seller.onrender.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xbd61dfb01f81c91f02b0ccd51b0220e0c8918639",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "1000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {},
"type": "http"
},
"output": {
"example": {
"date": "2026-07-17",
"debtHeldByPublic": 31816915417245.04,
"intragovernmentalHoldings": 7764933024899.34,
"source": "U.S. Department of the Treasury, Fiscal Data (Debt to the Penny)",
"totalDebt": 39581848442144.38,
"unit": "US dollars"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"date": {
"type": "string"
},
"debtHeldByPublic": {
"type": "number"
},
"intragovernmentalHoldings": {
"type": "number"
},
"source": {
"type": "string"
},
"totalDebt": {
"type": "number"
},
"unit": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://x402-seller.onrender.com/treasury/debt" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402-seller.onrender.com/treasury/debt");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://x402-seller.onrender.com/treasury/debt")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/1467.json, and this resource appears in /discovery/resources and /discovery/search.