South Star

Currency Converter ECB Rates Convert History Batch API

Free tier included · Finance
Convert currencies with ECB reference rates, historical lookups, time series, and batch conversion.

Currency Converter API converts between currencies using the ECB daily reference-rate snapshot (EUR base, ~30 currencies). It offers spot conversion, full rate listings, historical single-day lookups back to 1999, daily cross-rate time series, and batch conversion of up to 100 currency pairs in one call. Rates are reference values downloaded to a local SQLite database — not a live trading feed.

Use it to price e-commerce checkouts in the shopper's currency, generate multi-currency invoices or price lists in a single batch call, backtest FX strategies against historical ECB rates, or power dashboards with daily cross-rate time series. The service is offline at request time: no calls to external FX providers, no request logs, no cross-request state. A 7-day freshness window is reported by /stats so callers can decide whether to proceed.

Honest limits: this API uses the ECB snapshot only. It does not provide real-time market rates, bid/ask spreads, or trading. /convert accepts one pair per call with |value| ≤ 1e15; /convert/batch accepts 1–100 items sharing one snapshot. /history and /timeseries go back to 1999 but skip dates with no ECB publication. /currencies exposes the full historical catalogue including retired currencies. Unknown currency codes and non-finite amounts are rejected with 422.

Endpoints

MethodPathWhat it does
GET/Service info: API name, version, and links to health and docs.
GET/healthLiveness probe; returns status "ok" while the process is up.
GET/statsSnapshot statistics: database availability, currency count, snapshot date, age, and staleness flag.
GET/ratesAll ECB reference rates against EUR, with snapshot date.
GET/convertConvert an amount between two currencies using the ECB snapshot.
GET/currenciesList all supported currencies with data coverage, searchable by code or name, filterable to active only.
GET/historyHistorical reference rate for a specific date, with optional amount conversion.
GET/timeseriesDaily cross-rate time series between two currencies over a date range.
POST/convert/batchConvert up to 100 currency pairs in one call against the same snapshot.

Quick start

curl -X GET "https://currency.p.rapidapi.com/stats" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: currency.p.rapidapi.com"

FAQ

Are these real-time market rates?

No. The API uses the ECB daily reference-rate snapshot, updated once per day. It does not provide live bid/ask spreads or trading rates.

Does the API make external calls at request time?

No. Rates are stored in a local SQLite database downloaded from the ECB. All conversions are offline and stateless.

How far back does historical data go?

/history and /timeseries support dates back to 1999. Dates without an ECB publication (weekends, TARGET holidays) are skipped or fall back to the latest earlier publication.

Can I convert many currency pairs at once?

Yes. POST /convert/batch accepts 1–100 items in a single request, all evaluated against the same snapshot.

Try Currency Converter ECB Rates Convert History Batch free

Free tier on every plan. Get an API key and start calling in under a minute.

Open on RapidAPI

Related APIs