/v2/curves/treasuryGet Treasury Yield Curve
Retrieve U.S. Treasury yield curve data for various maturities.
Fetch the U.S. Treasury yield curve, which shows the relationship between interest rates and time to maturity for U.S. Treasury securities. This data is essential for understanding bond market conditions, economic expectations, and financial modeling. The curve includes yields for various maturities from 1 month to 30 years.
Authentication: Your API key is required to access yield curve data.
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
date | string | Optional | Specific date for yield curve (ISO 8601 format: YYYY-MM-DD). If omitted, returns most recent data. |
maturities | string | Optional | Comma-separated list of maturities to include (e.g., "1M,3M,6M,1Y,2Y,5Y,10Y,30Y"). |
dateSpecific date for yield curve (ISO 8601 format: YYYY-MM-DD). If omitted, returns most recent data.
maturitiesComma-separated list of maturities to include (e.g., "1M,3M,6M,1Y,2Y,5Y,10Y,30Y").
Response Attributes
| Name | Type | Required | Description |
|---|---|---|---|
date | string | Required | Date of the yield curve data. |
curves | array | Required | Array of yield curve points. |
— maturity | string | Required | Time to maturity (e.g., "1M", "3M", "1Y", "10Y"). |
— yield | number | Required | Yield percentage. |
— maturityMonths | integer | Required | Maturity in months. |
dateDate of the yield curve data.
curvesArray of yield curve points.
maturityTime to maturity (e.g., "1M", "3M", "1Y", "10Y").
yieldYield percentage.
maturityMonthsMaturity in months.
Error Responses
Notes
- If no date is specified, the most recent available yield curve is returned.
- Yields are expressed as percentages (for example, 4.25 means 4.25%).
- Available maturities range from 1 month to 30 years.
- Data is sourced from the U.S. Treasury and updated daily.