us_treasury_rates
Pay-per-call US Treasury data for AI agents. Get the official daily par yield curve (1 month to 30 years) for the latest day or a date you choose, the change from the previous day, labelled spreads (10y-2y, 10y-3m) and inversion flag, plus total US public debt (Debt to the Penny). Official U.S. Treasury data, public domain. Errors never charged. Use this when the user asks about US Treasury yields, the yield curve, bond rates, spreads or inversion, or the US national debt. Not for: mortgage or loan quotes, forecasts or investment advice; exchange rates (use exchange_rates). Price: $0.01 USDC per call (x402).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "us_treasury_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | A past date, YYYY-MM-DD (default: latest published day). Example: 2026-11-27 |