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=lvl&date=2014-01-11

Fetch five years of monthly rates.

curl https://api.frankfurter.dev/v2/rates?base=lvl&from=2009-01-11&to=2014-01-11&group=month

Fetch current LVL/USD.

curl https://api.frankfurter.dev/v2/rate/lvl/usd?date=2014-01-11

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