Treasury Rates
treasury_ratesRead-onlyIdempotent
US Treasury rates: the daily par yield curve (1M-30Y, from treasury.gov) with day-over-day change in bp, 2s10s spread and 3m10y inversion flag, optional TIPS real yield curve, plus Debt to the Penny (total public debt, debt held by the public, intragovernmental holdings) from the Fiscal Data API. Latest by default or as of a past date. Price: $0.01 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/treasury-rates
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | As-of date YYYY-MM-DD (latest published on or before it); default latest | |
| debt | No | Include Debt to the Penny (default true) | |
| curve | No | nominal (default), real, both or none |