Swiss Federal Office for Customs and Border Security Exchange Rate API

Official Swiss Federal Office for Customs and Border Security rates for 15 Sept 2026: 1 USD = 0.8184 CHF, 1 EUR = 0.9439 CHF. All 72 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: 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

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-15)

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.2248723
ALL CHF monthly_average 0.010181
ALL CHF reference 0.010473699999999999
ARS CHF monthly_average 0.0006
ARS CHF reference 0.00055
AUD CHF monthly_average 0.5773
AUD CHF reference 0.59052
AZN CHF monthly_average 0.4814
AZN CHF reference 0.48578
BAM CHF monthly_average 0.48290799999999995
BAM CHF reference 0.4893773
BDT CHF monthly_average 0.006690000000000001
BDT CHF reference 0.0067377
BHD CHF monthly_average 2.1832
BHD CHF reference 2.20213
BRL CHF monthly_average 0.15909800000000002
BRL CHF reference 0.1612526
CAD CHF monthly_average 0.5862
CAD CHF reference 0.59546
CLP CHF monthly_average 0.000888
CLP CHF reference 0.00087971
CNY CHF monthly_average 0.12130800000000001
CNY CHF reference 0.12312
COP CHF monthly_average 0.00026056
COP CHF reference 0.00026664
CRC CHF monthly_average 0.0018115000000000002
CRC CHF reference 0.0018422400000000002
CZK CHF monthly_average 0.039046
CZK CHF reference 0.039473
DKK CHF monthly_average 0.126283
DKK CHF reference 0.1279448
DOP CHF monthly_average 0.01418
DOP CHF reference 0.014141999999999998
DZD CHF monthly_average 0.0062239999999999995
DZD CHF reference 0.0062691
EGP CHF monthly_average 0.016278
EGP CHF reference 0.0162933
ETB CHF monthly_average 0.005084999999999999
ETB CHF reference 0.0051227
EUR CHF monthly_average 0.9439
EUR CHF reference 0.95639
GBP CHF monthly_average 1.1029
GBP CHF reference 1.11605
GEL CHF monthly_average 0.316739
GEL CHF reference 0.3211891
GTQ CHF monthly_average 0.10986800000000001
GTQ CHF reference 0.1114687
HKD CHF monthly_average 0.10432499999999999
HKD CHF reference 0.1052622
HNL CHF monthly_average 0.030908
HNL CHF reference 0.0312797
HUF CHF monthly_average 0.0026009
HUF CHF reference 0.00262894
IDR CHF monthly_average 0.00004574
IDR CHF reference 0.000046884
ILS CHF monthly_average 0.2727
ILS CHF reference 0.27297
INR CHF monthly_average 0.008566
INR CHF reference 0.008730400000000001
ISK CHF monthly_average 0.0066549999999999995
ISK CHF reference 0.0068609
JPY CHF monthly_average 0.0051259999999999995
JPY CHF reference 0.0053695
KES CHF monthly_average 0.006389000000000001
KES CHF reference 0.0064288999999999995
KHR CHF monthly_average 0.00020367
KHR CHF reference 0.00020503
KRW CHF monthly_average 0.000576
KRW CHF reference 0.0006141
KWD CHF monthly_average 2.6557
KWD CHF reference 2.68458
KYD CHF monthly_average 0.9843
KYD CHF reference 0.99252
KZT CHF monthly_average 0.0017507999999999998
KZT CHF reference 0.00183012
LBP CHF monthly_average 0.000009139999999999999
LBP CHF reference 0.00000909
LKR CHF monthly_average 0.0024514999999999997
LKR CHF reference 0.00251393
LYD CHF monthly_average 0.129
LYD CHF reference 0.13104
MAD CHF monthly_average 0.0876
MAD CHF reference 0.08782
MUR CHF monthly_average 0.017775
MUR CHF reference 0.0180144
MXN CHF monthly_average 0.0477
MXN CHF reference 0.04866
MYR CHF monthly_average 0.200807
MYR CHF reference 0.2032777
NGN CHF monthly_average 0.0006024
NGN CHF reference 0.00062317
NOK CHF monthly_average 0.086227
NOK CHF reference 0.08883229999999999
NZD CHF monthly_average 0.4806
NZD CHF reference 0.47842
OMR CHF monthly_average 2.1319
OMR CHF reference 2.14912
PAB CHF monthly_average 0.8375
PAB CHF reference 0.84363
PEN CHF monthly_average 0.242473
PEN CHF reference 0.2458471
PHP CHF monthly_average 0.013342
PHP CHF reference 0.0131452
PKR CHF monthly_average 0.0029509999999999996
PKR CHF reference 0.0029775
PLN CHF monthly_average 0.219206
PLN CHF reference 0.22145900000000002
QAR CHF monthly_average 0.22470600000000002
QAR CHF reference 0.22658740000000002
RON CHF monthly_average 0.180317
RON CHF reference 0.18237469999999997
RSD CHF monthly_average 0.008045
RSD CHF reference 0.0081588
RUB CHF monthly_average 0.010048999999999999
RUB CHF reference 0.0098133
SAR CHF monthly_average 0.218118
SAR CHF reference 0.2192306
SEK CHF monthly_average 0.085727
SEK CHF reference 0.08494199999999999
SGD CHF monthly_average 0.6391
SGD CHF reference 0.65145
THB CHF monthly_average 0.024669
THB CHF reference 0.024955500000000002
TND CHF monthly_average 0.280789
TND CHF reference 0.2844561
TRY CHF monthly_average 0.017161
TRY CHF reference 0.0169882
TWD CHF monthly_average 0.025457
TWD CHF reference 0.0260782
TZS CHF monthly_average 0.0003096
TZS CHF reference 0.00031191000000000004
UAH CHF monthly_average 0.018299
UAH CHF reference 0.018579000000000002
USD CHF monthly_average 0.8184
USD CHF reference 0.82553
UYU CHF monthly_average 0.020507
UYU CHF reference 0.0206474
VES CHF monthly_average 0.00108
VES CHF reference 0.0009989
VND CHF monthly_average 0.000031219999999999996
VND CHF reference 0.000032319999999999995
ZAR CHF monthly_average 0.0501
ZAR CHF reference 0.05106

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-15).

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