US Treasury Yield Spread 10Y-2Y
Spread between 10-year and 2-year Treasury yields. Widely used as a recession indicator; negative values signal yield curve inversion.
Country
US
USD
Frequency
daily
Update cadence
Category
Reference
Rate type
Access
REST API
JSON · CSV
US Treasury Yield Spread 10Y-2Y is a reference rate — a standardized benchmark published by an official body, used as the basis for pricing financial contracts, loans, and derivatives. Reference rates provide a transparent, manipulation-resistant alternative to panel-based rates.
Reference rates are embedded in loan agreements, bond indentures, and derivatives as the floating-rate component. Regulators and central banks have actively promoted official reference rates as replacements for rates that were subject to manipulation, improving the integrity of financial benchmarks globally.
Click each endpoint to see the request URL, parameters, and a sample response.
API Request
https://interestratesapi.com/api/v1/latest?api_key=YOUR_API_KEY&symbols=US_YIELD_SPREAD_10Y2Y
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| api_key | required | Your API key. |
| symbols | required | Comma-separated symbol codes. E.g. US_YIELD_SPREAD_10Y2Y |
Sample Response
{
"success": true,
"date": "2026-05-26",
"rates": {
"US_YIELD_SPREAD_10Y2Y": 4.25
},
"dates": {
"US_YIELD_SPREAD_10Y2Y": "2026-05-26"
}
}
API Request
https://interestratesapi.com/api/v1/historical?api_key=YOUR_API_KEY&symbols=US_YIELD_SPREAD_10Y2Y&date=2026-05-26
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| api_key | required | Your API key. |
| symbols | required | Symbol code(s). E.g. US_YIELD_SPREAD_10Y2Y |
| date | required | Date in YYYY-MM-DD format. |
Sample Response
{
"success": true,
"historical": true,
"date": "2026-05-26",
"rates": {
"US_YIELD_SPREAD_10Y2Y": 4.25
}
}
API Request
https://interestratesapi.com/api/v1/timeseries?api_key=YOUR_API_KEY&symbols=US_YIELD_SPREAD_10Y2Y&start_date=2026-05-03&end_date=2026-06-02
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| api_key | required | Your API key. |
| symbols | required | Symbol code(s). E.g. US_YIELD_SPREAD_10Y2Y |
| start_date | required | Start date (YYYY-MM-DD). |
| end_date | required | End date (YYYY-MM-DD). |
Sample Response
{
"success": true,
"symbols": [
"US_YIELD_SPREAD_10Y2Y"
],
"rates": {
"2026-05-03": {
"US_YIELD_SPREAD_10Y2Y": 4.25
},
"2026-06-02": {
"US_YIELD_SPREAD_10Y2Y": 4.25
}
}
}
API Request
https://interestratesapi.com/api/v1/fluctuation?api_key=YOUR_API_KEY&symbols=US_YIELD_SPREAD_10Y2Y&start_date=2026-05-03&end_date=2026-06-02
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| api_key | required | Your API key. |
| symbols | required | Symbol code(s). E.g. US_YIELD_SPREAD_10Y2Y |
| start_date | required | Start date (YYYY-MM-DD). |
| end_date | required | End date (YYYY-MM-DD). |
Sample Response
{
"success": true,
"fluctuation": {
"US_YIELD_SPREAD_10Y2Y": {
"start_rate": 4.25,
"end_rate": 4.37,
"change": 0.12,
"change_pct": 2.8235
}
}
}
API Request
https://interestratesapi.com/api/v1/ohlc?api_key=YOUR_API_KEY&symbols=US_YIELD_SPREAD_10Y2Y&start=2026-05-03&end=2026-06-02&period=monthly
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| api_key | required | Your API key. |
| symbols | required | Symbol code. E.g. US_YIELD_SPREAD_10Y2Y |
| start | required | Start date (YYYY-MM-DD). |
| end | optional | End date (YYYY-MM-DD). Defaults to today. |
| period | optional | Grouping: monthly (default), weekly, quarterly. |
Sample Response
{
"success": true,
"symbol": "US_YIELD_SPREAD_10Y2Y",
"period": "monthly",
"ohlc": [
{
"period": "2026-05",
"open": 4.25,
"high": 4.5,
"low": 4.15,
"close": 4.37,
"data_points": 21
}
]
}
API Request
https://interestratesapi.com/api/v1/convert?api_key=YOUR_API_KEY&from=US_YIELD_SPREAD_10Y2Y&to=FED_FUNDS&amount=1
Request Parameters
| Parameter | Required | Description |
|---|---|---|
| api_key | required | Your API key. |
| from | required | Source symbol. E.g. US_YIELD_SPREAD_10Y2Y |
| to | required | Target symbol. E.g. FED_FUNDS |
| amount | required | Amount to convert. |
| term_months | optional | Term in months for interest calculation (default 12). |
Sample Response
{
"success": true,
"from": "US_YIELD_SPREAD_10Y2Y",
"to": "FED_FUNDS",
"amount": 1,
"result": 0.981524
}
YOUR_API_KEY with your key
Get a free API key →
Get live and historical US Treasury Yield Spread 10Y-2Y data in JSON format. One API, 50+ countries, normalized.