Swiss National Bank Exchange Rate API

Official Swiss National Bank rates for 31 Aug 2026: 1 USD = 0.80779 CHF, 1 EUR = 0.93629 CHF. All 26 currencies published, history back to 1914. Free JSON API for tax, audits, and compliant invoicing.

Switzerland flagSwiss National Bank: every CHF rate the bank publishes, as JSON. 26 currencies, archive back to 1914, latest table free on every plan. Get your API key.

About Swiss National Bank

The Swiss National Bank publishes official franc exchange rates through its data portal. The SNB publishes monthly averages (no daily official series exists), with history reaching back to 1914 — one of the longest official exchange rate records anywhere.

Quick start

One request for the pair you need — EUR to CHF at the official Swiss National Bank rate:

curl "https://allratestoday.com/api/v1/central-bank/snb/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/snb/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/snb/history?source=EUR&target=CHF&from=2025-01-01" \
  -H "Authorization: Bearer art_live_your_key"

Latest published rates (2026-08-31)

Swiss National Bank's newest published table, verbatim — the same rows the /latest endpoint returns at this moment. Values are 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
ARS CHF monthly_average 0.00054
AUD CHF monthly_average 0.5734
BRL CHF monthly_average 0.15678910000000001
CAD CHF monthly_average 0.58062
CNY CHF monthly_average 0.1199027
CZK CHF monthly_average 0.0387219
DKK CHF monthly_average 0.1252482
EUR CHF monthly_average 0.93629
GBP CHF monthly_average 1.09363
HKD CHF monthly_average 0.10299860000000001
HUF CHF monthly_average 0.0025746999999999996
JPY CHF monthly_average 0.0050853
KRW CHF monthly_average 0.0005752999999999999
MXN CHF monthly_average 0.0473217
MYR CHF monthly_average 0.1987398
NOK CHF monthly_average 0.08566979999999999
NZD CHF monthly_average 0.47689
PLN CHF monthly_average 0.21719860000000002
RUB CHF monthly_average 0.00969
SEK CHF monthly_average 0.0848954
SGD CHF monthly_average 0.63279
THB CHF monthly_average 0.0244622
TRY CHF monthly_average 0.0168702
USD CHF monthly_average 0.80779
XDR CHF monthly_average 1.10464
ZAR CHF monthly_average 0.04993

Node.js / TypeScript client

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

npm install snb-exchange-rate
import { getRate } from 'snb-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: snb-exchange-rate documentation.

Why use the official Swiss National Bank rate?

A market rate is a moving target; the rate Swiss National Bank publishes is a fixed, citable figure that stays put once printed — which is why invoicing, customs, audit evidence, and statutory accounting in Switzerland lean on it rather than on a live feed. Every response from this API carries the bank's own rate_date, and on days with no publication you get the most recent published table — the one compliance rules tell you to apply.

If a pair isn't in the bank's published table, the API computes it from that table (inverse or cross via CHF) and marks it "derived": true — published and computed values are never silently mixed.

Endpoints

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

Frequently asked questions

Does an exchange rate API exist for Swiss National Bank data?

Yes. This endpoint returns Swiss National Bank's official monthly average figures as JSON; the newest table is free on every plan.

How often are the rates updated?

Swiss National Bank publishes monthly averages — one averaged rate per calendar month, published once the month has closed; the API ingests each new table shortly after publication (latest: 2026-08-31).

Are these really Swiss National Bank's official figures?

Yes. Every value comes from Swiss National Bank's own publication and is served unmodified, carrying the bank's publication date; computed pairs are explicitly flagged derived.

Swiss National Bank rates, one API key

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

Get Free API Key Read the Docs