Quotes
Returns the quote for a specific fiat currency, amount and payment method
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.
The currency to buy with. Must be a fiat currency.
USDThe currency to buy. Must be crypto.
BTCA 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.00Payment method to be used for the order. If not set, the quote will not consider the payment method.
e.g. US
USPattern: Iso3188-1-alpha2e.g. AL. If country!=US this parameter is ignored.
ALThe wallet address where the user wants to receive the crypto.
ok
The amount of quote currency (fiat) that the user will need to pay for the transaction
63.00Currency the user is buying with.
USDThe amount of base currency (crypto) that will be converted from quoteCurrencyAmount using price. It does not include fees. See totalAmount for the amount of base currency the user will get after the transaction (fees included)
0.001Currency the user is buying.
BTCThe price of the base currency in the quote currency. If the customer is buying BTC with USD, this is the price of BTC in USD
62451.29The amount of Blockchain.com processing fees expressed in quote currency. e.g. when buying BTC with USD, this fee is expressed in USD
1.00The amount of partner fees expressed in quote currency. e.g. when buying BTC with USD, this fee is expressed in USD
1.00The amount of network (blockchain transaction) fees expressed in quote currency. e.g. when buying BTC with USD, this fee is expressed in USD
1.00The actual of the base currency (crypto) the user will get after the transaction, comprehensive of all fees. See baseCurrencyAmount for the amount without fees.
0.0009Payment method to be used for the order. Can be null if it was not provided in the request
CARDPayment method to be used for the order. Can be null if it was not provided in the request.
CARDPossible values: Returns error 400 when:
- Any of the required query params are missing
baseCurrencyCode/quoteCurrencyCodeis not supportedbaseCurrencyCodeis not of the type 'Crypto'quoteCurrencyCodeis not of the type 'Fiat'baseCurrencyCodeis not allowed for trading in thiscountrybaseCurrencyCodeis not allowed for trading in thisusStatequoteCurrencyCodeis not allowed for trading in thiscountryquoteCurrencyCodeis not allowed for trading in thisusStatequoteCurrencyCodeis not allowed for any regionbaseCurrencyCodeis not allowed for any region Returns error 422 when:Fee profilefor partner not foundQuotenot found for the requested parameters
Last updated