Financial Datasets — Treasury Yields (Historical)
financialdatasets_get_macro_yield_curveThe daily US Treasury par yield curve, one object per business day with one key per tenor, newest first. Values are par yields in percent, sourced from authoritative government sources. A tenor is null when it was not published on that date. Uses the caller's OpenAny gateway credentials. Charges and authorization are determined by the gateway.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it. | |
| end_date | No | The last date to return, inclusive, in YYYY-MM-DD format. Defaults to today. | |
| start_date | No | The first date to return, inclusive, in YYYY-MM-DD format. Defaults to one year before end_date when both dates are omitted; omit it with an end_date to get all available history through that date. |