treasury_debt_to_penny
Retrieve daily US public debt outstanding figures from Treasury Fiscal Data. Get total debt, debt held by public, and intragovernmental holdings for the latest day or a custom date range.
Instructions
Daily total US public debt outstanding ('Debt to the Penny', keyless Treasury Fiscal Data). Returns record_date + totalPublicDebtOutstanding, debtHeldByPublic, intragovernmentalHoldings (USD). latest (default true) ⇒ the single most-recent day; set latest=false with startDate/endDate (ISO YYYY-MM-DD) for a date range, newest-first. Amounts are coerced to number|null (a null amount is 'no value reported', never 0).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latest | No | true (default) ⇒ only the single most-recent day (page[size]=1). false ⇒ the startDate/endDate range, newest-first. | |
| endDate | No | Range mode only: ISO YYYY-MM-DD upper bound on record_date (inclusive). | |
| pageSize | No | Range mode: rows per page, 1..500, default 100. | |
| startDate | No | Range mode only: ISO YYYY-MM-DD lower bound on record_date (inclusive). | |
| pageNumber | No | Range mode: 1-based page number, default 1. |