Zürcher Kantonalbank Exchange Rate API: CHF Buy and Sell Rates as JSON

Reviewed by Madhushan, Fintech Developer — November 2026

Zürcher Kantonalbank is the cantonal bank of Zurich and Switzerland's largest cantonal bank. Its Finanzinfos portal lists customer Devisen (non-cash) buy and sell rates against the franc for about 15 currencies, in two amount tiers. This guide shows how to read that board as JSON: what the rates mean, how they compare with the Swiss National Bank official rate and with other banks in Switzerland, and the calls that return them.

What the ZKB board shows

Spreads across the board

On the 15 November 2026 board the tightest spreads were USD (2.49%), AUD (2.50%), EUR (2.50%) and the widest TWD (4.20%), CZK (4.20%), ZAR (4.03%). Spread is (sell − buy) ÷ mid: what a round trip through the bank costs, before any fees. The API returns it on every row as spread_pct, so you can rank currencies or alert when a bank widens its board.

USD at ZKB and other banks in Switzerland

USD on the 21 boards AllRatesToday reads in Switzerland, all captured on 15 November 2026 (the Swiss National Bank official rate was 0.837):

BankBuySellSpreadMid vs official
Zürcher Kantonalbank0.82910.852.49%+0.30%
PostFinance0.8250.84582.49%-0.19%
Raiffeisen Schweiz0.82470.85413.50%+0.29%
Migros Bank0.8240.8553.69%+0.30%
Banque Cantonale Vaudoise0.82210.85714.17%+0.31%
St.Galler Kantonalbank0.82420.8533.43%+0.19%
Berner Kantonalbank0.8270.8533.10%+0.36%
Thurgauer Kantonalbank0.8250.8523.22%+0.18%
Bank EKI0.82460.8523.27%+0.16%
Banque Cantonale Neuchâteloise0.82460.8543.50%+0.28%
Schwyzer Kantonalbank0.82430.85483.63%+0.30%
Nidwaldner Kantonalbank0.8240.8482.87%-0.12%
Graubündner Kantonalbank0.82580.84972.85%+0.09%
Zuger Kantonalbank0.82280.8533.61%+0.11%
Bank Avera0.82260.85243.56%+0.06%
Banque Cantonale de Fribourg0.8250.85373.41%+0.28%
Aargauische Kantonalbank0.82540.85073.02%+0.13%
LLB Schweiz0.82490.85283.32%+0.22%
BNP Paribas (Suisse)0.82260.85283.60%+0.08%
Bank SLM0.8250.8523.22%+0.18%
Ersparniskasse Rüeggisberg0.82960.8472.07%+0.16%

ZKB had the 2nd narrowest USD spread of the 21. One call to /api/v1/bank-rates/ch returns every board in the table at once.

Get the board (REST)

You need an API key; the free key works. The full board:

curl "https://allratestoday.com/api/v1/bank-rates/ch/zkb" \
  -H "Authorization: Bearer art_live_your_key"

What comes back (the 15 November 2026 board, first three rows):

