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=ltl&date=2015-01-10

Fetch five years of monthly rates.

curl https://api.frankfurter.dev/v2/rates?base=ltl&from=2010-01-10&to=2015-01-10&group=month

Fetch current LTL/USD.

curl https://api.frankfurter.dev/v2/rate/ltl/usd?date=2015-01-10

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