Unnamed service
GET x402stock.xyz/api/v1/national-debt
Why an agent can trust this route.
Sonar evidence is advisory. Paid delivery is shown as verified only when paid probes are available; otherwise route estimates use the unpaid handshake as a clearly labeled proxy.
Observed outcomes
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
Resource: x402stock.xyz/api/v1/national-debt
Network: eip155:8453 · Asset: 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Pay to: 0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85
Payment methods: — · Last validation: 2026-09-13 23:06:21.558+00
{
"input": {
"type": "object",
"required": [
"type",
"method"
],
"properties": {
"type": {
"type": "string",
"const": "http"
},
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"limit"
],
"properties": {
"limit": {
"type": "integer",
"default": 30,
"maximum": 250,
"exclusiveMinimum": 0
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"output": {
"type": "object",
"required": [
"type"
],
"properties": {
"type": {
"type": "string"
},
"example": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"source",
"as_of",
"series",
"unit",
"latest",
"prior",
"change",
"change_percent",
"history"
],
"properties": {
"unit": {
"type": "string"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"prior": {
"anyOf": [
{
"type": "object",
"required": [
"date",
"total_public_debt_outstanding",
"debt_held_by_public",
"intragovernmental_holdings"
],
"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"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"change": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"latest": {
"anyOf": [
{
"type": "object",
"required": [
"date",
"total_public_debt_outstanding",
"debt_held_by_public",
"intragovernmental_holdings"
],
"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"
}
]
}
},
"additionalProperties": false
},
{
"type": "null"
}
]
},
"series": {
"type": "string"
},
"source": {
"type": "string",
"const": "us_treasury"
},
"history": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"total_public_debt_outstanding",
"debt_held_by_public",
"intragovernmental_holdings"
],
"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"
}
]
}
},
"additionalProperties": false
}
},
"change_percent": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
}
},
"additionalProperties": false
}
}
},
"paymentRequirements": [
{
"raw": {
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"extra": {
"name": "USD Coin",
"version": "2"
},
"payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
"amount": "10000",
"scheme": "exact",
"network": "eip155:8453",
"maxTimeoutSeconds": 300
},
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
"scheme": "exact",
"network": "eip155:8453",
"amountAtomic": "10000"
}
]
}Source catalog records are retained separately from live endpoint observations. Sonar score, uptime, and latency are advisory metrics. CDP indexing is not inferred from validation.