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=zwn&date=2006-10-25

Fetch five years of monthly rates.

curl https://api.frankfurter.dev/v2/rates?base=zwn&from=2006-09-01&to=2006-10-25&group=month

Fetch current ZWN/USD.

curl https://api.frankfurter.dev/v2/rate/zwn/usd?date=2006-10-25

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