Skip to main content
Returns the live rate for a card payment, in both directions: buy prices paying fiat by card to receive crypto, sell prices the reverse. Use it for display - a ticker, a slider, a “you receive” preview. When the buyer commits, go through POST /v1/card/quote, which returns the full fee breakdown for the exact amount.

Request

string
required
ISO 4217 code, e.g. EUR.
string
required
The crypto asset, e.g. USDC.
string
required
The fiat amount to price, as a decimal string. Rates depend on the amount - a flat fee minimum makes small amounts more expensive per unit - so price the real amount rather than extrapolating from one sample.
string
buy (fiat to crypto, the default) or sell (crypto to fiat).

Response

string
Echo of the direction priced.
string
Echo of the fiat currency.
string
Echo of the crypto asset.
string
The fiat side of the conversion, fees included.
string
The crypto side of the conversion at this rate, as a decimal string. Keep it as a string - precision follows the asset.
string
The rate used, in fiat per unit of crypto.
This is a live rate, not a hold. Nothing is reserved and the figure moves with the market. The number a buyer commits to comes from /v1/card/quote.

Errors