docs / currency

Currency & FX

Exchange rates, conversion and historical rates.

base /currency/v16 endpoints
post/currency/v1/latest1 credit

latest reference rates for a base (default EUR) → all or selected target currencies (+ unix timestamp)

ParameterAllowed / rangeDescription
base = EURoptionalEUR · USD · JPY · GBP · CHF · AUD · CAD · CNY · HKD · NZD · SEK · NOK · DKK · CZK · HUF · PLN · RON · BGN · TRY · ISK · ILS · INR · IDR · KRW · MYR · PHP · SGD · THB · ZAR · MXN · BRL · RUB · HRK · GRD · CYP · EEK · LTL · LVL · MTL · SIT · SKK · ROL · TRLBase currency the rates are expressed in (ISO-4217). Defaults to EUR. Retired codes (RUB/HRK/legacy euro-joiners) work only for historical dates that predate their discontinuation.
symbolsoptionalOptional comma-separated target currencies to return (e.g. 'USD,GBP,JPY'). Omit to return every currency in the ECB set. Unknown codes are reported under 'unavailable', not rejected.
Try in playground →
post/currency/v1/convert1 credit

convert an amount from→to at the latest rate (or a given historical date); returns rate + result

ParameterAllowed / rangeDescription
fromrequiredEUR · USD · JPY · GBP · CHF · AUD · CAD · CNY · HKD · NZD · SEK · NOK · DKK · CZK · HUF · PLN · RON · BGN · TRY · ISK · ILS · INR · IDR · KRW · MYR · PHP · SGD · THB · ZAR · MXN · BRL · RUB · HRK · GRD · CYP · EEK · LTL · LVL · MTL · SIT · SKK · ROL · TRLSource currency to convert FROM (ISO-4217).
torequiredEUR · USD · JPY · GBP · CHF · AUD · CAD · CNY · HKD · NZD · SEK · NOK · DKK · CZK · HUF · PLN · RON · BGN · TRY · ISK · ILS · INR · IDR · KRW · MYR · PHP · SGD · THB · ZAR · MXN · BRL · RUB · HRK · GRD · CYP · EEK · LTL · LVL · MTL · SIT · SKK · ROL · TRLTarget currency to convert TO (ISO-4217).
amount = 1optional0–Amount of the source currency to convert (default 1).
dateoptionalOptional historical date (YYYY-MM-DD) to convert at; omit for the latest published rate.
Try in playground →
post/currency/v1/historical1 credit

reference rates on a past date (YYYY-MM-DD; weekend/holiday → last working day) since 1999-01-04

ParameterAllowed / rangeDescription
daterequiredReference date (YYYY-MM-DD), since 1999-01-04. A weekend/holiday resolves to the last working day (echoed as requested_date).
base = EURoptionalEUR · USD · JPY · GBP · CHF · AUD · CAD · CNY · HKD · NZD · SEK · NOK · DKK · CZK · HUF · PLN · RON · BGN · TRY · ISK · ILS · INR · IDR · KRW · MYR · PHP · SGD · THB · ZAR · MXN · BRL · RUB · HRK · GRD · CYP · EEK · LTL · LVL · MTL · SIT · SKK · ROL · TRLBase currency the rates are expressed in (ISO-4217). Defaults to EUR. Retired codes (RUB/HRK/legacy euro-joiners) work only for historical dates that predate their discontinuation.
symbolsoptionalOptional comma-separated target currencies to return (e.g. 'USD,GBP,JPY'). Omit to return every currency in the ECB set. Unknown codes are reported under 'unavailable', not rejected.
Try in playground →
post/currency/v1/timeseries2 credits

rates over a date range (working days) for a base → selected/all targets; {date:{CUR:val}}

ParameterAllowed / rangeDescription
startrequiredRange start date (YYYY-MM-DD, inclusive). Only ECB working days inside the range are returned.
endrequiredRange end date (YYYY-MM-DD, inclusive).
base = EURoptionalEUR · USD · JPY · GBP · CHF · AUD · CAD · CNY · HKD · NZD · SEK · NOK · DKK · CZK · HUF · PLN · RON · BGN · TRY · ISK · ILS · INR · IDR · KRW · MYR · PHP · SGD · THB · ZAR · MXN · BRL · RUB · HRK · GRD · CYP · EEK · LTL · LVL · MTL · SIT · SKK · ROL · TRLBase currency the rates are expressed in (ISO-4217). Defaults to EUR. Retired codes (RUB/HRK/legacy euro-joiners) work only for historical dates that predate their discontinuation.
symbolsoptionalOptional comma-separated target currencies to return (e.g. 'USD,GBP,JPY'). Omit to return every currency in the ECB set. Unknown codes are reported under 'unavailable', not rejected.
Try in playground →
post/currency/v1/fluctuation2 credits

per-currency change over a date range: {CUR:{start_rate,end_rate,change,change_pct}} (derived from the range endpoints)

ParameterAllowed / rangeDescription
startrequiredRange start date (YYYY-MM-DD, inclusive). Only ECB working days inside the range are returned.
endrequiredRange end date (YYYY-MM-DD, inclusive).
base = EURoptionalEUR · USD · JPY · GBP · CHF · AUD · CAD · CNY · HKD · NZD · SEK · NOK · DKK · CZK · HUF · PLN · RON · BGN · TRY · ISK · ILS · INR · IDR · KRW · MYR · PHP · SGD · THB · ZAR · MXN · BRL · RUB · HRK · GRD · CYP · EEK · LTL · LVL · MTL · SIT · SKK · ROL · TRLBase currency the rates are expressed in (ISO-4217). Defaults to EUR. Retired codes (RUB/HRK/legacy euro-joiners) work only for historical dates that predate their discontinuation.
symbolsoptionalOptional comma-separated target currencies to return (e.g. 'USD,GBP,JPY'). Omit to return every currency in the ECB set. Unknown codes are reported under 'unavailable', not rejected.
Try in playground →
post/currency/v1/currencies1 credit

the current ECB reference currency set (code → name)

Try in playground →