Treasury Debt
economic__treasury-debtFetch US national debt data from the Treasury Fiscal Data API to analyze total public debt and debt held by the public with historical data from 1993.
Instructions
[Economic & Financial Data Agent] Fetch US national debt data from the Treasury Fiscal Data API. Returns total public debt outstanding and debt held by the public. Supports date range filtering for historical data back to 1993. Source: U.S. Department of the Treasury (Public Domain), updates daily. Returns the Katzilla envelope { data, quality, citation } — quality scores freshness/uptime/confidence; citation carries the source URL, license, and a SHA-256 data hash for audit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startDate | No | Start date (Treasury data available from 1993-01-04) | |
| endDate | No | End date (defaults to today) | |
| limit | No | Max records (up to 10000) | |
| sortOrder | No | Sort by record date | desc |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Structured payload from the upstream source. | |
| text | No | Pre-rendered text representation, when applicable. | |
| quality | Yes | Quality scorecard: freshness, uptime, completeness, confidence, certainty. | |
| citation | Yes | Provenance block — source, license, retrieval timestamp, SHA-256 data hash, pre-formatted citation text. |