ECB Exchange Rates (Official EUR Reference Rates) avatar

ECB Exchange Rates (Official EUR Reference Rates)

Pricing

from $1.00 / 1,000 exchange rate founds

Go to Apify Store
ECB Exchange Rates (Official EUR Reference Rates)

ECB Exchange Rates (Official EUR Reference Rates)

Pulls the European Central Bank's official daily reference rates from the ECB Data Portal API and the eurofxref feed. 30+ currencies, historical data over a date range, cross rates for non-EUR bases. No API key needed.

Pricing

from $1.00 / 1,000 exchange rate founds

Rating

0.0

(0)

Developer

Korhan Coşan Ergün

Korhan Coşan Ergün

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Features

Limited permissions

Share

Pulls the official euro reference rates of the European Central Bank (ECB) from key-free, open sources. No scraping — one is a REST/SDMX API, the other the official XML feed.

  • ECB Data Portal REST API (SDMX) — historical data over a date range. https://data-api.ecb.europa.eu/service/data/EXR/<key>?format=csvdata (the official successor of the old sdw-wsrest.ecb.europa.eu address, which is no longer live)
  • eurofxref daily feed — the latest business day, 30+ currencies, a single request. https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml

ECB statistics may be used freely with attribution (terms of use).

Two run modes

InputModeWhat it does
dateFrom/dateTo emptyDaily XML feedRates for the latest business day — a single request, ~50 ms
dateFrom and/or dateTo filled inData Portal APIA series over a date range (daily/monthly/annual)

If the API has an outage, the actor automatically falls back to the 90-day XML feed.

Input

FieldDescription
currenciesISO 4217 codes, e.g. ["USD","GBP","TRY"]. Use ["ALL"] for all of them
baseCurrencyEUR by default. If another value is given, the cross rate is computed via EUR
dateFrom / dateToISO 8601 date range. If both are empty, the latest business day
frequencydaily, monthly (monthly average), annual (annual average)
maxItemsMaximum records (1 record = 1 date × 1 currency)

Supported currencies: USD, JPY, BGN, CZK, DKK, GBP, HUF, PLN, RON, SEK, CHF, ISK, NOK, TRY, AUD, BRL, CAD, CNY, HKD, IDR, ILS, INR, KRW, MXN, MYR, NZD, PHP, SGD, THB, ZAR.

Output (each record)

{
"id": "EUR-USD-daily-2026-11-09",
"title": "EUR/USD 2026-11-09: 1.1193",
"date": "2026-11-09",
"source": "ecb_daily_xml_feed",
"currency": "USD",
"base_currency": "EUR",
"currency_pair": "EUR/USD",
"rate": 1.1193,
"inverse_rate": 0.89341553,
"frequency": "daily",
"series_key": "D.USD.EUR.SP00.A",
"eur_rate": 1.1193,
"is_cross_rate": false,
"publisher": "European Central Bank"
}
  • rate = how much currency one unit of base_currency buys (the ECB convention).
  • inverse_rate = the inverse.
  • eur_rate = the raw EUR rate for the same day (for auditing cross-rate calculations).
  • is_cross_rate = when true, the value was derived from two ECB reference rates.

sample_output.json contains 4 records taken from real local runs (covering the daily feed, a non-EUR cross rate and the monthly series modes).

Pricing (PPE)

A rate-found event is fired for every rate record — $0.001 per record.

Local run

cd ~/rua/products/apify/ecb-exchange-rates
mkdir -p storage/key_value_stores/default
cat > storage/key_value_stores/default/INPUT.json <<'EOF'
{"currencies": ["USD","GBP","TRY"], "baseCurrency": "EUR",
"dateFrom": "2026-10-01", "dateTo": "2026-11-09", "maxItems": 100}
EOF
APIFY_LOCAL=1 python3 main.py
# output: storage/datasets/default/*.json

Known limitations

  • ECB reference rates are only published on TARGET business days (there are no records for weekends/holidays) and are updated around 16:00 CET each day.
  • On a cold cache the Data Portal API can return 504 on the first request; the actor retries automatically, so the first call over a wide date range may take 30–60 s.
  • The rates are for information purposes; ECB does not warrant them for transactional use.
  • At monthly/annual frequency the date field comes back as 2026-10 / 2026 (no day).