Zum Inhalt springen
GET /v1/yield_curve

Euro-area AAA bond yield curve

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/ecb-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}