• 2021–present
  • Monthly rates
  • Monthly customs rate
  • 146 currencies
  • Data source
  • Terms

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/providers/hmrc/rates?date=2026-09-01

Fetch provider's five years of monthly rates.

curl https://api.frankfurter.dev/v2/providers/hmrc/rates?from=2021-09-11&group=month

Fetch provider's current USD/GBP.

curl https://api.frankfurter.dev/v2/providers/hmrc/rate/usd/gbp?date=2026-09-01

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