US Treasury yield curve
treasury_yieldsOfficial daily US Treasury par yield curve (1M to 30Y, percent) for the latest or a given date, 10Y-2Y and 10Y-3M spreads, optional daily history for one tenor. Price: $0.005 per successful call via x402 (eip155:8453); 5 free calls/day across all tools.
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": "treasury_yields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | YYYY-MM-DD; default latest available | |
| tenor | No | Tenor for history, e.g. 10Y, 2Y, 3M (default 10Y) | |
| history_days | No | Also return this many daily points for one tenor (max 250) |