Get Treasury Rates
Macro
Get Treasury Rates
OpenAPI JSON Spec Retrieve US Treasury rates data for different maturities over time
Feature Overview Get historical treasury rates including 1M, 2M, 3M, 6M, 1Y, 2Y, 3Y, 5Y, 7Y, 10Y, 20Y, and 30Y rates.
Main Use Cases
- Interest Rate Analysis: Track treasury rate changes over time
- Investment Research: Analyze yield curve movements and trends
- Economic Analysis: Monitor economic indicators through treasury rates
- Portfolio Management: Use rates for bond portfolio strategy
- Risk Assessment: Evaluate interest rate risk across different maturities
Response Data Structure
Each rate record includes:
- date: Rate date (YYYY-MM-DD format)
- month1: 1 Month treasury rate
- month2: 2 Month treasury rate
- month3: 3 Month treasury rate
- month6: 6 Month treasury rate
- year1: 1 Year treasury rate
- year2: 2 Year treasury rate
- year3: 3 Year treasury rate
- year5: 5 Year treasury rate
- year7: 7 Year treasury rate
- year10: 10 Year treasury rate
- year20: 20 Year treasury rate
- year30: 30 Year treasury rate
Usage Examples
-
Get latest treasury rates: No parameters needed
-
Get rates from specific date:
?start_time=1745971200 -
Get rates for date range:
?start_time=1745971200&end_time=1748563200
GET
Get Treasury Rates
Authorizations
API Key authentication. Example: "your-api-key-here"
Query Parameters
Start time (Unix timestamp in seconds)
End time (Unix timestamp in seconds)

