Swiss Federal Office for Customs and Border Security Exchange Rates Today & Official API

Official Swiss Federal Office for Customs and Border Security rates for 27 Oct 2026: 1 USD = 0.8218 CHF, 1 EUR = 0.9507 CHF. All 72 currencies published, history back to 2000. Free JSON API for tax, audits, and compliant invoicing.

By Madhushan, Founder & Lead Developer

Switzerland flagSwiss Federal Office for Customs and Border Security official daily exchange rates as JSON: 72 currencies against the CHF, history back to 2000. Latest table on every plan. Get your API key.

About Swiss Federal Office for Customs and Border Security

The Federal Office for Customs and Border Security (BAZG) sets the exchange rates that apply to Swiss customs declarations and import VAT. It publishes a rate each working morning that is legally valid for the following day — a Friday publication covers the weekend and Monday — which makes it the only daily official Swiss rate: the Swiss National Bank publishes monthly averages rather than a daily fixing.

Quick start

You need a free API key to run these. Register in under a minute — no card required.

Get a free API key Already registered? Copy your key from the dashboard.

One request for the pair you need — EUR to CHF at the official Swiss Federal Office for Customs and Border Security rate:

curl "https://allratestoday.com/api/v1/central-bank/bazg/latest?source=EUR&target=CHF" \
  -H "Authorization: Bearer art_live_your_key"

What comes back — a real response built from the table in force (2026-10-27):

{
  "bank": "bazg",
  "name": "Swiss Federal Office for Customs and Border Security",
  "rate_date": "2026-10-27",
  "source": "EUR",
  "target": "CHF",
  "rate": 0.93343,
  "rate_type": "reference",
  "derived": false,
  "method": "published",
  "age_days": 0,
  "stale": false,
  "cadence": "daily",
  "disclaimer": "Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned."
}

Or the bank's full published table:

curl "https://allratestoday.com/api/v1/central-bank/bazg/latest" \
  -H "Authorization: Bearer art_live_your_key"

The full-table response has the same envelope with every published row (first rows shown):

{
  "bank": "bazg",
  "name": "Swiss Federal Office for Customs and Border Security",
  "rate_date": "2026-10-27",
  "age_days": 0,
  "stale": false,
  "cadence": "daily",
  "rates": [
    {"base":"AED","quote":"CHF","type":"monthly_average","value":0.223808},
    {"base":"AED","quote":"CHF","type":"reference","value":0.22658370000000003},
    {"base":"ALL","quote":"CHF","type":"monthly_average","value":0.010393},
    {"base":"ALL","quote":"CHF","type":"reference","value":0.0103205},
    … 140 more rows
  ],
  "disclaimer": "Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned."
}

On paid plans, any historical date or a time series:

curl "https://allratestoday.com/api/v1/central-bank/bazg/history?source=EUR&target=CHF&from=2025-01-01" \
  -H "Authorization: Bearer art_live_your_key"

Latest published rates (2026-10-27)

Below is the current table from Swiss Federal Office for Customs and Border Security, unmodified — what a call to /latest returns right now, with values CHF per 1 unit of each currency:

Download this table: Excel (.xlsx) CSV

Download history:
Choose currencies: USD
Excel (.xlsx) CSV

One row per currency per publication date. Up to one year per download. Billed as one API call per currency per month of data.

