Get a price estimate for converting between two currencies on WhiteBIT via the V4 API.
The public WhiteBIT API key.
Base64-encoded JSON request body.
HMAC-SHA512 signature of the payload, hex-encoded. Computed as hex(HMAC-SHA512(payload, api_secret)).
From currency. Example: BTC
"BTC"
To currency. Example: USDT
"USDT"
Convert amount direction, defines in which currency corresponding "amount" field is populated. Use "to" in case amount is in "to" currency, use "from" if amount is in "from" currency
from, to "to"
Amount to convert or receive.
"35,103.1"
Nonce for request
1699260637
Request path
"{{request}}"
Successful response
Quote ID
"123"
From currency
"BTC"
To currency
"USDT"
Amount to give
"50"
Amount to receive
"1714988.41577452"
Conversion rate expressed in the from→to direction: units of the 'to' currency received per one unit of the 'from' currency. Example: if from=BTC and to=USDT, a rate of "34299.76" means 1 BTC is worth approximately 34 299.76 USDT at the time of the quote.
"34299.76831549"
Quote expiration timestamp
1699016476