US National Debt, Daily History Between Two Dates (TreasuryDirect)
treasurydirect/national-debt-history
The US national debt on every business day between two dates, from 1993 to the latest published day: total public debt outstanding in US dollars, split (from 31 March 2005 onward) into debt held by the public and intragovernmental holdings. Newest day first. A range with no business day, or an end before the start, returns an empty list. A long range is a large response: the whole series from 1993 is about 1.1 MB. U.S. Department of the Treasury data, passed through unmodified and served by Eden Engine; not an official Treasury product.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.
Data source
U.S. Department of the Treasury (Fiscal Data)
Data from the U.S. Department of the Treasury, Bureau of the Fiscal Service (TreasuryDirect web APIs, treasurydirect.gov), used under its web API terms at treasurydirect.gov/legal-information/developers/web-api-terms. Served by Eden Engine; not an official U.S. Department of the Treasury product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "treasurydirect/national-debt-history" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "treasurydirect/national-debt-history" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "treasurydirect/national-debt-history", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "treasurydirect/national-debt-history", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 20, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"start_date",
"end_date"
],
"properties": {
"end_date": {
"type": "string",
"pattern": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"description": "Last day of the range, YYYY-MM-DD, inclusive. Days after the latest published figure return nothing."
},
"start_date": {
"type": "string",
"pattern": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
"description": "First day of the range, YYYY-MM-DD, inclusive. The series begins 1993-01-04; earlier dates simply return nothing."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"entries"
],
"properties": {
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"effectiveDate",
"totalDebt"
],
"properties": {
"totalDebt": {
"type": "number",
"description": "Total public debt outstanding that day, in US dollars with cents. Present on every row."
},
"publicDebt": {
"type": [
"number",
"null"
],
"description": "Debt held by the public, in US dollars. null on every row before 2005-03-31, when the Treasury did not publish the split."
},
"effectiveDate": {
"type": "string",
"description": "The business day, as the Treasury writes it: 'January 9, 2026 EST'. Not an ISO date."
},
"governmentHoldings": {
"type": [
"number",
"null"
],
"description": "Intragovernmental holdings, in US dollars. null on every row before 2005-03-31."
}
},
"additionalProperties": true
}
}
},
"description": "One entry per business day in the range, newest first. Empty when the range holds no business day.",
"additionalProperties": true
}