• 1949–present
  • Used in Switzerland and Liechtenstein
  • 82 providers
  • Monthly dataset

API examples

Frankfurter is a free, open-source API for current and historical exchange rates. The public API lives at api.frankfurter.dev. Query rates for this currency using the examples below.

Fetch against every currency.

curl https://api.frankfurter.dev/v2/rates?base=chf

Fetch five years of monthly rates.

curl https://api.frankfurter.dev/v2/rates?base=chf&from=2021-09-11&group=month

Fetch current CHF/USD.

curl https://api.frankfurter.dev/v2/rate/chf/usd

For the full reference and more examples, see the docs.