US national debt, Treasury data
US national debt, Treasury data. US national debt from the Treasury's Debt to the Penny dataset: total public debt outstanding, debt held by the public and intragovernmental holdings (USD) at the latest record date, the change over 1 day, 30 days and 1 year, and a daily history (1-365 days). US federal data, public domain; the snapshot's record date is in the answer. Use when an agent needs the current US federal debt figure, its trend, or a daily series for a chart or brief.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://agent-data-tools.revmesh2074.workers.dev/econ/national-debt
| Category | Everything else |
|---|---|
| Provider host | agent-data-tools.revmesh2074.workers.dev |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.01 | 675 ms |
| 2026-11-26 | valid payment request | 402 | $0.01 | 689 ms |
| 2026-11-25 | valid payment request | 402 | $0.01 | 291 ms |
| 2026-11-24 | valid payment request | 402 | $0.01 | 297 ms |
| 2026-11-23 | valid payment request | 402 | $0.01 | 385 ms |
| 2026-11-22 | valid payment request | 402 | $0.01 | 262 ms |
| 2026-11-21 | valid payment request | 402 | $0.01 | 297 ms |
| 2026-11-20 | valid payment request | 402 | $0.01 | 289 ms |
| 2026-11-19 | valid payment request | 402 | $0.01 | 20 ms |
| 2026-11-18 | valid payment request | 402 | $0.01 | 26 ms |
| 2026-11-17 | valid payment request | 402 | $0.01 | 24 ms |
| 2026-11-16 | valid payment request | 402 | $0.01 | 21 ms |
| 2026-11-15 | valid payment request | 402 | $0.01 | 22 ms |
| 2026-11-14 | valid payment request | 402 | $0.01 | 29 ms |
| 2026-11-13 | valid payment request | 402 | $0.01 | 18 ms |
| 2026-11-12 | valid payment request | 402 | $0.01 | 15 ms |
| 2026-11-11 | valid payment request | 402 | $0.01 | 41 ms |
| 2026-11-10 | valid payment request | 402 | $0.01 | 15 ms |
| 2026-11-09 | valid payment request | 402 | $0.01 | 18 ms |
| 2026-11-08 | valid payment request | 402 | $0.01 | 22 ms |
| 2026-11-07 | valid payment request | 402 | $0.01 | 18 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"days": 30
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"days": {
"description": "Days of daily history to return, 1-365 (default 30)",
"examples": [
30
],
"type": "integer"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"change": {
"properties": {
"d1": {
"properties": {
"amountUsd": {
"type": "number"
},
"percent": {
"type": "number"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"d30": {
"properties": {
"amountUsd": {
"type": "number"
},
"percent": {
"type": "number"
},
"since": {
"type": "string"
}
},
"type": "object"
},
"d365": {
"properties": {
"amountUsd": {
"type": "number"
},
"percent": {
"type": "number"
},
"since": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"dataset": {
"type": "string"
},
"datasetUrl": {
"type": "string"
},
"date": {
"type": "string"
},
"debtHeldByPublicUsd": {
"type": "number"
},
"fiscalYear": {
"type": "number"
},
"history": {
"items": {
"properties": {
"date": {
"type": "string"
},
"debtHeldByPublicUsd": {
"type": "number"
},
"intragovernmentalHoldingsUsd": {
"type": "number"
},
"totalPublicDebtUsd": {
"type": "number"
}
},
"type": "object"
},
"type": "array"
},
"intragovernmentalHoldingsUsd": {
"type": "number"
},
"snapshotAt": {
"type": "string"
},
"source": {
"type": "string"
},
"totalPublicDebtUsd": {
"type": "number"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}