Swiss Federal Office for Customs and Border Security Exchange Rate API

Official Swiss Federal Office for Customs and Border Security rates for 11 Sept 2026: 1 USD = 0.8184 CHF, 1 EUR = 0.9439 CHF. All 73 currencies published, history back to 2000. Free JSON API for tax, audits, and compliant invoicing.

Switzerland flagSwiss Federal Office for Customs and Border Security official daily exchange rates as JSON: 73 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

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"

Or the bank's full published table:

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

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-09-11)

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.22286899999999998
AED CHF reference 0.2224855
ALL CHF monthly_average 0.010181
ALL CHF reference 0.010383700000000001
ARS CHF monthly_average 0.0006
ARS CHF reference 0.00054
AUD CHF monthly_average 0.5773
AUD CHF reference 0.58997
AZN CHF monthly_average 0.4814
AZN CHF reference 0.48061
BAM CHF monthly_average 0.48290799999999995
BAM CHF reference 0.48627400000000004
BDT CHF monthly_average 0.006690000000000001
BDT CHF reference 0.006681899999999999
BGN CHF reference 0.4733361
BHD CHF monthly_average 2.1832
BHD CHF reference 2.17846
BRL CHF monthly_average 0.15909800000000002
BRL CHF reference 0.16007470000000001
CAD CHF monthly_average 0.5862
CAD CHF reference 0.59193
CLP CHF monthly_average 0.000888
CLP CHF reference 0.0008820900000000001
CNY CHF monthly_average 0.12130800000000001
CNY CHF reference 0.12180049999999999
COP CHF monthly_average 0.00026056
COP CHF reference 0.000262741
CRC CHF monthly_average 0.0018115000000000002
CRC CHF reference 0.00180267
CZK CHF monthly_average 0.039046
CZK CHF reference 0.0392161
DKK CHF monthly_average 0.126283
DKK CHF reference 0.12721349999999998
DOP CHF monthly_average 0.01418
DOP CHF reference 0.0141962
DZD CHF monthly_average 0.0062239999999999995
DZD CHF reference 0.0062119
EGP CHF monthly_average 0.016278
EGP CHF reference 0.0159528
ETB CHF monthly_average 0.005084999999999999
ETB CHF reference 0.0050317999999999995
EUR CHF monthly_average 0.9439
EUR CHF reference 0.95088
GBP CHF monthly_average 1.1029
GBP CHF reference 1.1076
GEL CHF monthly_average 0.316739
GEL CHF reference 0.3176844
GTQ CHF monthly_average 0.10986800000000001
GTQ CHF reference 0.1102515
HKD CHF monthly_average 0.10432499999999999
HKD CHF reference 0.10418150000000001
HNL CHF monthly_average 0.030908
HNL CHF reference 0.0311096
HUF CHF monthly_average 0.0026009
HUF CHF reference 0.0026129400000000002
IDR CHF monthly_average 0.00004574
IDR CHF reference 0.000046731
ILS CHF monthly_average 0.2727
ILS CHF reference 0.27124
INR CHF monthly_average 0.008566
INR CHF reference 0.0085885
ISK CHF monthly_average 0.0066549999999999995
ISK CHF reference 0.0068189999999999995
JPY CHF monthly_average 0.0051259999999999995
JPY CHF reference 0.0053242
KES CHF monthly_average 0.006389000000000001
KES CHF reference 0.006347500000000001
KHR CHF monthly_average 0.00020367
KHR CHF reference 0.000202879
KRW CHF monthly_average 0.000576
KRW CHF reference 0.0006117000000000001
KWD CHF monthly_average 2.6557
KWD CHF reference 2.65515
KYD CHF monthly_average 0.9843
KYD CHF reference 0.98219
KZT CHF monthly_average 0.0017507999999999998
KZT CHF reference 0.00179843
LBP CHF monthly_average 0.000009139999999999999
LBP CHF reference 0.00000913
LKR CHF monthly_average 0.0024514999999999997
LKR CHF reference 0.0024874100000000002
LYD CHF monthly_average 0.129
LYD CHF reference 0.12965
MAD CHF monthly_average 0.0876
MAD CHF reference 0.08732
MUR CHF monthly_average 0.017775
MUR CHF reference 0.0178187
MXN CHF monthly_average 0.0477
MXN CHF reference 0.04842
MYR CHF monthly_average 0.200807
MYR CHF reference 0.2008429
NGN CHF monthly_average 0.0006024
NGN CHF reference 0.00061768
NOK CHF monthly_average 0.086227
NOK CHF reference 0.08888629999999999
NZD CHF monthly_average 0.4806
NZD CHF reference 0.47826
OMR CHF monthly_average 2.1319
OMR CHF reference 2.12824
PAB CHF monthly_average 0.8375
PAB CHF reference 0.83501
PEN CHF monthly_average 0.242473
PEN CHF reference 0.2440813
PHP CHF monthly_average 0.013342
PHP CHF reference 0.013063400000000001
PKR CHF monthly_average 0.0029509999999999996
PKR CHF reference 0.0029471999999999996
PLN CHF monthly_average 0.219206
PLN CHF reference 0.22055740000000001
QAR CHF monthly_average 0.22470600000000002
QAR CHF reference 0.2242442
RON CHF monthly_average 0.180317
RON CHF reference 0.1812188
RSD CHF monthly_average 0.008045
RSD CHF reference 0.0081046
RUB CHF monthly_average 0.010048999999999999
RUB CHF reference 0.0096121
SAR CHF monthly_average 0.218118
SAR CHF reference 0.21775339999999999
SEK CHF monthly_average 0.085727
SEK CHF reference 0.0852369
SGD CHF monthly_average 0.6391
SGD CHF reference 0.64686
THB CHF monthly_average 0.024669
THB CHF reference 0.0248476
TND CHF monthly_average 0.280789
TND CHF reference 0.2819926
TRY CHF monthly_average 0.017161
TRY CHF reference 0.016848000000000002
TWD CHF monthly_average 0.025457
TWD CHF reference 0.025959
TZS CHF monthly_average 0.0003096
TZS CHF reference 0.00030947
UAH CHF monthly_average 0.018299
UAH CHF reference 0.0183188
USD CHF monthly_average 0.8184
USD CHF reference 0.81709
UYU CHF monthly_average 0.020507
UYU CHF reference 0.0204313
VES CHF monthly_average 0.00108
VES CHF reference 0.0009977
VND CHF monthly_average 0.000031219999999999996
VND CHF reference 0.000031542
ZAR CHF monthly_average 0.0501
ZAR CHF reference 0.05092

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-09-11).

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