Quotes
Returns the quote for a specific fiat currency, amount and payment method
Returns a real-time buy quote for a currency pair.
Supply quoteCurrencyCode, baseCurrencyCode, and quoteCurrencyAmount (fiat amount) to get a
detailed buy quote including fees and the amount of crypto the user will receive.
Partner's public API key. Required on all endpoints to identify the partner.
The fiat currency to buy with.
USDThe crypto currency to buy.
BTCThe fiat amount the customer wants to spend. Must be a positive decimal with precision no higher than the currency precision.
100.00Payment method to be used for the order.
CARDPossible values: ISO 3166-1 alpha-2 country code, e.g. US.
USUS state code, e.g. AL. Ignored if countryCode is not US.
ALThe wallet address where the user wants to receive the crypto.
Buy quote with price, fees, and resulting crypto amount.
The fiat amount the user pays for the transaction.
63.00The fiat currency being spent.
USDThe amount of crypto converted from quoteCurrencyAmount at price, before fees. See totalAmount for the net amount after fees.
0.001The crypto currency being purchased.
BTCThe buy-side price of the base currency denominated in the quote currency.
62451.29Blockchain.com processing fee denominated in the quote (fiat) currency.
1.00Partner fee denominated in the quote (fiat) currency.
1.00Network (blockchain transaction) fee denominated in the quote (fiat) currency.
1.00Net amount of crypto the user receives after all fees.
0.0009Payment method to be used for the order.
CARDPossible values: Returns 400 when:
- Any required query parameter is missing.
baseCurrencyCodeorquoteCurrencyCodeis not supported.baseCurrencyCodeis not of type CRYPTO.quoteCurrencyCodeis not of type FIAT.baseCurrencyCodeis not allowed for trading in the givencountryCode.baseCurrencyCodeis not allowed for trading in the givenusStateCode.quoteCurrencyCodeis not allowed for any region.baseCurrencyCodeis not allowed for any region.
Returns 422 when:
- Fee profile for partner not found.
- Quote not available for the requested parameters.
Last updated