Fetch the latest or historical Euro foreign exchange reference rates from the European Central Bank.
Usage
ecb_euro_rates(x = c("latest", "history"))
Value
A data.table::data.table()
with the reference rates.
Details
Note you can achieve the same by calling the ecb_data()
function with the right
parameters for each currency.
The reference rates are usually updated at around 16:00 CET every working day, except on TARGET closing days.
They are based on the daily concertation procedure between central banks across Europe, which normally takes place around 14:10 CET. The reference rates are published for information purposes only. Using the rates for transaction purposes is strongly discouraged.
Examples
# \donttest{
ecb_euro_rates()
#> date currency rate
#> <Date> <char> <num>
#> 1: 2025-08-01 USD 1.1404
#> 2: 2025-08-01 JPY 171.6100
#> 3: 2025-08-01 BGN 1.9558
#> 4: 2025-08-01 CZK 24.5880
#> 5: 2025-08-01 DKK 7.4629
#> 6: 2025-08-01 GBP 0.8665
#> 7: 2025-08-01 HUF 400.1500
#> 8: 2025-08-01 PLN 4.2755
#> 9: 2025-08-01 RON 5.0750
#> 10: 2025-08-01 SEK 11.1965
#> 11: 2025-08-01 CHF 0.9312
#> 12: 2025-08-01 ISK 143.0000
#> 13: 2025-08-01 NOK 11.8128
#> 14: 2025-08-01 TRY 46.3784
#> 15: 2025-08-01 AUD 1.7756
#> 16: 2025-08-01 BRL 6.4129
#> 17: 2025-08-01 CAD 1.5822
#> 18: 2025-08-01 CNY 8.2243
#> 19: 2025-08-01 HKD 8.9521
#> 20: 2025-08-01 IDR 18839.0700
#> 21: 2025-08-01 ILS 3.9053
#> 22: 2025-08-01 INR 99.7900
#> 23: 2025-08-01 KRW 1601.8300
#> 24: 2025-08-01 MXN 21.6158
#> 25: 2025-08-01 MYR 4.8781
#> 26: 2025-08-01 NZD 1.9456
#> 27: 2025-08-01 PHP 66.3170
#> 28: 2025-08-01 SGD 1.4811
#> 29: 2025-08-01 THB 37.4620
#> 30: 2025-08-01 ZAR 20.8958
#> date currency rate
# }