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-08

Fetch five years of monthly rates.

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

Fetch current LTL/EUR.

curl https://api.frankfurter.dev/v2/rate/LTL/EUR?date=2015-01-08

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