{"openapi":"3.1.0","info":{"title":"Bank of England API","version":"1.0.0","description":"Live official UK monetary data from the Bank of England's Interactive Database — no key, nothing cached. The bank-rate endpoint returns Bank Rate, the official interest rate the Bank of England sets to steer the UK economy (currently 3.75%), with the date it took effect and recent history. The sonia endpoint returns SONIA, the Sterling Overnight Index Average — the sterling overnight benchmark that has replaced GBP LIBOR and underpins trillions of pounds of contracts — with its recent path. The gilt-yields endpoint returns the UK government bond (gilt) nominal par-yield curve at 5, 10 and 20 years with the 20y-5y slope. Everything is the Bank of England's own published series. This is the sterling-rates layer for any fixed-income, forex, UK-markets or macro app that needs authoritative GBP rates. Live from the Bank of England, 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. 4 endpoints.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/boe-api","description":"oanor gateway"}],"tags":[{"name":"Rates"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/bank_rate":{"get":{"operationId":"get_v1_bank_rate","tags":["Rates"],"summary":"UK official Bank Rate","description":"","parameters":[{"name":"history","in":"query","required":false,"description":"Past values (1-30)","schema":{"type":"string"},"example":"3"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"date":"2026-06-08","name":"Official Bank Rate","source":"Bank of England","history":[{"date":"2026-06-04","rate_pct":3.75},{"date":"2026-06-05","rate_pct":3.75},{"date":"2026-06-08","rate_pct":3.75}],"rate_pct":3.75},"meta":{"timestamp":"2026-06-09T11:38:47.515Z","request_id":"976c30f6-2dc1-43d3-b87d-f1fd4016d00b"},"status":"ok","message":"Bank rate retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/gilt_yields":{"get":{"operationId":"get_v1_gilt_yields","tags":["Rates"],"summary":"UK gilt yield curve","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/sonia":{"get":{"operationId":"get_v1_sonia","tags":["Rates"],"summary":"SONIA overnight benchmark","description":"","parameters":[{"name":"history","in":"query","required":false,"description":"Past values (1-60)","schema":{"type":"string"},"example":"10"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"date":"2026-06-05","name":"SONIA — Sterling Overnight Index Average","source":"Bank of England","history":[{"date":"2026-05-22","rate_pct":3.7301},{"date":"2026-05-26","rate_pct":3.729},{"date":"2026-05-27","rate_pct":3.729},{"date":"2026-05-28","rate_pct":3.7295},{"date":"2026-05-29","rate_pct":3.7302},{"date":"2026-06-01","rate_pct":3.7291},{"date":"2026-06-02","rate_pct":3.7308},{"date":"2026-06-03","rate_pct":3.7306},{"date":"2026-06-04","rate_pct":3.7308},{"date":"2026-06-05","rate_pct":3.7312}],"rate_pct":3.7312},"meta":{"timestamp":"2026-06-09T11:38:48.345Z","request_id":"f27a2be1-3d38-448b-b7f4-f6947584b372"},"status":"ok","message":"SONIA retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Spec","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":12700,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":800,"monthly_call_quota":138500,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2000,"monthly_call_quota":652000,"rps_limit":15,"hard_limit":true},{"slug":"scale","name":"Scale","price_cents_month":4900,"monthly_call_quota":3230000,"rps_limit":30,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/boe-api"}