ECB Main Refinancing (ECB_MRO) Rate Change

ECB Main Refinancing (ECB_MRO) Rate Change

You need the ECB Main Refinancing Operations policy rate (symbol: ECB_MRO) inside your app with clear effective dates, repeatable computations, and reliable change statistics. By the end of this guide you will query, cache, and interpret ECB_MRO from the Interest Rates API across seven endpoints (latest, historical, timeseries, fluctuation, OHLC, convert, and symbols), and use it to compute spreads, monthly payments, and analytics in your own code.

What the ECB_MRO rate represents and how it’s expressed

ECB_MRO is the European Central Bank’s Main Refinancing Operations rate. It’s the primary policy rate used to signal monetary policy stance and anchor short-term euro-area money market conditions. In this API, ECB_MRO is returned as a numeric rate expressed in percent per annum. When you read 2.65 in a response, interpret it as 2.65% annualized.

Illustration: ECB Main Refinancing (ECB_MRO) Rate Change

The API returns both the numeric value and the relevant effective date. For policy rates, the “date” field indicates the date for which the rate value is valid. Because central banks don’t move rates daily, the series is provided with a daily frequency, holding the last known value constant on non-decision days. That consistency simplifies time series joins, charts, and risk factor updates.

Frequency: daily. Currency: EUR. Category: central_bank. Symbol: ECB_MRO.

For official documentation, visit https://interestratesapi.com and the MCP.

Base URL, authentication, and HTTP method

All endpoints share the same base URL and authentication model:

  • Base URL: https://interestratesapi.com/api/v1/
  • HTTP method: GET (for all endpoints)
  • Authentication: api_key query parameter (e.g., ?api_key=YOUR_API_KEY)

Do not send the API key as a header. Always append api_key as a query parameter. All examples below use ECB_MRO and only GET requests.

Get the latest ECB_MRO

Use the latest endpoint to fetch the current daily value and its effective date. Cache the response for the business day to reduce calls; policy rates won’t change intraday.

cURL (official sample)

curl -s "https://interestratesapi.com/api/v1/latest?api_key=YOUR_API_KEY&symbols=ECB_MRO"

JSON (official sample)

{
    "success": true,
    "date": "2026-11-07",
    "base": "EUR",
    "rates": {
        "ECB_MRO": 2.65
    },
    "dates": {
        "ECB_MRO": "2026-11-07"
    },
    "currencies": {
        "ECB_MRO": "EUR"
    },
    "base_filter_note": null
}

How to read it:

  • rates.ECB_MRO: numeric percent per annum (2.65 means 2.65%).
  • dates.ECB_MRO: effective date for the rate value.
  • base and currencies maps: currency context (ECB_MRO is in EUR).

Python (requests)

import requests

resp = requests.get(
"https://interestratesapi.com/api/v1/latest",
params={"symbols": "ECB_MRO", "api_key": "YOUR_API_KEY"},
timeout=10
)
data = resp.json()

if data.get("success"):
rate = data["rates"]["ECB_MRO"]
eff_date = data["dates"]["ECB_MRO"]
currency = data["currencies"]["ECB_MRO"]
# Use 'rate' (percent per annum) and 'eff_date' for UI or calculations
else:
raise RuntimeError(f"API error: {data.get('error')}")

JavaScript (fetch)

const response = await fetch(
'https://interestratesapi.com/api/v1/latest?symbols=ECB_MRO&api_key=YOUR_API_KEY'
);
const data = await response.json();
if (data.success) {
const rate = data.rates.ECB_MRO; // e.g., 2.65 (percent per annum)
const effDate = data.dates.ECB_MRO; // e.g., "2026-11-07"
const ccy = data.currencies.ECB_MRO; // "EUR"
} else {
console.error('API error:', data.error);
}

PHP

<?php
$url = 'https://interestratesapi.com/api/v1/latest?symbols=ECB_MRO&api_key=YOUR_API_KEY';
$json = file_get_contents($url);
$data = json_decode($json, true);
if ($data['success']) {
$rate = $data['rates']['ECB_MRO'];
$effDate = $data['dates']['ECB_MRO'];
$ccy = $data['currencies']['ECB_MRO'];
} else {
error_log('API error: ' . $data['error']);
}
?>

Discover the symbol with /symbols

Use /symbols to enumerate available identifiers or filter by category/currency. This is handy for onboarding a new rate or validating user choices in a dashboard.

cURL

JSON

Key fields:

  • symbol: identifier you pass to other endpoints (e.g., ECB_MRO).
  • frequency: use to schedule jobs and cache policy.
  • currency_code: helps enforce consistent base currency handling in your app.

Python

import requests

resp = requests.get(
"https://interestratesapi.com/api/v1/symbols",
params={"category": "central_bank", "base": "EUR", "api_key": "YOUR_API_KEY"},
timeout=10
)
symbols = resp.json()

JavaScript

