/v1/gilt_yields
UK gilt yield curve
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
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_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste 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
}