Syncing

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 from this provider using the examples below.

Fetch provider's latest rates.

curl https://api.frankfurter.dev/v2/rates?providers=BM&date=2019-10-22

Fetch provider's five years of monthly rates.

curl https://api.frankfurter.dev/v2/rates?from=2018-01-02&to=2019-10-22&group=month&providers=BM

Fetch provider's current USD/MZN.

curl https://api.frankfurter.dev/v2/rate/USD/MZN?providers=BM&date=2019-10-22

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