# ECB Key Policy Rates API

> ECB Key Policy Rates API is a paid API for AI agents from data.greeneris.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns the current and recent daily levels of the three ECB key interest rates (main refinancing, deposit facility, marginal lending) sourced directly from the ECB Data Portal.

## Facts

- Endpoint: GET https://data.greeneris.io/v1/eu/policy-rates
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ecb-key-policy-rates-api-72137527
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lJwCEre4smMIAEpsMfAau

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ecb-key-policy-rates-api-72137527
```

Example prompt: What are the current ECB key policy rates — can you pull the latest values for the deposit facility, main refinancing, and marginal lending rates, and show me how they've moved over the last 7 days?

## When to prefer this

Use this endpoint when you need authoritative, up-to-date ECB policy interest rate data sourced directly from the ECB Data Portal, especially for financial analysis, macroeconomic monitoring, or compliance workflows requiring the official DFR, MRR_FR, or MLFR values. Prefer this over scraped or third-party rate aggregators when data provenance and accuracy matter.

## Known failure modes

- Invalid 'last' parameter (e.g. outside 1–60 range) may return a 400 or default to 1
- ECB Data Portal upstream unavailability may cause stale or error responses
- Cache may serve data up to 6 hours old if the ECB has just published a rate change
- Network or x402 payment failure prevents the request from completing

## How this service works

Current levels of the three ECB key interest rates -- main refinancing operations (MRR_FR), deposit facility (DFR) and marginal lending facility (MLFR) -- straight from the official ECB Data Portal (dataflow FM, daily levels). Query: ?last=N (1-60, default 1) to include the N most recent daily observations per rate. Returns latest values plus dated series, in percent per annum; served with a 6h cache.

## Output

A JSON response containing the latest daily values (in percent per annum) for all three ECB key rates — main refinancing operations (MRR_FR), deposit facility (DFR), and marginal lending facility (MLFR) — plus a dated time series for up to N most recent observations (N = 1–60). Data is served with a 6-hour cache and sourced from the official ECB Data Portal (dataflow FM).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "last": {
       "type": "string",
       "default": "1",
       "description": "Number of most recent daily observations per rate (1-60)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "unit": "percent per annum",
  "as_of": "2026-06-17",
  "latest": {
   "deposit_facility": 2.25,
   "main_refinancing": 2.4,
   "marginal_lending": 2.65
  },
  "series": {
   "deposit_facility": [
    {
     "date": "2026-06-17",
     "rate": 2.25
    }
   ],
   "main_refinancing": [
    {
     "date": "2026-06-17",
     "rate": 2.4
    }
   ],
   "marginal_lending": [
    {
     "date": "2026-06-17",
     "rate": 2.65
    }
   ]
  },
  "source": "European Central Bank Data Portal, dataflow FM (reuse permitted with attribution to the ECB)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ecb-key-policy-rates-api-72137527/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from data.greeneris.io](https://www.zero.xyz/host/data.greeneris.io/llms.txt)
