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=nlg&date=2002-01-26

Fetch five years of monthly rates.

curl https://api.frankfurter.dev/v2/rates?base=nlg&from=1997-01-26&to=2002-01-26&group=month

Fetch current NLG/USD.

curl https://api.frankfurter.dev/v2/rate/nlg/usd?date=2002-01-26

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