v1

latestOpenAPI 3.0.02026-07-242830146.7 KB
Quote

Quote endpoint

post/v1/quote

Headers

Authorizationstring required

Api key

X-Request-Signaturestring required

Base64 encoded string, containing request body, encrypted with the sha512 algorithm using RSA 4096 bit public key

Request body

quote_idstring uuid required

Partner-generated identifier of a specific quote in UUID format.

crypto_currencystring required

Crypto asset code.

fiat_currencystring required

Fiat currency code.

requested_currencystring required

Base crypto or fiat currency for quote calculation, see request examples.

requested_amountstring required

Requested amount with precision 2 for fiat and 8 for crypto.

requested_amount_typestring nullable required

Allowed values are: from / to

direction'buy' | 'sell'

Quote direction. Allowed values are: buy / sell.

Response

OK

statusstring required

Example response

{
  "result": {
    "fees": {
      "network_fee": {
        "amount": "1.59",
        "currency": "USD"
      },
      "service_fee": {
        "amount": "26.34",
        "currency": "USD"
      },
      "total_fee": {
        "amount": "27.93",
        "currency": "USD"
      },
      "fee_discount": {
        "amount": "1.93",
        "currency": "USD"
      }
    },
    "exchange_rate_fiat_to_crypto": {
      "from": "EUR",
      "to": "USDT",
      "rate": "1.2345"
    },
    "exchange_rate_crypto_to_fiat": {
      "from": "EUR",
      "to": "USDT",
      "rate": "1.2345"
    }
  }
}