← All pushup projects

Currency Converter

Live

Convert between currencies with live exchange rates, built to run on a free 100-requests-a-month API plan without ever going over. Try it right on its project page.

Documentation last updated November 22, 2026

  • React
  • TypeScript
  • Next.js
  • Supabase
  • PostgreSQL
  • REST API

Try it

Loading exchange rates…

Currency Converter turns an amount in one currency into another, for about 170 currencies. Pick the currencies, type an amount, and the result updates as you type, along with the exchange rate and when the rates were taken.

How it works

The exchange rates come from the currencylayer API, on its free plan. That plan allows only 100 requests a month and only gives rates relative to US dollars, so the converter is built around those limits. A single request returns the rate for every currency, and any pair can be worked out from those (euros to yen goes through dollars), so converting never costs a request. The server saves the latest rates in a Supabase PostgreSQL database and shares them with every visitor, refreshing them at most every 12 hours. The API key stays on the server and is never sent to the browser.

A database function decides whether a refresh is allowed, so even when many people open the page at once, only one request goes out. It stops at 80 requests a month, well under the plan's limit. If the limit is ever reached anyway, refreshing stops until next month.

When the free data runs out

This page is meant to stay free, so it never pays for more data. If it can't get new rates, it keeps working with the last saved rates and says how old they are, or, if it has none, explains that conversions are paused. Either way it points to other converters, like XE, OANDA and Wise, for live rates.

The project is written in TypeScript with React, as part of this site's Next.js codebase.