/v1/yield_curve
Euro-area AAA bond yield curve
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/ecb-api/v1/yield_curve" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ecb-api/v1/yield_curve", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ecb-api/v1/yield_curve");
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/ecb-api/v1/yield_curve",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"date": "2026-06-08",
"basis": "AAA-rated central government bonds, spot rate",
"count": 7,
"curve": [
{
"tenor": "3M",
"months": 3,
"yield_pct": 2.2654
},
{
"tenor": "6M",
"months": 6,
"yield_pct": 2.3824
},
{
"tenor": "1Y",
"months": 12,
"yield_pct": 2.5225
},
{
"tenor": "2Y",
"months": 24,
"yield_pct": 2.6236
},
{
"tenor": "5Y",
"months": 60,
"yield_pct": 2.7495
},
{
"tenor": "10Y",
"months": 120,
"yield_pct": 3.0921
},
{
"tenor": "30Y",
"months": 360,
"yield_pct": 3.5611
}
],
"region": "Euro area",
"source": "European Central Bank",
"spread_10y_1y_bps": 57
},
"meta": {
"timestamp": "2026-06-09T11:39:44.982Z",
"request_id": "a6b4b219-b30d-45b9-aa4c-b99deb699b3a"
},
"status": "ok",
"message": "Yield curve retrieved successfully",
"success": true
}