Skip to content
Eden Engine

U.S. National Debt to the Penny (Daily Total Public Debt Outstanding)

fiscaldata/debt-to-the-penny

The U.S. national debt as the Treasury reports it each business day, to the penny: total public debt outstanding, debt held by the public, and intragovernmental holdings, in dollars. Newest first: give a start and end date for any span back to 1 April 1993, or only a limit for the latest days. Taken directly from the U.S. Treasury's Fiscal Data API (Debt to the Penny).

activeper callv2

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.00.

Data source

U.S. Department of the Treasury (Fiscal Data)

Data from the U.S. Department of the Treasury, Bureau of the Fiscal Service (Fiscal Data, fiscaldata.treasury.gov), offered without restriction per fiscaldata.treasury.gov/api-documentation.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "fiscaldata/debt-to-the-penny" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "fiscaldata/debt-to-the-penny" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "fiscaldata/debt-to-the-penny", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "fiscaldata/debt-to-the-penny", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not 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.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "limit"
  ],
  "properties": {
    "page": {
      "type": "integer",
      "default": 1,
      "maximum": 10000,
      "minimum": 1,
      "description": "Which page of `limit` records to return, starting at 1. A page past the last one is an error; meta.total-pages says how many there are."
    },
    "limit": {
      "type": "integer",
      "maximum": 1000,
      "minimum": 1,
      "description": "How many records to return, newest first, 1 to 1000. 30 is about six weeks of business days."
    },
    "end_date": {
      "type": "string",
      "default": "9999-12-31",
      "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
      "description": "Latest record date to include, YYYY-MM-DD. The default, 9999-12-31, means no upper bound. Use the same date as start_date to read one day."
    },
    "start_date": {
      "type": "string",
      "default": "1993-04-01",
      "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])$",
      "description": "Earliest record date to include, YYYY-MM-DD. Defaults to 1993-04-01, the first day the Treasury reports. Weekends and federal holidays have no record."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "data",
    "meta"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "record_date",
          "debt_held_public_amt",
          "intragov_hold_amt",
          "tot_pub_debt_out_amt"
        ],
        "properties": {
          "record_date": {
            "type": "string",
            "description": "The business day, YYYY-MM-DD."
          },
          "intragov_hold_amt": {
            "type": "string",
            "description": "Intragovernmental holdings (debt the government owes its own trust funds), in dollars, as a decimal string. The Treasury did not publish this split before 2005-03-31: on records dated 1993-04-01 to 2005-03-30 this field is the literal string \"null\". Check for that before parsing it as a number."
          },
          "debt_held_public_amt": {
            "type": "string",
            "description": "Debt held by the public, in dollars, as a decimal string (for example 32538236547452.08). The Treasury did not publish this split before 2005-03-31: on records dated 1993-04-01 to 2005-03-30 this field is the literal string \"null\". Check for that before parsing it as a number."
          },
          "tot_pub_debt_out_amt": {
            "type": "string",
            "description": "Total public debt outstanding, in dollars, as a decimal string. Equals the two figures above added together."
          }
        },
        "additionalProperties": true
      },
      "description": "One record per business day. Empty when no record falls in the range."
    },
    "meta": {
      "type": "object",
      "required": [
        "count",
        "total-count",
        "total-pages"
      ],
      "properties": {
        "count": {
          "type": "integer",
          "description": "How many records this page holds."
        },
        "labels": {
          "type": "object",
          "description": "Human-readable name of each column."
        },
        "dataTypes": {
          "type": "object",
          "description": "The Treasury's type name for each column."
        },
        "dataFormats": {
          "type": "object",
          "description": "The Treasury's display format for each column."
        },
        "total-count": {
          "type": "integer",
          "description": "How many records match the date range in all, across every page."
        },
        "total-pages": {
          "type": "integer",
          "description": "How many pages of `limit` records the whole range makes."
        }
      },
      "additionalProperties": true
    },
    "links": {
      "type": "object",
      "description": "Treasury's own self, first, prev, next and last page links."
    }
  },
  "description": "The Treasury's response: the records, newest first, and a meta block with the match count.",
  "additionalProperties": true
}