Total US public debt outstanding from the official Treasury Debt to the Penny dataset (Fis
Total US public debt outstanding from the official Treasury Debt to the Penny dataset (FiscalData API, published every business day ~3pm ET). Query: no params -> latest data point; ?limit=30 (1-100, newest first) and ?since=2026-01-01 (record_date floor) for history back to 1993. Returns per day the debt held by the public, intragovernmental holdings and total, in USD. Cached 6h.
2000 (raw units)
price
2
calls / 30d
2
unique payers
2026-09-08
updated
Provider
data.greeneris.io · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x6ab8efe305cce67daa48c97bde29c04402822dff",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"limit": 2
},
"type": "http"
},
"output": {
"example": {
"count": 1,
"records": [
{
"debt_held_by_public_usd": 31709399350223.4,
"intragovernmental_holdings_usd": 7704779665906.69,
"record_date": "2026-07-09",
"total_public_debt_usd": 39414179016130.09
}
],
"source": "US Treasury FiscalData API, Debt to the Penny (daily on business days, public domain)"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"properties": {
"limit": {
"default": 1,
"description": "Max records, newest first (1-100)",
"type": "integer"
},
"since": {
"description": "Only records with record_date >= this ISO date",
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://data.greeneris.io/v1/us/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://data.greeneris.io/v1/us/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://data.greeneris.io/v1/us/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/3921.json, and this resource appears in /discovery/resources and /discovery/search.