Home Documentation Central Bank Rates Tax Authority Rates Playground Pricing API Status Blog About FAQ Contact Us

Swiss Federal Office for Customs and Border Security Exchange Rate API

Official Swiss Federal Office for Customs and Border Security (Switzerland) daily exchange rates as JSON: 83 currencies, history back to 2000. The published CHF rates required for tax, audits, and compliant invoicing.

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

The most recent table as published by Swiss Federal Office for Customs and Border Security — exactly what the /latest endpoint returns right now. Values are CHF per 1 unit of each currency:

Download this table: Excel (.xlsx) CSV

BaseQuoteTypeRate
AED CHF reference 0.2235521
ALL CHF reference 0.0102106
ARS CHF reference 0.00055
AUD CHF reference 0.57718
AZN CHF reference 0.48293
BAM CHF reference 0.48375250000000003
BDT CHF reference 0.006665
BHD CHF reference 2.18663
BRL CHF reference 0.16026859999999998
CAD CHF reference 0.58575
CLP CHF reference 0.00089682
CNY CHF reference 0.1216656
COP CHF reference 0.000259903
CRC CHF reference 0.00180706
CZK CHF reference 0.0390342
DKK CHF reference 0.1264843
DOP CHF reference 0.01423
DZD CHF reference 0.006242999999999999
EGP CHF reference 0.0165288
ETB CHF reference 0.005097000000000001
EUR CHF reference 0.94558
GBP CHF reference 1.1041
GEL CHF reference 0.3177827
GTQ CHF reference 0.1098832
HKD CHF reference 0.10462590000000001
HNL CHF reference 0.0310734
HUF CHF reference 0.00259
IDR CHF reference 0.000045818999999999996
ILS CHF reference 0.27329
INR CHF reference 0.0086131
ISK CHF reference 0.0066585
JPY CHF reference 0.0051839
KES CHF reference 0.0063951
KHR CHF reference 0.00020345399999999997
KRW CHF reference 0.0005788999999999999
KWD CHF reference 2.6612
KYD CHF reference 0.98598
KZT CHF reference 0.00175139
LBP CHF reference 0.000009151
LKR CHF reference 0.00244004
LYD CHF reference 0.12903
MAD CHF reference 0.0879
MUR CHF reference 0.0178695
MXN CHF reference 0.04775
MYR CHF reference 0.2007404
NGN CHF reference 0.00060178
NOK CHF reference 0.0860277
NZD CHF reference 0.48154
OMR CHF reference 2.13844
PAB CHF reference 0.83753
PEN CHF reference 0.2425982
PHP CHF reference 0.013457799999999999
PKR CHF reference 0.002952
PLN CHF reference 0.22000540000000002
QAR CHF reference 0.22428499999999998
RON CHF reference 0.1801822
RSD CHF reference 0.0080603
RUB CHF reference 0.0098912
SAR CHF reference 0.2186983
SEK CHF reference 0.0862237
SGD CHF reference 0.64015
THB CHF reference 0.024794
TND CHF reference 0.2814578
TRY CHF reference 0.0172257
TWD CHF reference 0.025484200000000002
TZS CHF reference 0.00030921
UAH CHF reference 0.0183754
USD CHF reference 0.82073
UYU CHF reference 0.0204725
VES CHF reference 0.0010876
VND CHF reference 0.00003126
ZAR CHF reference 0.0502

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.

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

Live market rates move continuously, but tax filings, customs declarations, audits, and statutory accounting in Switzerland and beyond typically require the official rate published by Swiss Federal Office for Customs and Border Security for a given date — a fixed, citable number that never changes after publication. This API serves those published tables with the bank's own rate_date on every response; weekends and holidays return the most recent published date, which is the rate compliance rules require you to apply.

Pairs the bank doesn't print directly are resolved from its table (inverse or cross via CHF) and explicitly flagged "derived": true — so what the bank 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 are the rates updated?

Swiss Federal Office for Customs and Border Security publishes once per business day; the API ingests each new table shortly after publication (latest: 2026-08-10).

Are these the official rates?

Yes — ingested from Swiss Federal Office for Customs and Border Security's own published data, served unmodified with the bank's publication date. Anything computed rather than published is 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