const res = await fetch(
'https://interestratesapi.com/api/v1/symbols?category=central_bank&base=EUR&api_key=YOUR_API_KEY'
);
const symbols = await res.json();

PHP

<?php
$url = 'https://interestratesapi.com/api/v1/symbols?category=central_bank&base=EUR&api_key=YOUR_API_KEY';
$data = json_decode(file_get_contents($url), true);
?>

Get ECB_MRO on a specific date with /historical

Use /historical to retrieve the rate valid on a given calendar day. For monthly series the API picks the last day in the month that has data; ECB_MRO is daily.

cURL

JSON

Notes:

  • rates map contains the value for the requested date.
  • currencies map acknowledges the currency context per symbol.
  • If the date is a weekend or holiday, you still receive the valid value for that day if the series is daily and forward-filled.

Python

import requests

params = {"date": "2025-06-15", "symbols": "ECB_MRO", "api_key": "YOUR_API_KEY"}
data = requests.get("https://interestratesapi.com/api/v1/historical", params=params, timeout=10).json()

JavaScript

const url = 'https://interestratesapi.com/api/v1/historical?date=2025-06-15&symbols=ECB_MRO&api_key=YOUR_API_KEY';
const hist = await fetch(url).then(r => r.json());

PHP

<?php
$url = 'https://interestratesapi.com/api/v1/historical?date=2025-06-15&symbols=ECB_MRO&api_key=YOUR_API_KEY';
$hist = json_decode(file_get_contents($url), true);
?>

Build a time series with /timeseries

Use /timeseries to pull a complete window for charts, factor models, or backtests. The API returns a per-symbol object keyed by date.

cURL

JSON

Key fields:

  • rates.ECB_MRO: date-keyed map for the period.
  • frequencies: confirms data cadence (daily).
  • start_date/end_date: echo your requested window.

Python

import requests

params = {
"start": "2025-11-08",
"end": "2026-11-08",
"symbols": "ECB_MRO",
"api_key": "YOUR_API_KEY"
}
ts = requests.get("https://interestratesapi.com/api/v1/timeseries", params=params, timeout=20).json()

JavaScript

const tsUrl = 'https://interestratesapi.com/api/v1/timeseries?start=2025-11-08&end=2026-11-08&symbols=ECB_MRO&api_key=YOUR_API_KEY';
const ts = await fetch(tsUrl).then(r => r.json());

PHP

<?php
$tsUrl = 'https://interestratesapi.com/api/v1/timeseries?start=2025-11-08&end=2026-11-08&symbols=ECB_MRO&api_key=YOUR_API_KEY';
$ts = json_decode(file_get_contents($tsUrl), true);
?>

Summarize changes with /fluctuation

/fluctuation computes start/end values, absolute and percent changes, and the high/low across the window. This is ideal for dashboards and alerting.

cURL

JSON

Field notes:

  • change: end_value - start_value.
  • change_pct: percent change (null if start_value is 0).
  • high/low: extremes in the range.

Python

import requests

params = {
"start": "2025-11-08",
"end": "2026-11-08",
"symbols": "ECB_MRO",
"api_key": "YOUR_API_KEY"
}
fluc = requests.get("https://interestratesapi.com/api/v1/fluctuation", params=params, timeout=15).json()

JavaScript

const fUrl = 'https://interestratesapi.com/api/v1/fluctuation?start=2025-11-08&end=2026-11-08&symbols=ECB_MRO&api_key=YOUR_API_KEY';
const fluc = await fetch(fUrl).then(r => r.json());

PHP

<?php
$fUrl = 'https://interestratesapi.com/api/v1/fluctuation?start=2025-11-08&end=2026-11-08&symbols=ECB_MRO&api_key=YOUR_API_KEY';
$fluc = json_decode(file_get_contents($fUrl), true);
?>

Generate OHLC candles with /ohlc

/ohlc computes open-high-low-close from daily data over weekly, monthly, or quarterly periods. This is useful for policy-rate “candles” that summarize rate regimes.

cURL

JSON

Field notes:

  • open/high/low/close: computed on-the-fly from daily values.
  • data_points: number of daily observations in the period.

Python

import requests

params = {
"symbols": "ECB_MRO",
"period": "monthly",
"start": "2025-11-08",
"end": "2026-11-08",
"api_key": "YOUR_API_KEY"
}
ohlc = requests.get("https://interestratesapi.com/api/v1/ohlc", params=params, timeout=15).json()

JavaScript

const oUrl = 'https://interestratesapi.com/api/v1/ohlc?symbols=ECB_MRO&period=monthly&start=2025-11-08&end=2026-11-08&api_key=YOUR_API_KEY';
const ohlc = await fetch(oUrl).then(r => r.json());

PHP

<?php
$oUrl = 'https://interestratesapi.com/api/v1/ohlc?symbols=ECB_MRO&period=monthly&start=2025-11-08&end=2026-11-08&api_key=YOUR_API_KEY';
$ohlc = json_decode(file_get_contents($oUrl), true);
?>

