Rates returned by this endpoint are indicative only and may change without notice. To lock a rate for 30 minutes, create a quote via POST /quotes.
Get conversion rate
Query parameters
string
required
Direction of the ramp. Must be one of:
onramp, offramp.string
required
Blockchain network. Must be one of:
stellar, celo.string
required
Crypto asset code. Supported values per network:
stellar:XLM,USDCcelo:CELO,USDT,USDC,CUSD
string
required
Fiat currency code. Supported values:
KES, TZS, NGN, ZAR, ZMW.Request examples
Response example
Response fields
string
required
The ramp direction requested. One of:
onramp, offramp.string
required
The blockchain network identifier. One of:
stellar, celo.string
required
The crypto asset code (e.g.
USDC, USDT, CUSD).string
required
The fiat currency code (e.g.
KES, NGN).string
required
The conversion rate as a decimal string. For an onramp, this is the amount of fiat per one unit of crypto. For an offramp, it is the amount of fiat received per one unit of crypto. The exact semantics depend on the type and asset pair.
string
required
The inverse of the quoted rate as a decimal string.
string
required
ISO 8601 UTC timestamp indicating when this rate was last refreshed.
