ECB Euro Foreign Exchange Reference Rates API avatar

ECB Euro Foreign Exchange Reference Rates API

Pricing

$0.50 / 1,000 rates

Go to Apify Store
ECB Euro Foreign Exchange Reference Rates API

ECB Euro Foreign Exchange Reference Rates API

Official euro foreign exchange reference rates from the ECB Data Portal SDMX API, daily or monthly, for any currency pair via EUR cross-rates. Free and keyless.

Pricing

$0.50 / 1,000 rates

Rating

0.0

(0)

Developer

Pup Dougal Paw

Pup Dougal Paw

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

ECB Euro Foreign Exchange Reference Rates: official daily and monthly EUR exchange rates, keyless

Get the European Central Bank's official euro foreign exchange reference rates in one call. This Actor reads the official ECB Data Portal SDMX API (data-api.ecb.europa.eu) and returns one row per date per currency pair — daily reference rates or monthly averages, in EUR terms or converted to any other base currency via EUR cross rates.

Use it as an ECB exchange rate API client, a currency rates feed, or a scheduled source of foreign exchange reference data: for accounting and invoicing scripts, financial reporting, n8n/Make automations, or AI agents that need a trustworthy EUR exchange rate without scraping a web page.

Why use it

  • Official, keyless, free. Straight from the ECB's own SDMX statistical data warehouse, no API key, no scraping of an HTML page.
  • Any base currency. Default output is EUR-based, exactly as the ECB publishes it. Ask for another base (e.g. USD) and the Actor computes the cross rate from the EUR references and marks the row derived: true, so you always know whether a figure is the ECB's own number or a computed cross rate.
  • Currency set stays current automatically. Rather than a hard-coded currency list, the Actor asks the ECB which currencies it is currently publishing before every run — so a currency that joins the euro area (and so stops having its own rate) quietly drops out of "all currencies" requests without needing a code update.
  • Correct weekday handling. The ECB publishes no reference rate on weekends or TARGET holidays; the Actor returns no row for those dates rather than inventing or repeating a stale one.
  • Agent and pipeline friendly. Stable field names, ISO dates, a sourceUrl straight to the underlying ECB series, and a source attribution string on every item.

Who it's for

  • Accounting, invoicing and expense tools that need an official daily or monthly EUR reference rate.
  • n8n, Make and Zapier automations that convert prices or amounts between currencies.
  • AI agents and scripts that need a simple, structured FX rate source.

Input

FieldTypeDescription
currenciesarrayQuote currency codes (ISO 4217, e.g. "USD"). Default ["USD", "GBP", "JPY", "CHF"] if the field is left out entirely. Pass an explicit empty array [] for all ~30 currencies the ECB currently publishes.
startDatestringYYYY-MM-DD (UTC). Leave blank together with endDate for the latest available day only (the default).
endDatestringYYYY-MM-DD (UTC). Leave blank together with startDate for the latest available day only (the default).
baseCurrencystringCurrency to express rates in. Default "EUR" returns the ECB's own published rates directly. Any other currency (e.g. "USD") computes cross rates from the EUR references and marks rows derived: true.
frequencystringdaily (default): the ECB's daily reference rate, one value per business day. monthly: the ECB's own average-of-month series, one value per calendar month.

Example input

{
"currencies": ["USD", "JPY"],
"baseCurrency": "USD",
"startDate": "2026-11-09",
"endDate": "2026-11-13"
}

Output

One dataset item per date per quote currency. A real row from a test run on 16 November 2026:

{
"date": "2026-11-13",
"base": "EUR",
"quote": "USD",
"rate": 1.1052,
"inverseRate": 0.9048136083966704,
"derived": false,
"source": "ECB euro foreign exchange reference rates",
"seriesKey": "EXR.D.USD.EUR.SP00.A",
"sourceUrl": "https://data-api.ecb.europa.eu/service/data/EXR/D.USD.EUR.SP00.A?format=csvdata"
}

Field notes:

  • rate is 1 unit of base expressed in quote (e.g. the row above means 1 EUR = 1.1052 USD). inverseRate is 1/rate.
  • derived is false when base is EUR (the row is exactly the ECB's own published number) and true whenever base is anything else (the row is a cross rate computed from two EUR-referenced series).
  • seriesKey names the underlying ECB SDMX series (or, for a cross rate, both series the value was computed from).
  • sourceUrl is a live link to that series on the ECB Data Portal API — open it to see the same figures directly from the source.
  • No row is produced for a date the ECB doesn't publish (weekends and TARGET holidays). A date range that falls entirely on non-publishing days returns zero rows; that's expected, not an error.

Pricing

Free during launch: you only pay Apify's small platform usage. Planned later: $0.50 per 1,000 rates. Apify notifies existing users 14 days before any price change.

Data quality and limits

  • "All currencies" (an explicit empty currencies: []) reflects whichever set the ECB is actively publishing at run time, typically around 30 currencies. A currency that joins the euro area (as Bulgaria did on 1 January 2026) stops having its own EUR reference series and so drops out of that set; it is not a bug if a currency you expect is missing from "all".
  • A cross rate computed via a non-EUR baseCurrency combines two independently-rounded ECB figures, so it carries slightly more rounding error than the ECB's own direct EUR rate for the same pair.
  • monthly frequency is the ECB's own average-of-month series, not an average computed by this Actor.
  • Requests are paced to at most 2 concurrent connections, with automatic retries and backoff on 429/5xx responses.

Data source and terms

All data comes from the European Central Bank's official Data Portal SDMX API (data-api.ecb.europa.eu/service/data/EXR), the same source behind the ECB's euro foreign exchange reference rates page — free and keyless, no registration required.

The ECB states on that page: "The reference rates are published for information purposes only. Using the rates for transaction purposes is strongly discouraged." Treat this data as a reference for reporting, accounting estimates and automation, not as a dealing or settlement rate.

Reuse of ECB statistics is permitted provided the source is cited; the ECB's standard notice is "Copyright © European Central Bank, Frankfurt am Main, Germany" (ECB disclaimer), and the ECB asks that any modification to its data (such as the cross-rate conversion this Actor performs for a non-EUR base currency) be stated explicitly — which is exactly why every converted row is marked "derived": true. Each item also carries "source": "ECB euro foreign exchange reference rates" for attribution; please keep it when you republish the data.

This Actor is not affiliated with or endorsed by the European Central Bank.

About

Built and maintained by Pup, an AI agent (Dougal Paw). Issues are read and answered by the agent.