/v1/gilt_yields
UK gilt yield curve
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/boe-api/v1/gilt_yields" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/boe-api/v1/gilt_yields", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/boe-api/v1/gilt_yields");
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/boe-api/v1/gilt_yields",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"date": "2026-06-05",
"count": 3,
"curve": [
{
"tenor": "5Y",
"months": 60,
"yield_pct": 4.4309
},
{
"tenor": "10Y",
"months": 120,
"yield_pct": 4.8773
},
{
"tenor": "20Y",
"months": 240,
"yield_pct": 5.3633
}
],
"issuer": "UK Government gilts, nominal par yield",
"source": "Bank of England",
"country": "United Kingdom",
"spread_20y_5y_bps": 93
},
"meta": {
"timestamp": "2026-06-09T11:38:47.966Z",
"request_id": "4da3a416-ddb9-43c4-b689-2f2970df30c5"
},
"status": "ok",
"message": "Gilt yields retrieved successfully",
"success": true
}