{
  "bank": "zkb",
  "name": "Zürcher Kantonalbank",
  "country": "ch",
  "quote_ccy": "CHF",
  "bank_updated_at": "2026-11-13 19:59:55",
  "basis": "Devisen (non-cash) customer rates, up to CHF 50'000",
  "captured_at": "2026-11-15T11:45:51.600Z",
  "rates": [
    {"ccy":"AUD","buy":0.5621,"sell":0.5763,"mid":0.5692,"spread_pct":2.495,"official":0.57902,"vs_official_pct":-1.696},
    {"ccy":"CAD","buy":0.5811,"sell":0.5958,"mid":0.58845,"spread_pct":2.498,"official":0.58594,"vs_official_pct":0.428},
    {"ccy":"CZK","buy":0.037146,"sell":0.038739,"mid":0.0379425,"spread_pct":4.198,"official":0.0381034,"vs_official_pct":-0.422},
    … 12 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}

One currency, with the row fields at the top level:

curl "https://allratestoday.com/api/v1/bank-rates/ch/zkb?ccy=USD" \
  -H "Authorization: Bearer art_live_your_key"
{
  "bank": "zkb",
  "name": "Zürcher Kantonalbank",
  "country": "ch",
  "quote_ccy": "CHF",
  "bank_updated_at": "2026-11-13 19:59:55",
  "basis": "Devisen (non-cash) customer rates, up to CHF 50'000",
  "captured_at": "2026-11-15T11:45:51.600Z",
  "ccy": "USD",
  "buy": 0.8291,
  "sell": 0.85,
  "mid": 0.83955,
  "spread_pct": 2.489,
  "official": 0.837,
  "vs_official_pct": 0.305,
  "disclaimer": "Retail buy/sell rates as displayed on each bank’s own website at capture time, quoted as home currency per 1 unit of foreign currency. Indicative only: banks change these through the day, apply them at the counter or in-app, and they are not official or reference rates. For the rate a regulation names, use the central-bank endpoints.",
  "attribution": {
    "source": "Board rates published by Zürcher Kantonalbank on its own website, collected by AllRatesToday",
    "bank_url": "https://zkb-finance.mdgms.com/home/currencies/exchangerates_customer/index.html",
    "url": "https://allratestoday.com/bank-exchange-rate-api/ch/zkb/",
    "terms": "Public pages that show the rates need a visible link to allratestoday.com"
  }
}

The board as it stood on a past day:

curl "https://allratestoday.com/api/v1/bank-rates/ch/zkb?date=2026-11-13" \
  -H "Authorization: Bearer art_live_your_key"

One currency over a date range, one row per day (paid plans; add &format=csv, xml or xlsx for a file):

curl "https://allratestoday.com/api/v1/bank-rates/ch/zkb/history?ccy=USD&from=2026-11-13&to=2026-11-15" \
  -H "Authorization: Bearer art_live_your_key"

JavaScript

npm install @allratestoday/sdk
import { AllRatesToday } from '@allratestoday/sdk';

const client = new AllRatesToday({ apiKey: 'art_live_your_key' });

// Zürcher Kantonalbank's USD row
const r = await client.bankRates('ch', { bank: 'zkb', ccy: 'USD' });
console.log(`ZKB buys USD at ${r.buy}, sells at ${r.sell} CHF`);

// The board as it stood on a past day
const past = await client.bankRates('ch', { bank: 'zkb', date: '2026-11-13' });
console.log(past.snapshot_date, past.rates.length);

Python

import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/ch/zkb",
    headers={"Authorization": "Bearer art_live_your_key"},
    timeout=10,
)
r.raise_for_status()
for row in r.json()["rates"]:
    print(row["ccy"], row["buy"], row["sell"], row["spread_pct"])

Board rate or official rate?

The Swiss National Bank rate is the one tax, accounting and customs rules in Switzerland name; nobody transacts at it. ZKB's board is the price a customer actually gets. The API puts both on every row: official is the central bank's rate for the same currency and vs_official_pct is how far the bank's mid sits from it. Use the board to show customers a real price, compare banks for a remittance, or keep a dated record of what the bank quoted; use the Swiss National Bank endpoint when a rule asks for the official rate.

FAQ

Where do the Zürcher Kantonalbank rates come from?

From the bank's own public rates page (https://zkb-finance.mdgms.com/home/currencies/exchangerates_customer/index.html), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price ZKB shows, with the mid, the spread and the Swiss National Bank rate added.

Are these the official CHF exchange rates?

No. They are ZKB's retail prices for customers. The official rate in Switzerland is the Swiss National Bank rate, which the API returns as official on each row where the central bank has one, and in full from the central-bank endpoint.

How often is the ZKB board updated?

AllRatesToday reads the page every hour. The bank's own last-updated stamp is returned as bank_updated_at, so you can tell a fresh read of an unchanged board from a new board.

Can I get ZKB rates for a past date?

Yes, from 13 November 2026 onward; every day's board is kept permanently. Add ?date=YYYY-MM-DD for one day: the response is the board captured that day, or the nearest earlier day within five days, with date_requested and snapshot_date added. For a range, /history?ccy=USD&from=…&to=… returns one row per day as JSON, CSV, XML or XLSX on paid plans.

Do I need an API key?

Yes. Commercial bank boards need an API key; any plan works, the free key included, and each call counts against the plan. Public pages or widgets that show the rates need a visible link to allratestoday.com.

Zürcher Kantonalbank rates, as JSON

Free API key, hourly board captures, the official rate alongside.

Get your free API key

Related