BaseQuoteTypeRate
AED CHF monthly_average 0.223808
AED CHF reference 0.22658370000000003
ALL CHF monthly_average 0.010393
ALL CHF reference 0.0103205
ARS CHF monthly_average 0.0005
ARS CHF reference 0.00055
AUD CHF monthly_average 0.5882
AUD CHF reference 0.58491
AZN CHF monthly_average 0.4833
AZN CHF reference 0.48947
BAM CHF monthly_average 0.486391
BAM CHF reference 0.47757890000000003
BDT CHF monthly_average 0.006724
BDT CHF reference 0.006783900000000001
BHD CHF monthly_average 2.1912
BHD CHF reference 2.21972
BRL CHF monthly_average 0.160109
BRL CHF reference 0.16748280000000001
CAD CHF monthly_average 0.5914
CAD CHF reference 0.59431
CLP CHF monthly_average 0.0008761999999999999
CLP CHF reference 0.0008361800000000001
CNY CHF monthly_average 0.12244899999999999
CNY CHF reference 0.12477840000000001
COP CHF monthly_average 0.00026105000000000003
COP CHF reference 0.00026664
CRC CHF monthly_average 0.0018244000000000001
CRC CHF reference 0.00183147
CZK CHF monthly_average 0.039265
CZK CHF reference 0.0383745
DKK CHF monthly_average 0.127183
DKK CHF reference 0.12488950000000001
DOP CHF monthly_average 0.014178
DOP CHF reference 0.013908700000000001
DZD CHF monthly_average 0.00623
DZD CHF reference 0.0062412
EGP CHF monthly_average 0.016083
EGP CHF reference 0.0151374
ETB CHF monthly_average 0.005063
ETB CHF reference 0.005144300000000001
EUR CHF monthly_average 0.9507
EUR CHF reference 0.93343
GBP CHF monthly_average 1.1085
GBP CHF reference 1.11317
GEL CHF monthly_average 0.319302
GEL CHF reference 0.3242548
GTQ CHF monthly_average 0.110533
GTQ CHF reference 0.11250629999999999
HKD CHF monthly_average 0.104786
HKD CHF reference 0.10605
HNL CHF monthly_average 0.031114000000000003
HNL CHF reference 0.03181
HUF CHF monthly_average 0.0026132
HUF CHF reference 0.0025479699999999997
IDR CHF monthly_average 0.00004646
IDR CHF reference 0.000046004
ILS CHF monthly_average 0.2735
ILS CHF reference 0.26782
INR CHF monthly_average 0.008621
INR CHF reference 0.008764899999999999
ISK CHF monthly_average 0.006808
ISK CHF reference 0.0068616
JPY CHF monthly_average 0.005239000000000001
JPY CHF reference 0.0053076
KES CHF monthly_average 0.006399
KES CHF reference 0.0065106
KHR CHF monthly_average 0.00020404
KHR CHF reference 0.000205192
KRW CHF monthly_average 0.000603
KRW CHF reference 0.0006297
KWD CHF monthly_average 2.6705
KWD CHF reference 2.68677
KYD CHF monthly_average 0.9877
KYD CHF reference 1.00065
KZT CHF monthly_average 0.0018143
KZT CHF reference 0.0018409199999999998
LBP CHF monthly_average 0.00000917
LBP CHF reference 0.000009322
LKR CHF monthly_average 0.0024982000000000003
LKR CHF reference 0.00251075
LYD CHF monthly_average 0.1299
LYD CHF reference 0.13077
MAD CHF monthly_average 0.0875
MAD CHF reference 0.08459
MUR CHF monthly_average 0.017845
MUR CHF reference 0.018025100000000002
MXN CHF monthly_average 0.0482
MXN CHF reference 0.04451
MYR CHF monthly_average 0.202729
MYR CHF reference 0.20385090000000003
NGN CHF monthly_average 0.000618
NGN CHF reference 0.00061724
NOK CHF monthly_average 0.088009
NOK CHF reference 0.0893377
NZD CHF monthly_average 0.4792
NZD CHF reference 0.47435
OMR CHF monthly_average 2.1408
OMR CHF reference 2.16659
PAB CHF monthly_average 0.8398
PAB CHF reference 0.85219
PEN CHF monthly_average 0.244586
PEN CHF reference 0.2425554
PHP CHF monthly_average 0.013154999999999998
PHP CHF reference 0.0130343
PKR CHF monthly_average 0.002963
PKR CHF reference 0.0030123
PLN CHF monthly_average 0.21965
PLN CHF reference 0.21218959999999998
QAR CHF monthly_average 0.225421
QAR CHF reference 0.228783
RON CHF monthly_average 0.181046
RON CHF reference 0.17479769999999997
RSD CHF monthly_average 0.008104
RSD CHF reference 0.0079455
RUB CHF monthly_average 0.009683
RUB CHF reference 0.0105483
SAR CHF monthly_average 0.218839
SAR CHF reference 0.2219596
SEK CHF monthly_average 0.08498100000000001
SEK CHF reference 0.0838209
SGD CHF monthly_average 0.6467
SGD CHF reference 0.6513
THB CHF monthly_average 0.024839000000000003
THB CHF reference 0.0246311
TND CHF monthly_average 0.28261600000000003
TND CHF reference 0.27785540000000003
TRY CHF monthly_average 0.01695
TRY CHF reference 0.0167219
TWD CHF monthly_average 0.025938
TWD CHF reference 0.0255529
TZS CHF monthly_average 0.0003105
TZS CHF reference 0.00031788
UAH CHF monthly_average 0.018431
UAH CHF reference 0.018351
USD CHF monthly_average 0.8218
USD CHF reference 0.83184
UYU CHF monthly_average 0.020554000000000003
UYU CHF reference 0.0209143
VES CHF monthly_average 0.001006
VES CHF reference 0.0009434
VND CHF monthly_average 0.00003161
VND CHF reference 0.000032189
ZAR CHF monthly_average 0.051
ZAR CHF reference 0.05009

Node.js / TypeScript client

A dedicated zero-dependency npm package wraps these endpoints — bazg-exchange-rate:

npm install bazg-exchange-rate
import { getRate } from 'bazg-exchange-rate';

const pair = await getRate('EUR', 'CHF', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date);

Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.

Full reference — installation, all four functions, response shapes, error codes: bazg-exchange-rate documentation.

Why use the official Swiss Federal Office for Customs and Border Security rate?

When an auditor or tax office in Switzerland asks which rate you used, "the CHF mid-market rate at 14:32" is not an answer — the official rate published by Swiss Federal Office for Customs and Border Security for that date is. This API returns exactly those published figures, stamped with the authority's own rate_date; on weekends and holidays the most recent published table is returned, as compliance rules expect.

Pairs the authority doesn't print directly are resolved from its table (inverse or cross via CHF) and explicitly flagged "derived": true — so what the authority printed and what was computed are never confused.

Endpoints

Full parameter reference in the API documentation. Every request counts toward your plan's monthly quota — rates change once per business day, so caching a published table locally makes a small quota go far.

Frequently asked questions

Is there an API for Swiss Federal Office for Customs and Border Security exchange rates?

Yes — this one. Official daily CHF rates as clean JSON, latest table on every plan including free.

How often does Swiss Federal Office for Customs and Border Security update its rates?

New tables land once per business day — the API picks each one up shortly after Swiss Federal Office for Customs and Border Security publishes it (latest: 2026-10-27).

Is this the official published table?

Yes — the rows are Swiss Federal Office for Customs and Border Security's published figures, untouched, with the original publication date attached. Pairs the authority didn't print are computed and flagged derived.

Swiss Federal Office for Customs and Border Security rates, one API key

Latest table on every plan. History back to 2000 on paid plans. No credit card to start.

Get Free API Key Read the Docs