/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/boe-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/boe-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/boe-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"source": "Bank of England Interactive Database (live)",
"service": "boe-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/sonia": "SONIA overnight benchmark, current + recent history.",
"GET /v1/bank_rate": "Official Bank Rate (history=N for past values).",
"GET /v1/gilt_yields": "UK gilt nominal par-yield curve (5Y/10Y/20Y) + 20y-5y spread."
},
"description": "Live official UK monetary data from the Bank of England's Interactive Database: Bank Rate (the official interest rate) with effective date and history; SONIA, the sterling overnight benchmark that replaced GBP LIBOR, with its recent path; and the UK government gilt nominal par-yield curve at 5, 10 and 20 years with the 20y-5y slope. Live, no key, nothing stored. Distinct from the ECB, Fed, Bank of Canada and Norges Bank APIs — this is the UK's Bank Rate, the SONIA benchmark and gilt yields.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-09T11:38:48.700Z",
"request_id": "a29ce7d3-bccb-4006-8fe8-f70920eceb85"
},
"status": "ok",
"message": "Meta",
"success": true
}