Get an exchange rate
Returns the exchange rate for a currency pair with your platform fee applied on top. Pass exactly one of source_amount or destination_amount; the other side is computed. This is an indicative rate and does not lock a quote.
Authorizations
Query Parameters
Source currency code, e.g. USDC, USDT, EURC, USD.
"USDC"
Source rail / chain, e.g. SOLANA, TRON, POLYGON, ETHEREUM, ACH.
"SOLANA"
Destination currency code, e.g. USD, CAD, EUR, USDC.
"CAD"
Destination rail, e.g. ACH, RTP, DOMESTIC_WIRE, LOCAL, SOLANA.
"LOCAL"
ISO 3166-1 alpha-2 country code of the destination. Required when the destination is a fiat currency.
"CA"
ISO 3166-1 alpha-2 country code of the source. Required when the source is a fiat currency (on-ramp).
"US"
Amount in the source currency to convert. Mutually exclusive with destination_amount.
1000
Amount in the destination currency to receive. Mutually exclusive with source_amount.
1000
Response
Rate retrieved successfully
"USDC"
"CAD"
Destination units per one source unit, before fees.
1.3788
Inverse of mid_market_rate.
0.7252
All-in rate the customer receives per source unit, after all fees.
1.3712
Amount debited in the source currency.
1000
Amount credited in the destination currency.
1371.2