Zuger Kantonalbank Exchange Rate API: CHF Buy and Sell Rates as JSON

Reviewed by Madhushan, Fintech Developer — November 2026

Zuger Kantonalbank is the cantonal bank of Zug. Its Devisenkurse page lists non-cash buy and sell rates for 13 currencies, valid up to CHF 50’000, with bank-note rates on a separate page. 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 Zuger KB board shows

Spreads across the board

On the 15 November 2026 board the tightest spreads were EUR (3.00%), JPY (3.60%), GBP (3.60%) and the widest ZAR (4.18%), SGD (4.08%), HKD (4.00%). 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 Zuger KB 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%

Zuger KB had the 18th 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/zugerkb" \
  -H "Authorization: Bearer art_live_your_key"

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

{
  "bank": "zugerkb",
  "name": "Zuger Kantonalbank",
  "country": "ch",
  "quote_ccy": "CHF",
  "bank_updated_at": "2026-11-13 16:45",
  "basis": "Devisen (non-cash) buy / sell, up to CHF 50'000",
  "captured_at": "2026-11-15T03:58:05.728Z",
  "rates": [
    {"ccy":"AUD","buy":0.558944,"sell":0.57952,"mid":0.569232,"spread_pct":3.615,"official":0.57902,"vs_official_pct":-1.69},
    {"ccy":"CAD","buy":0.577419,"sell":0.598798,"mid":0.5881085,"spread_pct":3.635,"official":0.58594,"vs_official_pct":0.37},
    {"ccy":"DKK","buy":0.12169383,"sell":0.12617388,"mid":0.12393385,"spread_pct":3.615,"official":0.1242075,"vs_official_pct":-0.22},
    … 10 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}

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

curl "https://allratestoday.com/api/v1/bank-rates/ch/zugerkb?ccy=USD" \
  -H "Authorization: Bearer art_live_your_key"
{
  "bank": "zugerkb",
  "name": "Zuger Kantonalbank",
  "country": "ch",
  "quote_ccy": "CHF",
  "bank_updated_at": "2026-11-13 16:45",
  "basis": "Devisen (non-cash) buy / sell, up to CHF 50'000",
  "captured_at": "2026-11-15T03:58:05.728Z",
  "ccy": "USD",
  "buy": 0.822768,
  "sell": 0.853044,
  "mid": 0.837906,
  "spread_pct": 3.613,
  "official": 0.837,
  "vs_official_pct": 0.108,
  "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 Zuger Kantonalbank on its own website, collected by AllRatesToday",
    "bank_url": "https://www.zugerkb.ch/service-kontakt/kurse-und-zinsen/devisenkurse",
    "url": "https://allratestoday.com/bank-exchange-rate-api/ch/zugerkb/",
    "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/zugerkb?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/zugerkb/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' });

// Zuger Kantonalbank's USD row
const r = await client.bankRates('ch', { bank: 'zugerkb', ccy: 'USD' });
console.log(`Zuger KB 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: 'zugerkb', 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/zugerkb",
    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. Zuger KB'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 Zuger Kantonalbank rates come from?

From the bank's own public rates page (https://www.zugerkb.ch/service-kontakt/kurse-und-zinsen/devisenkurse), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price Zuger KB shows, with the mid, the spread and the Swiss National Bank rate added.

Are these the official CHF exchange rates?

No. They are Zuger KB'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 Zuger KB 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 Zuger KB 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.

Zuger Kantonalbank rates, as JSON

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

Get your free API key

Related