Get US Treasury yield curve
market_get_treasury_yieldsRetrieve the official US Treasury daily par yield curve (1 month to 30 years) for the latest date or a specific date, providing risk-free rates for valuations.
Instructions
Get the official US Treasury daily par yield curve (1 month to 30 years) from treasury.gov — useful as the risk-free rate in valuations (typically the 10-year).
Returns the latest available date by default, or the closest date on/before date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date (YYYY-MM-DD); default latest. | |
| response_format | No | Output format: 'markdown' (readable, default) or 'json' (structured). | markdown |