DEV Community

Declan
Declan

Posted on Edited on

Self-hosting Frankfurter vs paying for an exchange rate API: what you're actually trading

One of Frankfurter's best features is that you can run it yourself. It's open source, the data comes from public central bank publications, and a small container handles a lot of traffic. If you want zero vendor dependency, that's a real advantage.

Before you do, it helps to be clear about what you're taking on.

What self-hosting gives you

  • No rate limits except your own hardware.
  • No third party in your request path.
  • Full control over caching and retention.

What you take on

  • Source breakage. Central banks change URLs, formats and publishing times without notice. Frankfurter's maintainers fix that upstream, and you have to pull and redeploy.
  • Holidays and gaps. You decide what "the rate on Saturday" means for your users.
  • Scope. You get exactly what Frankfurter collects: official fixings. Bank buy/sell rates and intraday market rates still have to come from somewhere else.

When a managed API is cheaper

If your team needs any of these, a hosted API is usually cheaper than an engineer's afternoon each month:

  • commercial bank boards (AllRatesToday reads 1,223 banks hourly; none of them have a public API),
  • a market rate that updates every minute,
  • customs tables by clearance country,
  • XLSX/XML output for finance tools,
  • someone to email when a number looks wrong.

AllRatesToday has a free tier and paid plans from €4.99 a month.

A reasonable split

Self-host Frankfurter for the official ECB/central bank table if you're happy maintaining it, and call a managed API only for the rate types you can't collect yourself. Nothing forces you to pick one source for everything.


Top comments (0)