Reference · Public data
Foreign exchange rates
Daily Euro and US Dollar reference exchange rates for 41 currencies since 1999.
European Central Bank (Euro foreign exchange reference rates) · Free reuse with attribution · commons_pubdata.reference.fx_rates
- 229,428rows
- 41 major world currenciescoverage
- Dailyrefresh
- 28 Nov 2026last refreshed
- 4.8 MBtable size

| date | currency | rate_per_eur | eur_per_unit | usd_per_unit |
|---|---|---|---|---|
| 1999-01-04 | AUD | 1.91 | 0.52356021 | 0.61722513 |
| 1999-01-04 | CAD | 1.8004 | 0.55543213 | 0.65479893 |
| 1999-01-04 | CHF | 1.6168 | 0.61850569 | 0.72915636 |
| 1999-01-04 | CYP | 0.58231 | 1.71729835 | 2.02452302 |
| 1999-01-04 | CZK | 35.107 | 0.02848435 | 0.0335802 |
| 1999-01-04 | DKK | 7.4501 | 0.13422639 | 0.15823949 |
| 1999-01-04 | EEK | 15.6466 | 0.06391165 | 0.07534544 |
| 1999-01-04 | EUR | 1.0 | 1.0 | 1.1789 |
The first rows of reference.fx_rates as of 28 Nov 2026.
Query it with DuckDB.
Bash
lhbox duckdb --catalog commons/pubdata
SQL · Latest exchange rates for the major currencies
SELECT date, currency, round(rate_per_eur, 4) AS per_eur, round(usd_per_unit, 4) AS usd_per_unit FROM commons_pubdata.reference.fx_rates WHERE date = (SELECT max(date) FROM commons_pubdata.reference.fx_rates) AND currency IN ('USD', 'GBP', 'JPY', 'CHF', 'CAD', 'AUD', 'CNY', 'BRL', 'INR', 'MXN') ORDER BY currency;
SQL · DuckDB 1.5.5 or newer, no key
INSTALL iceberg; LOAD iceberg; INSTALL httpfs; LOAD httpfs; ATTACH 'commons/pubdata' AS pubdata (TYPE iceberg, ENDPOINT 'https://public-catalog.lakehousebox.com', AUTHORIZATION_TYPE 'none');
SQL · Latest exchange rates for the major currencies
SELECT date, currency, round(rate_per_eur, 4) AS per_eur, round(usd_per_unit, 4) AS usd_per_unit FROM pubdata.reference.fx_rates WHERE date = (SELECT max(date) FROM pubdata.reference.fx_rates) AND currency IN ('USD', 'GBP', 'JPY', 'CHF', 'CAD', 'AUD', 'CNY', 'BRL', 'INR', 'MXN') ORDER BY currency;
Read it where you work.
Public, read-only data. With an account, lhbox duckdb attaches the catalog as commons_pubdata; an agent with the LakehouseBox connector opens it with open_public_catalog("commons/pubdata"). Without one, DuckDB reads the public files directly.
More example queries
Convert your daily invoices in local currency into EUR and USD (carrying Friday's rate over weekends)
SQLSELECT i.invoice_id, i.invoice_date, i.currency, i.amount, round(i.amount * fx.eur_per_unit, 2) AS amount_eur, round(i.amount * fx.usd_per_unit, 2) AS amount_usd FROM my.invoices AS i ASOF JOIN commons_pubdata.reference.fx_rates AS fx ON i.currency = fx.currency AND i.invoice_date >= fx.date;
Know your columns.
| Column | Type | Meaning |
|---|---|---|
date | date | reference business day (CET, no weekend or TARGET holiday rows) |
currency | string | ISO 4217 3-letter currency code (joins reference.countries on currency_code) |
rate_per_eur | double | units of currency per 1 EUR (the official ECB quote) |
eur_per_unit | double | EUR per 1 unit of currency (multiply an amount in currency by this to get EUR) |
usd_per_unit | double | USD per 1 unit of currency (multiply an amount in currency by this to get USD) |
Join keys: date, currency.
Before you query.
- The ECB publishes rates only on TARGET business days (no Saturdays, Sundays or ECB holidays).
- When converting daily transactions that include weekends or holidays, use DuckDB's `ASOF JOIN ...
- ON t.currency = fx.currency AND t.date >= fx.date` so weekend dates pick up the preceding Friday's rate.
EURitself is included withrate_per_eur = 1.0andeur_per_unit = 1.0so a join never drops Euro-denominated rows.
Source & licence.
- Source
- European Central Bank (Euro foreign exchange reference rates)
- Licence
- Free reuse with attribution (ECB statistics reuse policy)
- Attribution
- Source: European Central Bank (ECB), Euro foreign exchange reference rates.
- Coverage
- 41 major world currencies (ISO 4217); 1999-01-04 to the latest TARGET business day
- Refresh
- daily, the whole table replaced; source version Fri, 27 Nov 2026 14:56:38 GMT
- Table
commons/pubdata·reference.fx_rates· Iceberg v2 · browse the catalog- Recipe
pubdata/recipes/fx_rates.py, registry entrypubdata/registry/fx_rates.yaml
Source: European Central Bank (Euro foreign exchange reference rates) · Free reuse with attribution · Snapshot shown: 28 Nov 2026HTML for people. Markdown for agents.
# Foreign exchange rates
*Daily Euro and US Dollar reference exchange rates for 41 currencies since 1999.*
Daily foreign exchange reference rates published by the European Central Bank (ECB) at ~16:00 CET on every TARGET business day from 1999-01-04 on. Unpivoted to one row per calendar business day and ISO 4217 currency code, with three ready-to-multiply rates: units of the currency per 1 EUR (`rate_per_eur`), EUR per 1 unit of the currency (`eur_per_unit`), and USD per 1 unit of the currency (`usd_per_unit`, cross-computed from that day's ECB USD/EUR reference rate). Joins `reference.countries` on `currency = currency_code` and time-series tables on `date`.
## At a glance
| | |
|---|---|
| Table | `pubdata.reference.fx_rates` |
| Category | Reference · Daily, Time series, Country |
| Rows | 229,428 |
| Size | 4.8 MB in 1 data file(s) |
| Iceberg format | v2 |
| Last refreshed | 2026-11-28T12:55:47Z |
| Source version | Fri, 27 Nov 2026 14:56:38 GMT |
| Refresh cadence | daily (replace) |
| Coverage | 41 major world currencies (ISO 4217); 1999-01-04 to the latest TARGET business day |
## Origin
- **Source:** [European Central Bank (Euro foreign exchange reference rates)](https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html)
- **Licence:** Free reuse with attribution (ECB statistics reuse policy)
- **Attribution:** Source: European Central Bank (ECB), Euro foreign exchange reference rates.
- **Recipe:** `pubdata/recipes/fx_rates.py` in the LakehouseBox repository; registry entry `pubdata/registry/fx_rates.yaml`.
## Schema
| column | type | description |
|---|---|---|
| `date` | date | reference business day (CET, no weekend or TARGET holiday rows) |
| `currency` | string | ISO 4217 3-letter currency code (joins reference.countries on currency_code) |
| `rate_per_eur` | double | units of `currency` per 1 EUR (the official ECB quote) |
| `eur_per_unit` | double | EUR per 1 unit of `currency` (multiply an amount in `currency` by this to get EUR) |
| `usd_per_unit` | double | USD per 1 unit of `currency` (multiply an amount in `currency` by this to get USD) |
**Join keys:** `date`, `currency`.
## For agents
The ECB publishes rates only on TARGET business days (no Saturdays, Sundays or ECB holidays). When converting daily
transactions that include weekends or holidays, use DuckDB's `ASOF JOIN ... ON t.currency = fx.currency AND
t.date >= fx.date` so weekend dates pick up the preceding Friday's rate. `EUR` itself is included with
`rate_per_eur = 1.0` and `eur_per_unit = 1.0` so a join never drops Euro-denominated rows.
## Example SQL (DuckDB)
```sql
-- latest exchange rates for the major currencies
SELECT date, currency, round(rate_per_eur, 4) AS per_eur, round(usd_per_unit, 4) AS usd_per_unit
FROM pubdata.reference.fx_rates
WHERE date = (SELECT max(date) FROM pubdata.reference.fx_rates)
AND currency IN ('USD', 'GBP', 'JPY', 'CHF', 'CAD', 'AUD', 'CNY', 'BRL', 'INR', 'MXN')
ORDER BY currency;
-- convert your daily invoices in local currency into EUR and USD (carrying Friday's rate over weekends)
SELECT i.invoice_id, i.invoice_date, i.currency, i.amount,
round(i.amount * fx.eur_per_unit, 2) AS amount_eur,
round(i.amount * fx.usd_per_unit, 2) AS amount_usd
FROM my.invoices AS i
ASOF JOIN pubdata.reference.fx_rates AS fx
ON i.currency = fx.currency AND i.invoice_date >= fx.date;
```
## How to read it
Without an account, over HTTPS (the bucket is public):
```sql
INSTALL iceberg; LOAD iceberg; INSTALL httpfs; LOAD httpfs;
ATTACH 'commons/pubdata' AS pubdata (TYPE iceberg, ENDPOINT 'https://public-catalog.lakehousebox.com', AUTHORIZATION_TYPE 'none');
SELECT * FROM pubdata.reference.fx_rates LIMIT 10;
```
With a LakehouseBox account:
```bash
# with a LakehouseBox account (any organisation): the public catalog by name, read-only
lhbox duckdb --catalog commons/pubdata # opens DuckDB attached as `commons_pubdata`
SELECT * FROM commons_pubdata.reference.fx_rates LIMIT 10;
```
Public URL of the table's storage: `https://s3.lakehousebox.com/commons--pubdata/reference/fx_rates/`. This card: `https://lakehousebox.com/pubdata/cards/fx_rates.md`; the page: https://lakehousebox.com/public-data/fx_rates. Every dataset as a table: `commons_pubdata.meta.datasets`; as Markdown: https://lakehousebox.com/public-data.md.