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=BBK&base=DEM&date=1998-12-30

Fetch provider's five years of monthly rates.

curl https://api.frankfurter.dev/v2/rates?from=1993-12-30&to=1998-12-30&group=month&providers=BBK&base=DEM

Fetch provider's current USD/DEM.

curl https://api.frankfurter.dev/v2/rate/USD/DEM?providers=BBK&date=1998-12-30

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