/v1/realyields
Latest TIPS real (inflation-protected) yield curve
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/realyields-api/v1/realyields" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/realyields-api/v1/realyields", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/realyields-api/v1/realyields");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/realyields-api/v1/realyields",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"date": "2026-06-11",
"curve": [
{
"maturity": "5y",
"real_yield_pct": 1.78
},
{
"maturity": "7y",
"real_yield_pct": 1.96
},
{
"maturity": "10y",
"real_yield_pct": 2.16
},
{
"maturity": "20y",
"real_yield_pct": 2.53
},
{
"maturity": "30y",
"real_yield_pct": 2.72
}
],
"source": "US Treasury"
},
"meta": {
"timestamp": "2026-06-12T01:41:31.440Z",
"request_id": "4039ba6d-02b7-423a-8502-42a1282c1a71"
},
"status": "ok",
"message": "Real yields retrieved successfully",
"success": true
}