Skip to main content
Rach keeps live mid-market exchange rates for every currency a checkout can be priced in. The endpoints are public — no API key — so you can show prices in your customer’s currency before you create a checkout.

Where the rates come from

Rach reads four free, independent public feeds at once: Coinbase, open.er-api.com, currency-api and Frankfurter (European Central Bank). For each currency it takes the median of the feeds that agree within 3%, and a currency is offered only when at least two feeds agree. A single bad print can never set a price. Rates refresh at most every 10 minutes. If every feed is down, the last good set keeps serving for up to 6 hours with "stale": true; after that, prices in other currencies are refused until the feeds return. USD prices are never affected. USDT and USDC are priced as US dollars.

List currencies

decimals is the currency’s minor unit: a checkout price in that currency may not have more decimals than this.

Get rates

Each rate is units of that currency for one unit of base. Omit symbols for every currency. base can be any listed currency, or USDT/USDC.

Convert an amount

result is rounded to the target currency’s decimals. This is an estimate: a checkout rounds its dollar amount up to the cent and locks the rate when you create it, so the checkout response is the amount to rely on.

Errors

Where Rach uses these rates

  • Checkouts priced in another currency are converted at creation and the rate is locked for the session.
  • Bank withdrawals in naira are quoted at the live rate when you request them, unless Rach’s operations team has fixed a payout rate.