When to use Convert
Convert also serves as a price estimation tool. Call the estimate endpoint before placing a market order to preview the approximate execution price.
Conversion flow
The conversion flow has two steps: estimate and confirm.1
Request a quote
Send a
POST request to /api/v4/convert/estimate with the following parameters: from (source ticker), to (destination ticker), direction ("from" or "to"), and amount. The response includes id (quote identifier), give, receive, rate, and expireAt.2
Confirm the quote
Send a
POST request to /api/v4/convert/confirm with quoteId set to the id returned by the estimate. The response returns finalGive and finalReceive.Each estimate response includes an
expireAt timestamp — confirm before that moment. Honour the value returned per quote rather than hard-coding a fixed window. If the quote expires before confirmation, request a new estimate.API endpoints
Convert uses 3 authenticated endpoints. All require HMAC-SHA512 signing.Estimate parameters
Code example
Estimate a BTC-to-USDT conversion and confirm the quote.- cURL
- Python
History filters
The history endpoint supports filtering byfromTicker, toTicker, quoteId, and time range (from/to timestamps). The default limit is 100 records. The maximum history depth is 6 months from the current month.
Convert in payment flows
Convert is commonly used as part of the withdrawal flow when the currency held in Main balance differs from the currency an end user needs to withdraw. The pattern is: request an estimate, confirm the quote, then submit the withdrawal in the destination currency — balance routing is handled internally by the convert service. For the full step-by-step withdrawal-with-conversion flow including code examples, see Payment Integration.What’s next
Payment Integration
Deposit and withdrawal flows including conversion.
Spot Trading
Place orders on the orderbook with 6 order types.
WhiteBIT Codes
Transfer funds between accounts using fee-free digital vouchers.