DEV Community

Exchange Rate API
Exchange Rate API

Posted on Edited on

When I'd still pick Frankfurter (and when I wouldn't)

I build on exchange rate data every day, and Frankfurter is a project I respect. It's free, open source, fast, and v2 now covers 112 official sources. Here is when I'd use it and when I wouldn't.

Pick Frankfurter if

  • You need official daily rates and nothing else.
  • You want no signup for a side project, a demo or a tutorial.
  • You want to self-host and own the whole pipeline.
  • The source you need is one of its 112 providers, some of which have history going back decades.

Look elsewhere if

  • Users ask what their bank will give them. Frankfurter has no commercial bank boards. AllRatesToday reads 1,223 banks in 124 countries hourly.
  • You price things during the day. Official fixings move once a day, so you need a market rate. AllRatesToday refreshes 160+ currencies every 60 seconds.
  • A rule names a customs or tax rate. Frankfurter has six such sources; AllRatesToday has 66, queryable by clearance country.
  • The central bank you need isn't a provider, such as the Bank of Korea, Central Bank of the UAE, Reserve Bank of New Zealand, State Bank of Vietnam or Qatar Central Bank.
  • Finance wants files, meaning XLSX or XML rather than JSON.
  • You need a support contact for when a number looks wrong at month-end.

Or use both

There's nothing wrong with using Frankfurter for the official table and a second API for bank boards or intraday rates. Pick per rate type, not per vendor.


Top comments (0)