# WhiteBIT ## Docs - [Apply code](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/apply-code.md): Apply a WhiteBIT code to your account to redeem transferred funds. - [Close Flex Investment](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/close-flex-investment.md): Close an active flex investment and return funds to your main balance. - [Close investment](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/close-investment.md): Close a fixed-term smart investment before or at maturity. Available to B2B partners only. - [Create code](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/create-code.md): Create a WhiteBIT code for transferring funds between accounts off-chain. - [Create Flex Investment](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/create-flex-investment.md): Create a new flexible-term investment with daily interest accrual. - [Create new address for deposit](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/create-new-address-for-deposit.md): Generate a new cryptocurrency deposit address for a specific asset and network. - [Create withdraw request](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/create-withdraw-request.md): Create a withdrawal request for cryptocurrency or fiat, with support for multiple networks and travel rule compliance. - [Create withdraw request with the specific withdraw amount (fee is not included)](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/create-withdraw-request-with-specific-amount.md): Create a withdrawal where the specified amount is the net amount the receiver gets, with fees charged separately. - [Get codes history](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-codes-history.md): Retrieve the history of all WhiteBIT codes you have created or applied. - [Get cryptocurrency deposit address](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-cryptocurrency-deposit-address.md): Retrieve your existing cryptocurrency deposit address for a given asset and network. - [Get deposit/withdraw history](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-deposit-withdraw-history.md): Retrieve your deposit and withdrawal transaction history with filtering options. - [Get fees](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-fees.md): Retrieve fee information for deposits and withdrawals on your main account. - [Get fiat deposit address](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-fiat-deposit-address.md): Retrieve a fiat deposit URL for depositing fiat currency to your account. - [Get Flex Investment History](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-flex-investment-history.md): Retrieve the history of flex investment operations. Available to B2B partners only. - [Get Flex Payment History](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-flex-payment-history.md): Retrieve payment history for flex investments, including daily earnings records. - [Get Flex Plans](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-flex-plans.md): Retrieve available flex investment plans with their terms and interest rates. Available to B2B partners only. - [Get interest payments history](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-interest-payments-history.md): Retrieve the history of interest payments on smart investments. Available to B2B partners only. - [Get investments history](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-investments-history.md): Retrieve the history of fixed-term smart investments. Available to B2B partners only. - [Get my codes](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-my-codes.md): Retrieve a list of WhiteBIT codes you have created, including their status and amounts. - [Get plans](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-plans.md): Retrieve available fixed-term smart investment plans and their interest rates. Available to B2B partners only. - [Get User Flex Investments](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/get-user-flex-investments.md): Retrieve your current active flex investments and their balances. Available to B2B partners only. - [Invest](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/invest.md): Create a new fixed-term smart investment from your main balance. Available to B2B partners only. - [Issue card token](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/issue-card-token.md): Issue a card token for card-related operations on the WhiteBIT platform. - [Issue JWT token](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/issue-jwt-token.md): Issue a JWT token for authenticated session use with the WhiteBIT API. - [List Credit Lines](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/list-credit-lines.md): List credit line and loan information for your account. Requires activation by WhiteBIT support. - [Main balance](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/main-balance.md): Retrieve your main account balance across all available assets. - [Account & Wallet](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/overview.md): Endpoints for managing main balance, deposits, withdrawals, codes, crypto lending, fees, and credit lines. - [Get WebSocket Token](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/profile-websocket-token.md): Generate a WebSocket authentication token for subscribing to private account streams. - [Refund deposit](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/refund-deposit.md): Initiate a refund for a deposit transaction on your WhiteBIT account. - [Transfer between balances](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/transfer-between-balances.md): Transfer funds between your internal balances, such as main, trade, and collateral accounts. - [Update Flex Auto-Reinvestment](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/update-flex-auto-reinvestment.md): Enable or disable automatic reinvestment of earnings for a flex investment. - [Withdraw from Flex Investment](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/account-wallet/withdraw-from-flex-investment.md): Withdraw funds from an active flex investment back to your main balance. - [Private HTTP API Authentication](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/authentication.md): How to authenticate with WhiteBIT private HTTP API endpoints using API keys, HMAC-SHA512 signatures, and required headers. - [Cancel conditional order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/cancel-conditional-order.md): Cancel an active conditional order on your collateral trading account. - [Change Collateral Account Leverage](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/change-collateral-account-leverage.md): Change the leverage setting for your collateral trading account on a specific market. - [Close Position](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/close-position.md): Close an open position on your collateral trading account by market. - [Collateral Account Balance](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/collateral-account-balance.md): Retrieve the current balance of all assets held in your collateral trading account. - [Collateral Account Balance Summary](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/collateral-account-balance-summary.md): Retrieve a summarized view of your collateral account balance with aggregated asset values. - [Collateral Account Hedge Mode](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/collateral-account-hedge-mode.md): Query the current hedge mode status of your collateral trading account. - [Collateral Account Summary](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/collateral-account-summary.md): Retrieve an overall summary of your collateral account, including equity, margin, and unrealized PnL. - [Collateral bulk limit order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/collateral-bulk-limit-order.md): Place multiple collateral limit orders in a single bulk request for efficient batch trading. - [Collateral Limit Order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/collateral-limit-order.md): Place a limit order on a collateral market at a specified price and amount. - [Collateral Market Order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/collateral-market-order.md): Place a market order on a collateral market for immediate execution at the best available price. - [Collateral Stop-Limit Order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/collateral-stop-limit-order.md): Place a stop-limit order on a collateral market that triggers a limit order when the stop price is reached. - [Collateral Trigger Market Order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/collateral-trigger-market-order.md): Place a trigger market order on a collateral market that executes at market price when the trigger condition is met. - [Create collateral OCO order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/create-collateral-oco-order.md): Create a one-cancels-the-other (OCO) order on a collateral market, pairing two linked orders. - [Funding History](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/funding-history.md): Retrieve the funding fee payment history for positions on your collateral account. - [Open Positions](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/open-positions.md): Retrieve all currently open positions on your collateral trading account. - [Collateral Trading](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/overview.md): Overview of collateral (margin) trading endpoints for managing positions, leverage, and collateral orders. - [Positions History](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/positions-history.md): Retrieve the history of closed positions on your collateral trading account. - [Query unexecuted(active) conditional orders](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/query-unexecuted-conditional-orders.md): Retrieve all active conditional orders on your collateral account that have not yet been triggered. - [Query unexecuted(active) OCO orders](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/query-unexecuted-oco-orders.md): Retrieve all active OCO orders on your collateral account that have not yet been executed. - [Update Collateral Account Hedge Mode](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/collateral-trading/update-collateral-account-hedge-mode.md): Enable or disable hedge mode on your collateral trading account to allow simultaneous long and short positions. - [Convert Confirm](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/convert/convert-confirm.md): Confirm and execute a previously estimated asset conversion between two currencies. - [Convert Estimate](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/convert/convert-estimate.md): Request a price estimate for converting one asset into another before confirming the swap. - [Convert History](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/convert/convert-history.md): Retrieve the history of your past asset conversion transactions. - [Asset status list](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/asset-status-list.md): Retrieve a list of all assets with their deposit and withdrawal availability, network details, and status. - [Available Futures Markets List](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/available-futures-markets-list.md): Retrieve a list of all available futures markets and their trading parameters. - [Collateral Markets List](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/collateral-markets-list.md): Retrieve a list of all available collateral markets and their configuration details. - [Depth](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/depth.md): Retrieve aggregated order book depth with buy and sell walls for a specific market. - [Fee](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/fee.md): Retrieve the trading fee schedule with maker and taker fees for all available markets. - [Funding History](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/funding-history.md): Retrieve the public funding rate history for a specific futures market. - [Kline](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/kline.md): Retrieve candlestick (OHLCV) chart data for a specific market and time interval. - [Maintenance status](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/maintenance-status.md): Check whether the WhiteBIT platform is currently under maintenance. - [Market activity](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/market-activity.md): Retrieve 24-hour market activity data including price, volume, and price changes for all trading pairs. - [Market Info](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/market-info.md): Retrieve detailed information about all available spot and futures markets, including trading pair configuration. - [Orderbook](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/orderbook.md): Retrieve the full order book with bids and asks for a specific market. - [Market Data](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/overview.md): Overview of all public market data endpoints for server status, markets, order books, trades, and futures data. - [Recent Trades](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/recent-trades.md): Retrieve the most recent executed trades for a specific market. - [Server Status](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/server-status.md): Ping the WhiteBIT API server to check if it is alive and responsive. - [Server Time](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/market-data/server-time.md): Retrieve the current server timestamp for synchronizing client clocks with the exchange. - [Account Hashrate](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/account-hashrate.md): Retrieve hashrate data for a specific mining pool account over time. - [Create Mining Account](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/create-mining-account.md): Create a new mining pool account for the authenticated user. - [Create Watcher Link](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/create-watcher-link.md): Generate a read-only watcher link for monitoring a mining account without full access. - [Get Mining Accounts](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/get-mining-accounts.md): Retrieve a list of all mining pool accounts associated with your WhiteBIT account. - [Get Payout Destination](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/get-payout-destination.md): Retrieve the currently configured payout destination for your mining rewards. - [Get Rewards](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/get-rewards.md): Retrieve mining reward history and earnings data for a mining account. - [List Watcher Links](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/list-watcher-links.md): Retrieve all existing watcher links associated with a mining account. - [Miner Info](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/miner-info.md): Retrieve detailed information about a specific miner, including status and performance metrics. - [Pool Overview](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/pool-overview.md): Retrieve a public overview of the WhiteBIT mining pool with general pool statistics. - [Set Payout Destination](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/set-payout-destination.md): Configure or update the payout destination address for your mining rewards. - [Worker Hashrate](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/worker-hashrate.md): Retrieve hashrate data for individual workers within a mining account. - [Worker Names](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/mining-pool/worker-names.md): Retrieve the list of worker names associated with a mining account. - [Get Account Transactions](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/oauth/usage/account-transactions.md): Retrieve account transaction history using OAuth-authenticated access on behalf of a user. - [Get Currency Conversions](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/oauth/usage/currency-conversions.md): Retrieve currency conversion records for an OAuth-authenticated user account. - [Get Executed Deals](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/oauth/usage/executed-deals.md): Retrieve a list of executed trade deals for an OAuth-authenticated user account. - [Get Access Token](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/oauth/usage/get-access-token.md): Exchange an authorization code for an OAuth 2.0 access token and refresh token. - [Get Main Account Balance](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/oauth/usage/main-account-balance.md): Retrieve the main account balance for an OAuth-authenticated user. - [OAuth 2.0 Authorization](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/oauth/usage/oauth.md): Initiate the OAuth 2.0 authorization flow by redirecting the user to the WhiteBIT login page. - [Get Orders History](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/oauth/usage/orders-history.md): Retrieve the order history for an OAuth-authenticated user account. - [Refresh Token](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/oauth/usage/refresh-token.md): Refresh an expired OAuth 2.0 access token using a valid refresh token. - [Get Spot Account Balance](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/oauth/usage/spot-account-balance.md): Retrieve the spot trading account balance for an OAuth-authenticated user. - [API Reference](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/overview.md): WhiteBIT REST API overview — base URL, authentication, quickstart examples, rate limits, and links to all endpoint groups. - [REST API rate limits and error codes](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/rate-limits.md): Reference for REST API rate limits, error formats, authentication error codes, and best practices. - [Bulk limit order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/bulk-limit-order.md): Place multiple spot limit orders in a single batch request for efficient order management. - [Cancel all orders](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/cancel-all-orders.md): Cancel all open spot orders, optionally filtered by market pair. - [Cancel order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/cancel-order.md): Cancel a specific open spot order by its order ID. - [Create buy stock market order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/create-buy-stock-market-order.md): Create a buy-side stock market order where the amount is specified in the quote currency. - [Create Limit Order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/create-limit-order.md): Create a new spot limit order at a specified price and amount on a given market. - [Create market order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/create-market-order.md): Create a spot market order that executes immediately at the best available price. - [Create stop-limit order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/create-stop-limit-order.md): Create a spot stop-limit order that triggers a limit order when the stop price is reached. - [Create stop-market order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/create-stop-market-order.md): Create a spot stop-market order that triggers a market order when the stop price is reached. - [Modify order](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/modify-order.md): Modify the price or amount of an existing open spot order without canceling it. - [Spot Trading](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/overview.md): Endpoints for spot trading operations including order management, order queries, market fees, and kill switch. - [Query All Market Fees](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/query-all-market-fees.md): Retrieve the fee structure for all available spot trading markets. - [Query executed order deals](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/query-executed-order-deals.md): Retrieve the individual trade fills associated with a specific executed spot order. - [Query executed order history](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/query-executed-order-history.md): Retrieve a historical record of all executed spot orders with detailed trade information. - [Query executed orders](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/query-executed-orders.md): Retrieve a list of previously executed spot orders for your trading account. - [Query Market Fee](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/query-market-fee.md): Retrieve the maker and taker trading fee for a specific spot market pair. - [Query unexecuted(active) orders](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/query-unexecuted-orders.md): Retrieve all currently open spot orders that have not yet been executed. - [Status kill-switch timer](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/status-kill-switch-timer.md): Check the current status and remaining time of the kill-switch timer for automatic order cancellation. - [Sync kill-switch timer](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/sync-kill-switch-timer.md): Set or reset the kill-switch countdown timer that automatically cancels all open orders when it expires. - [Trading Balance](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/spot-trading/trading-balance.md): Retrieve the available and frozen balances in your spot trading account. - [Block Sub-Account](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/block-sub-account.md): Block a sub-account to suspend its access and trading activity. - [Create Sub-Account](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/create-sub-account.md): Create a new sub-account under your main WhiteBIT account. - [Create Sub-Account API Key](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/create-sub-account-api-key.md): Create a new API key for a sub-account to enable programmatic access. - [Create Sub-Account API Key IP Address](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/create-sub-account-api-key-ip-address.md): Add an IP address to a sub-account API key allowlist for restricted access control. - [Delete Sub-Account](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/delete-sub-account.md): Permanently delete a sub-account from your main WhiteBIT account. - [Delete Sub-Account API Key](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/delete-sub-account-api-key.md): Permanently delete an API key from a sub-account, revoking its access. - [Delete Sub-Account API Key IP Address](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/delete-sub-account-api-key-ip-address.md): Remove an IP address from a sub-account API key allowlist. - [Edit Sub-Account](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/edit-sub-account.md): Edit the properties and settings of an existing sub-account. - [Edit Sub-Account API Key](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/edit-sub-account-api-key.md): Edit the permissions or settings of an existing sub-account API key. - [Get Sub-Account Transfer History](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/get-sub-account-transfer-history.md): Retrieve the history of fund transfers between your main account and sub-accounts. - [List of Sub-Accounts](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/list-of-sub-accounts.md): Retrieve a list of all sub-accounts associated with your main WhiteBIT account. - [List Sub-Account API Key IP Addresses](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/list-sub-account-api-key-ip-addresses.md): Retrieve all whitelisted IP addresses for a specific sub-account API key. - [List Sub-Account API Keys](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/list-sub-account-api-keys.md): Retrieve all API keys associated with a specific sub-account. - [Sub-Accounts](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/overview.md): Overview of sub-account management endpoints for creating, managing, and configuring sub-accounts. - [Reset Sub-Account API Key](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/reset-sub-account-api-key.md): Reset a sub-account API key to generate a new secret, invalidating the previous one. - [Sub-Account Balances](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/sub-account-balances.md): Retrieve the current asset balances for a specific sub-account. - [Sub-Account Transfer](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/sub-account-transfer.md): Transfer funds between your main account and a sub-account. - [Unblock Sub-Account](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/api-reference/sub-accounts/unblock-sub-account.md): Unblock a previously blocked sub-account to restore its access and trading activity. - [FAQ](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/faq.md): Answers to common questions about the WhiteBIT API, including rate limits, WebSocket usage, errors, and integration issues. - [Glossary](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/glossary.md): Comprehensive glossary of trading terms, cryptocurrency concepts, and WhiteBIT platform terminology. - [Docs page AI menu](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/guides/ai-context-menu.md): Use the docs page dropdown to copy content for AI tools or open pages in ChatGPT, Claude, Cursor, and other AI clients. - [AI tools FAQ](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/guides/ai-faq.md): Common questions about the WhiteBIT MCP server and CLI — API key safety, supported clients, account setup, and automation. - [Docs search via MCP](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/guides/ai-ide-setup.md): Configure Cursor, VS Code, or Claude Desktop to search the full WhiteBIT documentation using the Model Context Protocol (MCP). - [CLI](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/guides/cli.md): Trade, manage accounts, and query market data from the terminal using the WhiteBIT CLI. Built for scripting, CI/CD pipelines, and automated workflows. - [Client Order ID](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/guides/client-order-id.md): This guide provides information about using `clientOrderId` in trading operations, including best practices and common use cases. - [Fireblocks](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/guides/fireblocks.md): Step-by-step guide to connect a WhiteBIT account to Fireblocks Network for secure digital asset transfers. - [MCP server](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/guides/mcp-server.md): Connect Claude Code, Cursor, Claude Desktop, Codex, or OpenClaw to 115 WhiteBIT trading tools using the Model Context Protocol. - [Order Parameter Rules](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/guides/order-parameter-rules.md): Defines unsupported parameter combinations for order requests and explains related validation errors. - [AI tools](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/guides/use-with-ai.md): WhiteBIT AI tools — a trading MCP server, a CLI, and documentation integrations for Claude Code, Cursor, Claude Desktop, Codex, and OpenClaw. - [Colocation Services](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/platform/colocation.md): Place trading servers near the WhiteBIT matching engine for ultra-low latency execution, ideal for algorithmic and high-frequency trading. - [OAuth 2.0 on WhiteBIT](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/platform/oauth/overview.md): OAuth 2.0 integration with WhiteBIT for secure, token-based authorization of third-party applications to access trading and account data. - [Usage Overview](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/platform/oauth/usage/overview.md): OAuth 2.0 authentication endpoints for obtaining and refreshing access tokens. - [API Overview](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/platform/overview.md): Overview of the WhiteBIT API platform, covering REST API, WebSocket API, webhooks, OAuth, and colocation services. - [Self Trade Prevention (STP)](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/platform/self-trade-prevention.md): Self Trade Prevention (STP) prevents traders from executing trades against their own orders, with four configurable modes. - [Webhook HTTP API](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/platform/webhook.md): Configure webhook notifications for real-time event updates, including withdrawal status changes and payment events. - [Authorize](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/account-streams/authorize.md): Authorize your WebSocket connection for access to private account stream channels using a WebSocket token. - [Balance Margin](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/account-streams/balance-margin.md): Subscribe to real-time collateral (margin) balance updates including total, borrowed, and available amounts. - [Balance Spot](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/account-streams/balance-spot.md): Subscribe to real-time spot balance updates for your trading account. - [Borrows](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/account-streams/borrows.md): Subscribe to collateral borrow status updates, including borrow amounts, funding, and liquidation prices. - [Borrows Events](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/account-streams/borrows-events.md): Receive real-time margin call and liquidation event notifications for your collateral borrows. - [Deals](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/account-streams/deals.md): Subscribe to real-time trade execution notifications with price, amount, and fee details. - [Margin Positions Events](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/account-streams/margin-positions-events.md): Receive real-time margin call and liquidation event notifications for your collateral positions. - [Orders Executed](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/account-streams/orders-executed.md): Subscribe to executed order history updates with optional filtering by order type. - [Orders Pending](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/account-streams/orders-pending.md): Subscribe to active order updates across your specified markets in real time. - [Account Streams](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/account-streams/overview.md): Overview of all private WebSocket account stream channels for balances, orders, deals, and positions. - [Positions](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/account-streams/positions.md): Subscribe to real-time position updates for collateral (margin) trading. - [WebSocket Authentication](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/authentication.md): How to authorize a WebSocket connection for access to private Account Stream channels. - [Book Ticker](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/market-streams/book-ticker.md): Subscribe to real-time best bid and ask price updates for a specific market. - [Order Book Depth](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/market-streams/depth.md): Subscribe to real-time order book depth updates with full snapshots and incremental changes. - [Kline](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/market-streams/kline.md): Subscribe to real-time candlestick (OHLCV) data updates for a market at a specified time interval. - [Last Price](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/market-streams/lastprice.md): Subscribe to real-time last traded price updates for one or more markets. - [Market Statistics](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/market-streams/market.md): Subscribe to market statistics over a configurable time period, including price, volume, and deal data. - [Market statistics for current day UTC](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/market-streams/market-today.md): Subscribe to current-day market statistics that reset at UTC midnight, including price and volume data. - [Market Streams](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/market-streams/overview.md): Overview of all public WebSocket market stream channels for prices, order books, trades, and statistics. - [Service](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/market-streams/service.md): Check WebSocket API availability with ping/pong requests and query the current server time. - [Market Trades](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/market-streams/trades.md): Subscribe to real-time trade execution data for specific markets or all markets at once. - [WebSocket API](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/overview.md): WhiteBIT WebSocket API — connection details, quickstart examples, message format, and links to all available channels. - [WebSocket Rate Limits & Error Codes](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/websocket/rate-limits.md): Connection limits, request limits, timeout behavior, and error codes for the WhiteBIT WebSocket API. ## OpenAPI Specs - [http-v4](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/openapi/public/http-v4.yaml) - [http-v2](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/openapi/public/http-v2.yaml) - [http-v1](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/openapi/public/http-v1.yaml) - [main_api_v4](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/openapi/private/main_api_v4.yaml) - [http-trade-v4](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/openapi/private/http-trade-v4.yaml) - [http-trade-v1](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/openapi/private/http-trade-v1.yaml) - [oauth2](https://whitebit-mintlify-seo-descriptions-1774225017.mintlify.app/openapi/oauth2.yaml)