Latest Treasury Yields
Retrieve current U.S. Treasury bond yields across various maturities from 1-month to 30-year bonds. Monitor risk-free rates and yield curve dynamics.
Use Case: Plot the yield curve to identify potential economic recessions indicated by inversions.
Authorizations
OAuth2 Bearer token: obtain an access token from the token endpoint and send it in the Authorization header.
Query Parameters
Exact date in YYYY-MM-DD format. Use this when you want one specific calendar day.
"2024-01-15"
Comma-separated list of dates in YYYY-MM-DD format. Use this when you want several specific dates in one request.
"2024-01-15,2024-01-16"
Start-date filter. Returns records on or after this date.
"2024-01-01"
End-date filter. Returns records on or before this date.
"2024-01-31"
After-date filter. Returns records after this date, excluding the date itself.
"2024-01-01"
Before-date filter. Returns records before this date, excluding the date itself.
"2024-01-31"
Maximum number of results to return. Use smaller values for UI pages and larger values for exports within API limits.
100
A comma-separated list of sort columns. For each column, append .asc or .desc to specify direction. Massive documents this family with date-based sorting; use provider-supported column names in the text box.
Pagination cursor from the previous response. Omit it on the first request, then send the returned cursor to fetch the next page. for next page