The total US public debt outstanding to the penny — the headline national-debt figure —…
The total US public debt outstanding to the penny — the headline national-debt figure — split into debt held by the public and intragovernmental holdings, with the latest value, prior business day, day-over-day change, and recent history. No ticker needed. Up…
by x402stock.xyz · discovered, not yet claimed by its owner · updated 2026-10-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
The total US public debt outstanding to the penny — the headline national-debt figure — split into debt held by the public and intragovernmental holdings, with the latest value, prior business day, day-over-day change, and recent history. No ticker needed. Updates each business day. Sourced from the US Treasury (FiscalData). Pass `?limit=` for more history (default 30, max 250). From x402stock
Tags: bazaar
Call contract
- Method
- GET
- Input
- query parameters
- Output
- json
- Last paid call
- 2026-10-08
{
"limit": 30
}{
"as_of": "2026-06-03T00:00:00.000Z",
"change": -17009871036.65,
"change_percent": -0.0434,
"history": [
{
"date": "2026-06-03",
"debt_held_by_public": 31599703500408.55,
"intragovernmental_holdings": 7605271214840.1,
"total_public_debt_outstanding": 39204974715248.65
}
],
"latest": {
"date": "2026-06-03",
"debt_held_by_public": 31599703500408.55,
"intragovernmental_holdings": 7605271214840.1,
"total_public_debt_outstanding": 39204974715248.65
},
"prior": {
"date": "2026-06-02",
"debt_held_by_public": 31597886394124.88,
"intragovernmental_holdings": 7624098192160.42,
"total_public_debt_outstanding": 39221984586285.3
},
"series": "debt_to_penny",
"source": "us_treasury",
"unit": "usd"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/39906.jsonfor the price and payment options. - Pay. Call
GET https://x402stock.xyz/api/v1/national-debt. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.01 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 6 calls · 5 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.01 | 0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85 | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"amountUsd": 0.01,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"change": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"change_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"history": {
"items": {
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"debt_held_by_public": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"intragovernmental_holdings": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"total_public_debt_outstanding": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"date",
"total_public_debt_outstanding",
"debt_held_by_public",
"intragovernmental_holdings"
],
"type": "object"
},
"type": "array"
},
"latest": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"debt_held_by_public": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"intragovernmental_holdings": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"total_public_debt_outstanding": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"date",
"total_public_debt_outstanding",
"debt_held_by_public",
"intragovernmental_holdings"
],
"type": "object"
},
{
"type": "null"
}
]
},
"prior": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"debt_held_by_public": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"intragovernmental_holdings": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"total_public_debt_outstanding": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"required": [
"date",
"total_public_debt_outstanding",
"debt_held_by_public",
"intragovernmental_holdings"
],
"type": "object"
},
{
"type": "null"
}
]
},
"series": {
"type": "string"
},
"source": {
"const": "us_treasury",
"type": "string"
},
"unit": {
"type": "string"
}
},
"required": [
"source",
"as_of",
"series",
"unit",
"latest",
"prior",
"change",
"change_percent",
"history"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"as_of": null,
"change": null,
"change_percent": null,
"history": [
{
"date": "string",
"debt_held_by_public": null,
"intragovernmental_holdings": null,
"total_public_debt_outstanding": null
}
],
"latest": null,
"prior": null,
"series": "string",
"source": "string",
"unit": "string"
},
"type": "string"
}Examples
curl "https://x402stock.xyz/api/v1/national-debt"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://x402stock.xyz/api/v1/national-debt");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://x402stock.xyz/api/v1/national-debt")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- x402stock.xyz
- Endpoint
- https://x402stock.xyz/api/v1/national-debt
- Machine-readable
/resources/39906.json