European Union API: Get key interest rates
Returns the ECB's current deposit facility, main refinancing operations and marginal lending facility rates with their effective date. Optionally includes earlier rate changes, newest first.
Unofficial. Not affiliated with or endorsed by European Union.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Max Results optional
max_results Maximum number of earlier changes to return when history is included. Example: 10.
10 (default)
Whole number from 1 to 100.
- Include History optional
include_history Include earlier changes to the ECB's key rates, newest first. Example: true.
true
True or false. Default
false.
Input as JSON
{ "include_history": true}Output
{ "history": [ { "page_url": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/key_ecb_interest_rates/html/index.en.html" , "effective_date": "2026-06-17", "deposit_facility_rate_percent": 2.25, "marginal_lending_facility_rate_percent": 2.65, "main_refinancing_operations_rate_percent": 2.4 }, { "page_url": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/key_ecb_interest_rates/html/index.en.html" , "effective_date": "2025-06-11", "deposit_facility_rate_percent": 2, "marginal_lending_facility_rate_percent": 2.4, "main_refinancing_operations_rate_percent": 2.15 }, { "page_url": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/key_ecb_interest_rates/html/index.en.html" , "effective_date": "2025-04-23", "deposit_facility_rate_percent": 2.25, "marginal_lending_facility_rate_percent": 2.65, "main_refinancing_operations_rate_percent": 2.4 } ], "page_url": "https://www.ecb.europa.eu/stats/policy_and_exchange_rates/key_ecb_interest_rates/html/index.en.html" , "effective_date": "2026-09-16", "deposit_facility_rate_percent": 2.5, "marginal_lending_facility_rate_percent": 2.9, "main_refinancing_operations_rate_percent": 2.65}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"ecb.europa.eu/get_key_interest_rates","input":{"include_history":true}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "ecb.europa.eu/get_key_interest_rates" , "input": { "include_history": True }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "ecb.europa.eu/get_key_interest_rates" , "input": { "include_history": true } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run ecb.europa.eu/get_key_interest_rates# with {"include_history":true}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [], "properties": { "max_results": { "type": "integer", "default": 10, "maximum": 100, "minimum": 1, "description": "Maximum number of earlier changes to return when history is included. Example: 10." }, "include_history": { "type": "boolean", "default": false, "description": "Include earlier changes to the ECB's key rates, newest first. Example: true." } }}Output schema
{ "type": "object", "required": [ "effective_date", "deposit_facility_rate_percent", "main_refinancing_operations_rate_percent", "marginal_lending_facility_rate_percent", "page_url" ], "properties": { "history": { "type": "array", "items": { "type": "object", "required": [ "effective_date", "deposit_facility_rate_percent", "main_refinancing_operations_rate_percent", "marginal_lending_facility_rate_percent", "page_url" ], "properties": { "page_url": { "type": "string", "description": "ECB page showing this change." }, "effective_date": { "type": "string", "format": "date", "description": "Date these rates took effect (YYYY-MM-DD)." }, "deposit_facility_rate_percent": { "type": [ "number", "null" ], "description": "Annual interest rate in percent, or null if this rate is not shown for this change." }, "marginal_lending_facility_rate_percent": { "type": [ "number", "null" ], "description": "Annual interest rate in percent, or null if this rate is not shown for this change." }, "main_refinancing_operations_rate_percent": { "type": [ "number", "null" ], "description": "Annual interest rate in percent, or null if this rate is not shown for this change." } }, "additionalProperties": false }, "description": "Earlier rate changes, newest first, when requested." }, "page_url": { "type": "string", "description": "ECB page showing the rates." }, "effective_date": { "type": "string", "format": "date", "description": "Date current rates took effect (YYYY-MM-DD)." }, "deposit_facility_rate_percent": { "type": "number", "description": "Annual interest rate, in percent (2.0 means 2.0%)." }, "marginal_lending_facility_rate_percent": { "type": "number", "description": "Annual interest rate, in percent (2.0 means 2.0%)." }, "main_refinancing_operations_rate_percent": { "type": "number", "description": "Annual interest rate, in percent (2.0 means 2.0%)." } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
ecb.europa.eu/get_key_interest_rates- Returns
- effective date, deposit facility rate, main refinancing rate, marginal lending rate, page URL, optional rate history
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method ecb.europa.eu/get_key_interest_rates with the inputs above.
Ask your agent
- What are the ECB's current deposit facility, main refinancing, and marginal lending rates and when did they take effect?
- Show me the latest euro area key interest rates from the European Central Bank on europa.eu, plus the last 15 rate changes.
- Can you tell me the ECB deposit rate right now and the date it became effective?
- I need the current main refinancing operations rate set by the ECB, along with its effective date and a history of the previous changes.
- Pull up the European Central Bank's marginal lending facility rate and the deposit facility rate, including the 5 most recent earlier adjustments.
See more
All European Union methodsGets the official ECB euro reference exchange rates for a day, or the latest published day. Weekends, holidays and dates before publication return the previous published day.
ecb.europa.eu/get_euro_exchange_ratesConverts an amount between currencies using ECB euro reference rates, including euro and cross-currency conversions. Uses the latest preceding published rate when the date has none.
ecb.europa.eu/convert_currencyLooks up an official Eurostat statistic for an EU or EEA country and the EU27 figure for the same period. Quarterly and half-yearly series return the reporting period that contains a requested month.
ec.europa.eu/get_statisticFinds recently published EU procurement notices matching what is being bought, with buyer, estimated value, submission deadline and TED notice link. Open-only results must have a future submission deadline.
ted.europa.eu/search_tendersSearches EUR-Lex legal acts by topic, ranked by the site's relevance, filtered by document type, year of adoption and in-force status. Short names and ELI links are included when shown in the results.
eur-lex.europa.eu/search_eu_lawFinds published EU contract award notices on Tenders Electronic Daily by contract topic or winning company, newest publication first, optionally limited to a buyer country and a start date. Values and tender counts are included when published; counts across lots are summed.
ted.europa.eu/search_contract_awardsGets the official text and key dates of one article of an EU regulation or directive from EUR-Lex, in the latest consolidated version when there is one, in any official EU language.
eur-lex.europa.eu/get_law_articleChecks an EU VAT number in the European Commission's VIES service and returns whether it is valid, with the registered name and address when the country makes them available.
ec.europa.eu/validate_vat_number