Foreign exchange rates and currency conversion API

About provides a subscription-based, real-time currency exchange API for current and historical forex rates, covering 152 currencies, cryptocurrencies, and metals., with rates updated from every minute to every hour. The service ensures bank-grade security, simple integration into existing platforms and lightning-fast data from over 200 servers globally.

How they use Cloudflare was created five years ago and originally started as a side project. As the API grew over time, building on AWS became too expensive. That's when the development team at Currency API decided to move the project to Cloudflare. The shift to the developer platform was straightforward and easy. He added functionality to route the API through a Worker, using the Wrangler CLI tool, making it easier to push bulk writes and deploy updates.

As calls to the API increased, monitoring network traffic became a concern to keep costs down. To limit write requests, Oli leveraged Workers KV and Logpush with New Relic to push logs. When a request is made, New Relic sends a unique identifier using an API key and GraphQL on New Relic to make one write for bulk updates, enabling Currency API to reduce costs as low as possible.

Why Cloudflare?

“Cloudflare Workers has been so easy for me to use. The interface is straightforward, and I didn’t need to learn a new framework or interface.”