ECB Exchange Rates API + Invoice Currency Converter avatar

ECB Exchange Rates API + Invoice Currency Converter

Pricing

from $0.50 / 1,000 exchange rates

Go to Apify Store
ECB Exchange Rates API + Invoice Currency Converter

ECB Exchange Rates API + Invoice Currency Converter

Daily ECB euro reference rates for about 40 currencies since 1999, plus a batch converter: send invoice lines (date, amount, from, to) and get each one converted at that day's rate. No login.

Pricing

from $0.50 / 1,000 exchange rates

Rating

0.0

(0)

Developer

Oatpage

Oatpage

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 days ago

Last modified

Features

Limited permissions

Share

ECB Exchange Rates API + Invoice Currency Converter by Date

Independent tool. Not an official service and not endorsed by the European Central Bank. Need the official ECB euro exchange rate for a given day, or to convert a list of invoices at the rate of their date? Get daily euro foreign exchange reference rates (about 40 currencies, history since 1999) as clean JSON, or send a batch of lines and get each amount converted. No login, no API key.

Search terms this Actor answers: ECB exchange rates API, ECB reference rates, euro exchange rate history, historical currency converter, invoice currency conversion, EUR USD rate by date, tipo de cambio BCE, tipo de cambio histórico, Bank of Europe FX rates JSON.

Use cases

  • Bookkeeping and invoicing: convert foreign-currency invoices to EUR with the ECB rate of the invoice date (or the last one before it on weekends and holidays).
  • Finance and BI dashboards: load the daily rate history of USD, GBP, JPY and 40 more currencies into a spreadsheet or database.
  • E-commerce and pricing: refresh price lists once a day with the latest rate (latestOnly).
  • Research: build dated datasets of euro rates since 1999.

Data source: European Central Bank, euro foreign exchange reference rates (ECB Data Portal, data-api.ecb.europa.eu). The ECB allows reuse of its statistics provided the source is acknowledged. The actor only filters and structures the data; it does not change any rate. The ECB indicates that reference rates are for information purposes only and are not intended for transaction purposes.

Invoice converter (batch)

Send a list of lines and get each amount converted with the ECB reference rate of that date, or, when nothing was published that day (weekends, TARGET holidays), the last rate published before it. Every result says which rate date was used, so you can show it in your books.

Input (conversions):

[{"date":"2026-10-11","from":"USD","to":"EUR","amount":1200},
{"date":"2025-12-27","from":"GBP","to":"USD","amount":100}]

Output (real run):

{"type":"conversion","date":"2026-10-11","from":"USD","to":"EUR","amount":1200,"base":"EUR","rate":0.89237908,"rateDate":"2026-10-09","daysBack":2,"usedEarlierRate":true,"convertedAmount":1070.85}
{"type":"conversion","date":"2025-12-27","from":"GBP","to":"USD","amount":100,"base":"EUR","rate":1.3503265,"rateDate":"2025-12-24","daysBack":3,"usedEarlierRate":true,"convertedAmount":135.03}
  • Any pair works: rates go through the euro (rate = units of to per 1 from); EUR can be either side.
  • One request to the ECB serves the whole batch (up to 10,000 lines).
  • A line with no published rate on or before its date (before 1999 or before a currency started) comes back with error: "no_rate_published_on_or_before_date" and is not billed.
  • Billing: one rate event per converted line. Informational only: check with your accountant which rate and date your jurisdiction requires.

Input

FieldMeaningDefault
currencies3-letter codes (USD, GBP, JPY...); empty = allUSD, GBP
startDate, endDateRange in YYYY-MM-DDnone
conversionsBatch of {date, from, to, amount} lines (see above); when present, the fields below are ignorednone
latestOnlyOnly the latest rate per currencyfalse
maxItems1-100,000 rates, newest first100

Output (one record per currency and day)

{"date":"2026-10-09","currency":"JPY","currencyName":"Japanese yen","base":"EUR","rate":177.34,"inverseRate":0.00563889,"source":"European Central Bank, ECB euro foreign exchange reference rates","fetchedAt":"2026-10-10T18:47:22.868Z"}

rate = units of the currency per 1 EUR. inverseRate = EUR per 1 unit (calculated).

Pricing (pay per event)

  • Run start: $0.005
  • Rate: $0.0005 (one year of one currency, about 250 days = $0.125)

Limits

  • Rates are published on TARGET working days around 16:00 CET; weekends and holidays have no value.
  • Reference rates against the euro only; other pairs must be computed by you.
  • Not for trading or settlement.

Data protection

Only public macro-financial data. No personal data.