# ECB Rates & Euro Inflation API: policy rates, FX, €STR, HICP (`bosco_labs/eu-rates-inflation`) Actor

Latest value, previous value, change and recent history of ECB policy rates, euro reference FX rates, €STR, euro-area and national bond yields, and Eurostat HICP inflation. Ask by plain name (ecb_deposit_rate, eur_fx:USD, hicp:NL), no SDMX keys. Official data, a source link per series.

- **URL**: https://apify.com/bosco_labs/eu-rates-inflation.md
- **Developed by:** [Bosco Labs](https://apify.com/bosco_labs) (community)
- **Categories:** Business, AI, News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 series

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## ECB Rates & Euro Inflation API: policy rates, FX, €STR, HICP

**Ask for euro-area rates by plain name and get the latest value, when it last changed, the
change and the recent history.** ECB policy rates, euro reference exchange rates, €STR,
euro-area and national government bond yields, and Eurostat HICP inflation for every EU
country, with no SDMX series keys to work out. Built for **AI agents** and for anyone who
needs a quick, sourced number.

**Pricing (pay per event):** $0.002 per series returned ($2 per 1,000). A series with no data
and the catalogue are free; an unknown name fails in a second and costs nothing. The same data
is available free of charge from the ECB (data.ecb.europa.eu) and Eurostat; you pay for the
plain-name lookup, the latest/previous/change summary and the hosted API.

### What you get

One JSON item per series. Real output for `{"series": ["ecb_deposit_rate"]}` (5 Nov 2026,
observations shortened):

```json
{
  "schema_version": "1",
  "series": "ecb_deposit_rate",
  "title": "Deposit facility - date of changes (raw data) - Level",
  "description": "One observation per rate change; latest_date = when the current rate took effect.",
  "source": "ECB",
  "dataset": "FM",
  "series_key": "FM.B.U2.EUR.4F.KR.DFR.LEV",
  "frequency": "changes",
  "unit": "percent per annum",
  "latest_date": "2026-09-16",
  "latest_value": 2.5,
  "previous_date": "2026-06-17",
  "previous_value": 2.25,
  "change": 0.25,
  "observations": [
    { "date": "2025-06-11", "value": 2.0, "status": null },
    { "date": "2026-06-17", "value": 2.25, "status": null },
    { "date": "2026-09-16", "value": 2.5, "status": null }
  ],
  "observation_count": 12,
  "source_url": "https://data.ecb.europa.eu/data/datasets/FM/FM.B.U2.EUR.4F.KR.DFR.LEV",
  "api_url": "https://data-api.ecb.europa.eu/service/data/FM/B.U2.EUR.4F.KR.DFR.LEV?format=csvdata&lastNObservations=13",
  "attribution": "Source: ECB statistics (ECB Data Portal, data.ecb.europa.eu). Values and metadata are reproduced unmodified and are available free of charge from the ECB. The `change` field is computed by Bosco Labs (latest_value - previous_value) and is not an ECB figure.",
  "warnings": [],
  "error": null,
  "retrieved_at": "2026-11-05T22:01:42+00:00",
  "duration_seconds": 0.16
}
```

So: the deposit rate is 2.50% since 16 September 2026, up 0.25 points from 2.25%.

Euro-area inflation, `{"series": ["hicp:EA"]}` (real output, shortened):

```json
{
  "series": "hicp:EA",
  "source": "Eurostat",
  "series_key": "prc_hicp_minr/M.RCH_A.TOTAL.EA",
  "frequency": "monthly",
  "unit": "annual rate of change, %",
  "latest_date": "2026-10",
  "latest_value": 4.0,
  "previous_date": "2026-09",
  "previous_value": 3.8,
  "change": 0.2,
  "observations": [
    { "date": "2026-08", "value": 3.2, "status": null },
    { "date": "2026-09", "value": 3.8, "status": null },
    { "date": "2026-10", "value": 4.0, "status": "e" }
  ],
  "source_url": "https://ec.europa.eu/eurostat/databrowser/view/prc_hicp_minr/default/table?lang=en",
  "attribution": "Source: Eurostat, dataset prc_hicp_minr (© European Union; reuse authorised under Commission Decision 2011/833/EU). Values are reproduced unmodified and are available free of charge from Eurostat. The `change` field is computed by Bosco Labs (latest_value - previous_value) and is not a Eurostat figure."
}
```

`status: "e"` marks Eurostat's estimate (the euro-area flash estimate for the latest month).

- **latest / previous / change**: the newest value, the one before it, and the difference.
  For policy rates the observations are the dates the rate changed, so `latest_date` answers
  "since when?". `change` is the only value we compute; everything else is the source's own.
- **observations**: the newest 12 by default, oldest first, each with the source's status flag.
- **source_url** and **api_url**: the series page for people, and the exact API call for
  re-checking.
- **error**: a series with no data (e.g. an unknown currency) comes back as a row with `error`
  saying why and what is valid. It is not charged, and the other series are still delivered.

### Series catalogue

| Name | What | Source | Default frequency |
|---|---|---|---|
| `ecb_deposit_rate` | ECB deposit facility rate | ECB `FM.B.U2.EUR.4F.KR.DFR.LEV` | one row per change (`frequency: daily` = every day) |
| `ecb_main_refi_rate` | Main refinancing operations rate | ECB `FM.B.U2.EUR.4F.KR.MRR_FR.LEV` | per change |
| `ecb_marginal_lending_rate` | Marginal lending facility rate | ECB `FM.B.U2.EUR.4F.KR.MLFR.LEV` | per change |
| `estr` | Euro short-term rate (€STR) | ECB `EST.B.EU000A2X2A25.WT` | daily |
| `eur_fx:<CUR>` | ECB euro reference rate, CUR per 1 EUR: USD, GBP, JPY, CHF, CNY and 24 more | ECB `EXR.D.<CUR>.EUR.SP00.A` | daily (`monthly`, `annual` = averages) |
| `euro_area_yield_curve:<maturity>` | Euro area AAA government spot yield, 3M to 30Y (e.g. `10Y`, `1Y6M`); add `:all` for all government bonds | ECB `YC` | daily |
| `gov_bond_10y:<country>` | 10-year government bond yield of an EU country (e.g. `DE`, `IT`) | ECB `IRS.M.<country>.L.L40...` | monthly |
| `hicp:<geo>[:<variant>]` | HICP inflation for `EA`, `EU` or a country (`NL`, `DE`, Greece = `EL`). Variants: `annual` (default), `monthly`, `index` (2025=100), `core`, `energy`, `food`, `services`, `goods`, or an ECOICOP 2 code like `CP01` | Eurostat `prc_hicp_minr` | monthly |

Experts can add full ECB series keys in `rawSeriesKey` (e.g. `EXR.M.CHF.EUR.SP00.E`).
`{"mode": "catalogue"}` returns this list as data, for free.

### Input

```json
{ "series": ["ecb_deposit_rate", "eur_fx:USD", "hicp:EA"] }
```

| Field | Meaning |
|---|---|
| `series` | Plain names from the catalogue, up to 20 per run |
| `last` | Observations per series. Default 12, or the whole date window (max 1000) when `dateFrom` is set |
| `dateFrom`, `dateTo` | Optional window, `YYYY-MM-DD`. `dateTo` + `last: 1` = the value on that date (or the last one before it) |
| `frequency` | `daily`, `monthly`, `annual` where the series has it (FX averages; daily policy rates) |
| `rawSeriesKey` | Optional full ECB series keys |
| `mode` | `series` (default) or `catalogue` |

Typical questions and the input that answers them:

| Question | Input |
|---|---|
| What's the ECB deposit rate now and when did it last change? | `{"series": ["ecb_deposit_rate"], "last": 2}` |
| EUR/USD on 2026-03-15? | `{"series": ["eur_fx:USD"], "dateTo": "2026-03-15", "last": 1}` (a Sunday: you get Friday 13 March, 1.1476) |
| Euro-area and Dutch inflation, last 12 months | `{"series": ["hicp:EA", "hicp:NL"]}` |
| 10-year Bund vs BTP spread | `{"series": ["gov_bond_10y:DE", "gov_bond_10y:IT"], "last": 3}` (Sept 2026: 3.473% vs 4.362%, spread 0.889 points) |

### Use from an AI agent (MCP)

Agents can call this Actor as a tool through the
[Apify MCP server](https://github.com/apify/apify-mcp-server). Add this server URL to your MCP
client (Claude, Cursor, VS Code, ...):

```text
https://mcp.apify.com?tools=bosco_labs/eu-rates-inflation
```

It loads this Actor as a tool, plus the tools that read its results (`get-actor-run`,
`get-dataset-items`). The hosted server signs you in with OAuth, or accepts your Apify token as
`Authorization: Bearer <APIFY_TOKEN>`.

Example prompt: *"What's the ECB deposit rate now, when did it last change, and how does
euro-area inflation compare? Cite the source."* The agent passes:

```json
{ "series": ["ecb_deposit_rate", "hicp:EA"], "last": 3 }
```

**Output for agents:** one small JSON item per series (1-2 KB with the default 12
observations), stable `snake_case` fields, numbers as numbers, ISO dates, `null` for unknown,
a source link and the exact API call per series. Unknown names fail at once with "did you
mean" suggestions. Fetching takes well under a second; each source has a 15-second limit with
two retries.

**Cost:** $0.002 per series returned, billed to the Apify account the MCP server is signed in
with. Error rows and the catalogue are free.

### FAQ

**How fresh is it?** Live: every call reads the ECB Data Portal and Eurostat directly. ECB
reference rates appear around 16:00 CET on TARGET business days, €STR at 08:00 CET for the
previous business day, yield curves daily, policy rates the day a change takes effect.
Eurostat publishes the euro-area HICP flash estimate around the start of the month (status
`e`) and full country data mid-month, so a country's newest month can lag the euro area's.

**Why is there no FX rate for a weekend date?** The ECB sets reference rates on TARGET
business days only. Use `dateTo` with `last: 1` to get the last rate on or before a date.

**Which HICP version?** Since early 2026 Eurostat publishes HICP under ECOICOP version 2
(dataset `prc_hicp_minr`, history back to 1996). The old `prc_hicp_manr` stopped at December
2025 and is not used.

**Is there a daily Bund or BTP yield?** Not as open ECB data. `gov_bond_10y:<country>` is the
monthly average 10-year yield (the EU convergence-criterion series). For a daily benchmark use
`euro_area_yield_curve:10Y` (AAA bonds) or `euro_area_yield_curve:10Y:all`.

**Euribor? Mortgage rates?** Euribor is published by EMMI, not the ECB, and is not included.
Bank lending rates (MIR) and any other ECB series can be fetched with `rawSeriesKey`.

**Can I republish the values?** Yes, with the attribution in each row: the ECB allows reuse
if the ECB is quoted as the source, the statistics are not modified, and buyers are told the
data is free from the ECB; Eurostat allows reuse with acknowledgement of the source. Our
`change` field is marked as computed by Bosco Labs.

**Personal data?** None. These are aggregate statistics.

# Actor input Schema

## `series` (type: `array`):

Which series to fetch, by plain name (case-insensitive), up to 20 per run, e.g. \["ecb_deposit_rate", "eur_fx:USD", "hicp:EA"]. Names: ecb_deposit_rate, ecb_main_refi_rate, ecb_marginal_lending_rate (one observation per rate change), estr (€STR), eur_fx:<CUR> (ECB reference rate, CUR per 1 EUR, e.g. eur_fx:GBP), euro_area_yield_curve:<maturity> (AAA spot yield, e.g. 10Y, 3M, 1Y6M; add :all for all government bonds), gov_bond_10y:<country> (monthly average 10-year yield, about 6 weeks behind, e.g. gov_bond_10y:IT), hicp:<geo>\[:<variant>] (Eurostat inflation; geo EA, EU or NL, DE, ...; variant annual (default), monthly, index, core, energy, food, services, goods, or an ECOICOP 2 code like CP01). An unknown name fails at once with suggestions and costs nothing. Empty (with no rawSeriesKey) = list the catalogue for free.

## `last` (type: `integer`):

How many of the newest observations to return per series, e.g. 12 (the last 12 months of a monthly series). Empty = 12, or with dateFrom every observation in the window (up to 1000). latest_value, previous_value and change are always filled. The price is the same for any number.

## `dateFrom` (type: `string`):

First date of the window, YYYY-MM-DD, e.g. "2026-01-01". For monthly series the month holding the date counts. Empty = no lower bound (only `last` limits).

## `dateTo` (type: `string`):

Last date of the window, YYYY-MM-DD, e.g. "2026-03-15". With last = 1 you get the value on that date or the last one before it (weekends and holidays have no FX value). Empty = up to the latest published value.

## `frequency` (type: `string`):

Only where the source has it: eur_fx daily (default), monthly or annual averages; policy rates daily (rate on every day) instead of the default one-row-per-change. Other series keep their own frequency and say so in `warnings`. Empty = each series' default.

## `rawSeriesKey` (type: `array`):

Optional full ECB Data Portal series keys (dataflow + key, every dimension filled, no wildcards), e.g. \["EXR.M.CHF.EUR.SP00.E"]. Same output and price as named series. Empty = none.

## `mode` (type: `string`):

"series" (default) fetches the series above. "catalogue" returns one row per supported name pattern with its source dataset, key template, frequencies, unit and an example, free of charge.

## Actor input object example

```json
{
  "series": [
    "ecb_deposit_rate",
    "eur_fx:USD",
    "hicp:EA"
  ],
  "frequency": "",
  "mode": "series"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "series": [
        "ecb_deposit_rate",
        "eur_fx:USD",
        "hicp:EA"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("bosco_labs/eu-rates-inflation").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "series": [
        "ecb_deposit_rate",
        "eur_fx:USD",
        "hicp:EA",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("bosco_labs/eu-rates-inflation").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "series": [
    "ecb_deposit_rate",
    "eur_fx:USD",
    "hicp:EA"
  ]
}' |
apify call bosco_labs/eu-rates-inflation --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bosco_labs/eu-rates-inflation"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/CXdGzhH4PUQ9LpkqP/builds/SDEespXdlUWjfJANT/openapi.json
