Swiss Franc (CHF)
The Swiss Franc is the official currency of Switzerland.
Currency Details
| Currency Code | CHF |
| Symbol | CHF |
| Minor Unit | Rappen (1/100) |
| Countries | Switzerland, Liechtenstein |
| Central Bank | Swiss National Bank |
Official CHF Central Bank Rates
Live rates on this page are mid-market rates. For tax filings, customs valuations, audits, and compliant invoicing you often need the official reference rate published by Swiss National Bank instead. AllRatesToday serves Swiss National Bank published rates as JSON, with history and a free latest-rates tier.
Popular CHF Conversions
Live CHF Exchange Rates
Coins & Banknotes
🪙 Coins
💵 Banknotes
Frequently Asked Questions
CHF Exchange Rate API
Get live Swiss Franc (CHF) exchange rates in your app, spreadsheet or backend with one HTTPS request. The AllRatesToday API returns CHF mid-market rates against 160+ currencies as JSON, converts amounts, serves past dates and date ranges, and also returns the official rate published by Swiss National Bank.
Endpoints for CHF
| What you need | Request |
|---|---|
| Latest CHF/USD rate | GET /api/v1/rates?source=CHF&target=USD |
| CHF against several currencies | GET /api/v1/rates?source=CHF&target=USD,EUR,GBP |
| Convert an amount from CHF | GET /api/v1/rates?source=CHF&target=USD&amount=1000 |
| CHF rate on a past date | GET /api/v1/rates?source=CHF&target=USD&time=2026-06-30 |
| CHF rate history for a date range | GET /api/v1/rates?source=CHF&target=USD&from=2026-01-01&to=2026-06-30 |
| CHF rates as CSV, XML or Excel | GET /api/v1/rates?source=CHF&target=USD,EUR,GBP&format=csv |
| Official Swiss National Bank rate | GET /api/v1/central-bank/snb/latest |
| All ECB reference rates in CHF, no key | GET /api/open/latest/CHF |
Send your key as Authorization: Bearer YOUR_API_KEY.
The open ECB endpoint needs no key; public pages that display the rates carry a visible link to AllRatesToday.
Example request
cURL
curl "https://allratestoday.com/api/v1/rates?source=CHF&target=USD" \
-H "Authorization: Bearer YOUR_API_KEY"JavaScript (npm install @allratestoday/sdk)
import AllRatesToday from '@allratestoday/sdk';
const client = new AllRatesToday('YOUR_API_KEY');
const rate = await client.getRate('CHF', 'USD');
console.log(rate);Python (pip install allratestoday)
from allratestoday import AllRatesToday
client = AllRatesToday(api_key="YOUR_API_KEY")
rate = client.get_rate("CHF", "USD")
print(rate)Example response
[
{
"rate": 0.0000,
"source": "CHF",
"target": "USD",
"time": "2026-11-01T12:00:00Z"
}
]The rate value above is filled in from the live CHF/USD rate when the page loads.
What developers build with CHF rates
- Prices in CHF: show product prices, subscriptions or quotes in Swiss Franc for visitors in Switzerland.
- Checkout and invoicing: convert order totals to or from CHF at the current rate and store the rate used.
- Accounting and reporting: pull daily CHF rates for month-end revaluation, using the official Swiss National Bank rate where the rules require it.
- Dashboards and spreadsheets: download CHF history as CSV or Excel, or sync rates into an ERP with the accounting integrations.
- AI agents: give an assistant live CHF rates through the hosted MCP server.
Browse Other Currencies
Packages and open data
- JavaScript: @allratestoday/sdk on npm — live CHF rates, conversion and official central-bank tables.
- Python: allratestoday on PyPI · PHP: allratestoday/sdk on Packagist · Go: allratestoday-go · Rust: allratestoday on crates.io.
- Swiss National Bank rates for CHF: snb-exchange-rate on npm · source on GitHub · docs.
- Swiss Federal Office for Customs and Border Security rates for CHF: bazg-exchange-rate on npm · source on GitHub · docs.
- Open dataset of official central-bank rates, refreshed daily: Hugging Face · Kaggle · GitHub (JSON and CSV).
- AI agents: hosted MCP server, @allratestoday/mcp-server on npm and the OpenClaw skill.
- All code: AllRates-Today on GitHub · SDK docs.