Overview
TheRate endpoint returns the exchange rate for a currency pair with your
platform fee already applied on top. Use it to show your users what a conversion
will cost before they commit to it.
The rate is indicative — it does not reserve or lock a quote, and no funds
move. Pass exactly one of source_amount or destination_amount; Superbank
computes the other side.
Endpoints
Object
Attributes
fee.total is the complete cost of the conversion. It equals the gap between
what is debited and what would be received at the mid-market rate
(source_amount - destination_amount / mid_market_rate), so the difference
between mid_market_rate and effective_rate is fully explained by it.GET /v0/rates
Parameters
At least one leg must be a stablecoin — fiat-to-fiat pairs are not supported.
Stablecoin legs use a crypto rail (
SOLANA, ETHEREUM, POLYGON, TRON);
fiat legs use ACH, RTP, DOMESTIC_WIRE, or LOCAL.