Compare loan interest costs with /convert

/convert estimates total interest cost for a simple loan at the latest rate of two symbols and reports the rate spread and savings. Use it to benchmark ECB_MRO versus another symbol or to show “what-if” comparisons in a UI.

cURL

JSON

Field notes:

  • rate_spread: difference between the two latest rates.
  • total_interest / total_payment: simple-loan aggregates over term_months.

Python

import requests

params = {
"from": "ECB_MRO",
"to": "ECB_MRO",
"amount": 100000,
"term_months": 12,
"api_key": "YOUR_API_KEY",
}
cmp_data = requests.get("https://interestratesapi.com/api/v1/convert", params=params, timeout=10).json()

JavaScript

const cUrl = 'https://interestratesapi.com/api/v1/convert?from=ECB_MRO&to=ECB_MRO&amount=100000&term_months=12&api_key=YOUR_API_KEY';
const cmp = await fetch(cUrl).then(r => r.json());

PHP

<?php
$cUrl = 'https://interestratesapi.com/api/v1/convert?from=ECB_MRO&to=ECB_MRO&amount=100000&term_months=12&api_key=YOUR_API_KEY';
$cmp = json_decode(file_get_contents($cUrl), true);
?>

Practical implementation details for ECB_MRO

Effective dates and business days

  • Effective date: Use dates.ECB_MRO from /latest and the date keys from /timeseries as the canonical validity date.
  • Weekends/holidays: Central banks don’t publish daily; policy rates remain constant on non-decision days. The API’s daily series is suitable for daily backfills and portfolio snapshots.
  • Time zone: Treat dates as calendar dates without timezone offsets. When storing, use UTC midnight for consistency.

Caching strategy

  • Latest: Cache until the next business day or until your scheduled refresh time post-ECB announcement windows.
  • Historical/time series: Cache aggressively; update only when re-running backfills.
  • Fluctuation/OHLC: Since they derive from daily data, cache results for the window and recompute when your underlying window or raw series changes.

Computing spreads and monthly payments from ECB_MRO

  • Spread vs another rate: spread = rate_A - rate_B. If you have both from /latest, compute spread using the two numeric values (both expressed in percent per annum).
  • Monthly payment (amortizing loan): given principal P, annual rate r (percent per annum), and term in months n, first compute the monthly rate i = (r / 100) / 12. Then payment M = P * i / (1 - (1 + i)^(-n)).
  • Interest-only payment: interest_month = P * (r / 100) / 12.
  • Always align currency and unit handling: ECB_MRO is in EUR and is a percent value, not a decimal fraction.

Error handling and rate limits

  • 401/403: Missing or invalid api_key, or account not active. Ensure you always pass api_key as a query parameter.
  • 404: No data for the requested date/range. Consider adjusting start/end or using /symbols to verify the symbol.
  • 422: Validation (e.g., wrong date format). Dates must be Y-m-d.
  • 429: Quota exhausted. Use Retry-After and X-RateLimit-* headers to back off.

Real-world use cases for ECB_MRO

  • Interest rate dashboards: Show the current ECB_MRO with its effective date, a 1-year OHLC candle, and a fluctuation summary for quick context.
  • Lending and mortgage tooling: Use ECB_MRO as a policy anchor to derive product rates, compute payment schedules, and analyze sensitivity to a delta in ECB_MRO.
  • Treasury and ALM: Pull timeseries to recalibrate FTP curves, scenario-test changes, and compare to interbank benchmarks using /convert.
  • Macro research and risk: Use /timeseries and /fluctuation to study rate regimes, transitions, and macro policy correlations.

Explore more at https://interestratesapi.com and read the MCP. When you’re ready to integrate, use the link below to get an API key.

FAQ

How often does ECB_MRO update?
ECB_MRO is provided with a daily frequency. The rate changes only on ECB decision days; on other days the last known value applies.

What unit is ECB_MRO returned in?
Percent per annum. A value of 2.65 means 2.65% annualized.

How should I handle weekends and holidays?
Treat the daily series as valid for those calendar dates with the last-known rate. For backfills, you can safely forward-fill between changes.

Can I compute a monthly loan payment from ECB_MRO?
Yes. Convert the annual percent rate to a monthly decimal i = (r / 100) / 12, then M = P * i / (1 - (1 + i)^(-n)). Use ECB_MRO as a base and add your product spread if needed.

What if I get a 404 for a date?
Verify the symbol and range with /symbols and /timeseries. If the date is outside the available history, adjust your request or present a fallback to the user.

Build your ECB_MRO integration now. Register for an API key, then copy the cURL above and ship your first request. For reference docs and field definitions, open the MCP. You can also visit https://interestratesapi.com to explore endpoints and symbols.

Ready to get started?

Get your API key and start validating bank data in minutes.

Get API Key