{"openapi":"3.1.0","info":{"title":"European Central Bank API","version":"1.0.0","description":"Live official euro-area monetary data from the ECB Data Portal — no key, nothing cached. This is the money side of the euro, not exchange rates. The key-rates endpoint returns the ECB's three policy interest rates — the deposit facility rate, the main refinancing operations (MRO) rate and the marginal lending facility rate — the rates that set the price of money across the euro area, each with the date it took effect and recent history (deposit facility around 2.00%, MRO 2.15%). The estr endpoint returns €STR, the euro short-term rate, the overnight benchmark that replaced EONIA, with its recent path. The yield-curve endpoint returns the euro-area AAA-rated government bond spot-rate curve across maturities from 3 months to 30 years, with the 10-year-minus-1-year slope. Everything is the ECB's own published series. This is the euro-rates layer for any fixed-income, macro, forex or research app that needs authoritative European central-bank numbers. Live from the ECB, nothing stored. Distinct from exchange-rate APIs and from the Bank of Canada and US-Treasury APIs — this is the ECB's policy rates, €STR and euro yield curve. 4 endpoints.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/ecb-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/estr":{"get":{"operationId":"get_v1_estr","tags":["Rates"],"summary":"€STR euro short-term rate","description":"","parameters":[{"name":"history","in":"query","required":false,"description":"Past values to include (1-60)","schema":{"type":"string"},"example":"10"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"date":"2026-06-08","name":"€STR (Euro Short-Term Rate)","source":"European Central Bank","history":[{"date":"2026-05-26","rate_pct":1.932},{"date":"2026-05-27","rate_pct":1.932},{"date":"2026-05-28","rate_pct":1.933},{"date":"2026-05-29","rate_pct":1.93},{"date":"2026-06-01","rate_pct":1.931},{"date":"2026-06-02","rate_pct":1.932},{"date":"2026-06-03","rate_pct":1.931},{"date":"2026-06-04","rate_pct":1.933},{"date":"2026-06-05","rate_pct":1.931},{"date":"2026-06-08","rate_pct":1.93}],"rate_pct":1.93},"meta":{"timestamp":"2026-06-09T11:39:36.731Z","request_id":"32460fa9-e12c-47dc-b21e-ec38c1333376"},"status":"ok","message":"€STR 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/key_rates":{"get":{"operationId":"get_v1_key_rates","tags":["Rates"],"summary":"ECB policy interest rates","description":"","parameters":[{"name":"history","in":"query","required":false,"description":"Past values to include (1-20)","schema":{"type":"string"},"example":"3"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"rates":{"deposit_facility":{"history":[{"date":"2025-03-12","rate_pct":2.5},{"date":"2025-04-23","rate_pct":2.25},{"date":"2025-06-11","rate_pct":2}],"rate_pct":2,"effective_date":"2025-06-11"},"marginal_lending_facility":{"history":[{"date":"2025-03-12","rate_pct":2.9},{"date":"2025-04-23","rate_pct":2.65},{"date":"2025-06-11","rate_pct":2.4}],"rate_pct":2.4,"effective_date":"2025-06-11"},"main_refinancing_operations":{"history":[{"date":"2025-03-12","rate_pct":2.65},{"date":"2025-04-23","rate_pct":2.4},{"date":"2025-06-11","rate_pct":2.15}],"rate_pct":2.15,"effective_date":"2025-06-11"}},"source":"European Central Bank key interest rates"},"meta":{"timestamp":"2026-06-09T11:39:38.941Z","request_id":"76d5b200-7fff-4231-b5d4-f036efe9e3dd"},"status":"ok","message":"Key rates 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/yield_curve":{"get":{"operationId":"get_v1_yield_curve","tags":["Rates"],"summary":"Euro-area AAA bond yield curve","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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}}}},"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":"ECB Data Portal SDMX API (live)","service":"ecb-api","endpoints":{"GET /v1/estr":"€STR euro short-term rate, current + recent history.","GET /v1/meta":"This document.","GET /v1/key_rates":"ECB policy rates: deposit facility, MRO, marginal lending (history=N for past values).","GET /v1/yield_curve":"Euro-area AAA government bond spot yield curve (3M–30Y) + 10y-1y spread."},"description":"Live official euro-area monetary data from the ECB Data Portal: the ECB's three policy interest rates (deposit facility, main refinancing operations, marginal lending facility) with effective dates and history; €STR, the euro short-term overnight benchmark, with its recent path; and the euro-area AAA government bond spot-rate yield curve from 3 months to 30 years with the 10y-1y slope. Live, no key, nothing stored. Distinct from exchange-rate APIs and from the Bank of Canada and US-Treasury APIs — this is the ECB's policy rates, €STR and euro yield curve.","upstream_status":"ok"},"meta":{"timestamp":"2026-06-09T11:39:45.104Z","request_id":"b4ca9010-37dd-4368-b9c8-28e37de2980f"},"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":12500,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":750,"monthly_call_quota":148000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":2050,"monthly_call_quota":670000,"rps_limit":15,"hard_limit":true},{"slug":"scale","name":"Scale","price_cents_month":5000,"monthly_call_quota":3350000,"rps_limit":30,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/ecb-api"}