Skip to main content
GET
Get on/off ramp rates for a currency
Returns the latest active onramp and offramp rate for a fiat currency, quoted against USD. Both rates are returned on every call because the two directions are priced independently — the offramp rate (crypto to fiat) is not the inverse of the onramp rate (fiat to crypto). Read onRampRate.rate or offRampRate.rate depending on which way the money is moving.
Rates returned here already include the fee configured for your business, so the number you display is the number your user gets. Do not apply your own spread on top unless you intend to charge twice.
See Rates for how to quote an amount from a rate, and how long a rate stays good for.

Authorizations

x-api-key
string
header
required

Query Parameters

currency
enum<string>
required

Target fiat currency to fetch the on/off ramp rates for

Available options:
NGN,
GHS,
TZS,
KES,
ZAR,
USD
Example:

"NGN"

Response

The onramp and offramp rates for the currency

onRampRate
object
required
offRampRate
object
required