# European Central Bank Euro Reference Rates API

> Daily euro reference rates by currency from the European Central Bank.

- Page: https://cleanedweb.com/catalog/european-central-bank-euro-reference-rates-api/
- Contract (JSON): https://cleanedweb.com/catalog/european-central-bank-euro-reference-rates-api/contract.json
- Source: ecb.europa.eu (https://www.ecb.europa.eu/)
- Category: Public data
- Updated: 2026-12-01

## About

The European Central Bank publishes euro reference rates each working day. One record is one currency.

Each record has the currency code and name, the spot rate against the euro, the reference date, recent daily values and the currency page link.

There are no filters: a run reads the list of currencies as it is. max_items limits how many records a run returns.

## Typical uses

- Convert amounts to and from euros
- Keep a daily rate table
- Chart a currency against the euro

A run reads until the source ends or your `max_items`, `timeout_seconds` or budget stops it.

## Key fields

| Field | Type | Sample value |
| --- | --- | --- |
| `title` | string | `USD` |
| `currency.name` | string | `US dollar` |
| `url` | string | `https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/eurofxref-graph-usd.en.html` |
| `rate.reference_date` | string | `30 November 2026` |
| `rate.spot_rate` | number | `1.0894` |
| `_page.skip_to` | string | `navigation content footer` |
| `_page.analyse_the_results_url` | array of string | `https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/usd.xml, https://www.ecb.europa.eu/rss/fxref-usd.html` |

Sample values come from one saved record, not a live run. Every field with its type, and the schemas, are in https://cleanedweb.com/catalog/european-central-bank-euro-reference-rates-api/contract.json

## Inputs

This API has no filters. A run reads the whole collection.

`enrich_records` is on by default and adds the fields that only appear on each record's detail page. Send `false` to read list fields only. See https://cleanedweb.com/docs/run-api/

## Request

`POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_e96901a30c6176093d371285/endpoints/generated_e96901a30c6176093d371285_search/run`

```bash
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_e96901a30c6176093d371285/endpoints/generated_e96901a30c6176093d371285_search/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {},
  "version": 2,
  "max_items": 25
}'
```

Send an `Idempotency-Key` header with every run and save it before you send. Reuse it only to retry the same request. If the run does not end within `wait_seconds`, read the result with the same API key and key:

`GET https://api.cleanedweb.com/v1/catalog/public/apis/generated_e96901a30c6176093d371285/endpoints/generated_e96901a30c6176093d371285_search/result`

## Versions

Current: `2.0`. Pin a major with "version": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.

- v2: current, newest minor `2.0`
- v1: deprecated, newest minor `1.0`, sunsets 2027-01-30

### Changelog

- `2.0` (major) 2026-12-01
  - Records are now grouped: related fields sit under shared keys, so 8 field(s) have new paths (each listed below). Callers pinned to the previous major keep the previous shape until its sunset.
  - Field \`currency_code\` is now \`currency.code\`.
  - Field \`currency_name\` is now \`currency.name\`.
  - Field \`reference_date\` is now \`rate.reference_date\`.
  - Field \`spot_rate\` is now \`rate.spot_rate\`.
  - Field \`skip_to\` is now \`_page.skip_to\`.
  - Field \`calendar_values\` is now \`rate.calendar_values\`.
  - Field \`analyse_the_results_url\` is now \`_page.analyse_the_results_url\`.
  - Field \`analyse_the_results_items\` is now \`_page.analyse_the_results_items\`.
- `1.0` (major) 2026-11-29

The same changelog, as data, is in https://cleanedweb.com/catalog/european-central-bank-euro-reference-rates-api/contract.json

## Use it from an AI agent

MCP server: https://api.cleanedweb.com/mcp?profile=catalog (Streamable HTTP). Sign in with a CleanedWeb account when the client asks (OAuth), or send an API key with the `read` and `run` scopes as `Authorization: Bearer`. Call `get_api` with `api_id` `generated_e96901a30c6176093d371285`, then `run_api` with the `run_with` arguments it returns. See https://cleanedweb.com/docs/mcp/

## Run it

Reading the catalog needs no credential. Running needs a CleanedWeb account and an API key with the `run` scope; the first 5,000 records are free, then $1 per 1,000 records. See https://cleanedweb.com/docs/run-catalog-api/

CleanedWeb is not affiliated with European Central Bank.
