Quotes
Returns the quote for a specific fiat currency, amount and payment method
Last updated
Returns the quote for a specific fiat currency, amount and payment method
Last updated
The Quotes API allows you to fetch real-time quotes for transactions across different fiat-to-crypto pairs. This information can be used to display quotes in your UI prior to redirecting them Blockchain.com Pay.
Note: Users may see a slightly different quote if it expires prior to them being redirected to Blockchain.com Pay
Returns real-time buy quote for a currency pair.
Supply quoteCurrencyCode
, baseCurrencyCode
and quoteCurrencyAmount
(fiat) to get a detailed buy quote, comprehensive of fees, and the amount of quote currency (fiat) that the user will need to pay for the transaction, as well as base currency (crypto) the user will get after the transaction.
/v1/quote/buy
The currency to buy with. Must be a fiat currency.
USD
The currency to buy. Must be crypto.
BTC
A positive decimal representing how much crypto the customer wants to buy. Must be a decimal number with precision not higher then the currency precision.
100.00
Payment method to be used for the order. If not set, the quote will not consider the payment method.
CARD
, APPLE_PAY
, GOOGLE_PAY
e.g. US
US
Iso3188-1-alpha2
e.g. AL
. If country!=US
this parameter is ignored.
AL
The wallet address where the user wants to receive the crypto.