# WhiteBIT ## Docs - [Apply code](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/apply-code.md): The endpoint applies [WhiteBIT code](/glossary#whitebit-codes). - [Close Flex Investment](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/close-flex-investment.md): Completely close investment and withdraw all funds. - [Close investment](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/close-investment.md): The endpoint closes active investment. - [Create code](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/create-code.md): The endpoint creates [WhiteBIT code](/glossary#whitebit-codes). - [Create Flex Investment](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/create-flex-investment.md): Create new investment in a Flex plan. - [Create new address for deposit](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/create-new-address-for-deposit.md): The endpoint creates a new address even when the last created address is not used. The endpoint is not available by default, contact support@whitebit.com to get permissions to use the endpoint. - [Create withdraw request](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/create-withdraw-request.md): The endpoint creates withdraw for the specified ticker. - [Create withdraw request with the specific withdraw amount (fee is not included)](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/create-withdraw-request-with-specific-amount.md): The endpoint has the similar logic as /main-account/withdraw, but with the only difference: amount that is specified will not include [fee](/glossary#fee) (it will be calculated to make target withdraw amount equal to the specified amount). - [Get codes history](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-codes-history.md): The endpoint retrieves the whole [codes](/glossary#whitebit-codes) history for the account. - [Get cryptocurrency deposit address](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-cryptocurrency-deposit-address.md): The endpoint retrieves a deposit address of the cryptocurrency. - [Get deposit/withdraw history](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-deposit-withdraw-history.md): The endpoint retrieves the history of deposits and withdraws. - [Get fees](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-fees.md): Returns an array of objects containing deposit/withdrawal [fees](/glossary#fee) for the corresponding currencies. Zero value in amount fields means that the setting is disabled. - [Get fiat deposit address](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-fiat-deposit-address.md): The endpoint retrieves a deposit url of the [fiat](/glossary#fiat) invoice. - [Get Flex Investment History](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-flex-investment-history.md): Retrieve complete investment operations history with advanced filtering. - [Get Flex Payment History](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-flex-payment-history.md): Retrieve investment earnings history (ONLY DAILY_EARNING operations). - [Get Flex Plans](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-flex-plans.md): Retrieve list of active [Flex Plans](/glossary#crypto-lending). - [Get interest payments history](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-interest-payments-history.md): The endpoint retrieves the history of interest payments. - [Get investments history](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-investments-history.md): The endpoint retrieves an investments history. - [Get my codes](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-my-codes.md): The endpoint retrieves the list of [WhiteBIT codes](/glossary#whitebit-codes) created by my account. - [Get plans](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-plans.md): The endpoint retrieves all active [plans](/glossary#crypto-lending). - [Get User Flex Investments](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/get-user-flex-investments.md): Retrieve user's investment portfolio with optional filtering. - [Invest](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/invest.md): The endpoint creates a new investment to the specified [invest plan](/glossary#crypto-lending). - [Issue card token](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/issue-card-token.md): The endpoint issues a [card token](/glossary#card-token) for the specified card number. - [Issue JWT token](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/issue-jwt-token.md): The endpoint issues a JWT token for the Fiat Gateway service. The token is used to authenticate requests to the Fiat Gateway API. - [List Credit Lines](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/list-credit-lines.md): The endpoint returns an active loan. The endpoint works on demand - contact WhiteBIT support to get access. - [Main balance](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/main-balance.md): The endpoint retrieves the [main balance](/glossary#balance-main) by currency [ticker](/glossary#ticker) or all balances. - [Account & Wallet](https://whitebit-mintlify-fix-broken-links-1774829655.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-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/profile-websocket-token.md): The V4 endpoint can be used to retrieve the WebSocket token for user. The token is required to authorize WebSocket connections for private API access. - [Refund deposit](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/refund-deposit.md): Refund a deposit. - [Transfer between balances](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/transfer-between-balances.md): The endpoint transfers the specified amount between [main](/glossary#balance-main), [trade](/glossary#balance-spotbalance-trade) and [collateral](/glossary#balance-collateral) balances. - [Update Flex Auto-Reinvestment](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/update-flex-auto-reinvestment.md): Enable/disable automatic reinvestment for user's investment. - [Withdraw from Flex Investment](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/account-wallet/withdraw-from-flex-investment.md): Withdraw specified amount from user's investment. - [Private HTTP API Authentication](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/authentication.md) - [Cancel conditional order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/cancel-conditional-order.md): The endpoint cancels a conditional order. - [Change Collateral Account Leverage](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/change-collateral-account-leverage.md): The endpoint changes account leverage. - [Close Position](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/close-position.md): The endpoint closes a position. - [Collateral Account Balance](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/collateral-account-balance.md): The endpoint returns a current [collateral balance](/glossary#balance-collateral). - [Collateral Account Balance Summary](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/collateral-account-balance-summary.md): The endpoint retrieves collateral account balance summary with detailed breakdown per asset. - [Collateral Account Hedge Mode](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/collateral-account-hedge-mode.md): The endpoint retrieves hedge mode status. - [Collateral Account Summary](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/collateral-account-summary.md): The endpoint retrieves collateral account summary. - [Collateral bulk limit order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/collateral-bulk-limit-order.md): The endpoint creates multiple collateral limit orders. - [Collateral Limit Order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/collateral-limit-order.md): The endpoint creates [limit order](/glossary#limit-order) using [collateral balance](/glossary#balance-collateral). - [Collateral Market Order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/collateral-market-order.md): The endpoint creates a collateral market order. - [Collateral Stop-Limit Order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/collateral-stop-limit-order.md): The endpoint creates a collateral stop-limit order. - [Collateral Trigger Market Order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/collateral-trigger-market-order.md): The endpoint creates a collateral trigger market order. - [Create collateral OCO order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/create-collateral-oco-order.md): The endpoint creates a collateral OCO order. - [Funding History](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/funding-history.md): The endpoint retrieves funding history. - [Open Positions](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/open-positions.md): The endpoint retrieves open positions. - [Collateral Trading](https://whitebit-mintlify-fix-broken-links-1774829655.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-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/positions-history.md): The endpoint retrieves positions history. - [Query unexecuted(active) conditional orders](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/query-unexecuted-conditional-orders.md): The endpoint retrieves active conditional orders. - [Query unexecuted(active) OCO orders](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/query-unexecuted-oco-orders.md): The endpoint retrieves active OCO orders. - [Update Collateral Account Hedge Mode](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/collateral-trading/update-collateral-account-hedge-mode.md): The endpoint updates hedge mode. - [Convert Confirm](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/convert/convert-confirm.md): The endpoint confirms an estimated quote. - [Convert Estimate](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/convert/convert-estimate.md): The endpoint creates a quote for converting one currency to another. Quote lifetime is 10 seconds, then quote will be expired. - [Convert History](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/convert/convert-history.md): The endpoint returns convert history. - [Asset status list](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/asset-status-list.md): The endpoint retrieves the assets status. - [Available Futures Markets List](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/available-futures-markets-list.md): The endpoint returns the list of available futures markets. - [Collateral Markets List](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/collateral-markets-list.md): The endpoint returns the list of [markets](/glossary#market) that are available for [collateral](/glossary#collateral) trading - [Depth](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/depth.md): The endpoint retrieves depth price levels within ±2% of the market last price. Use when lightweight order book data is needed for a narrow price band around the current market price. The ±2% constraint limits the response to price levels near the last traded price, reducing payload size compared to… - [Fee](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/fee.md): The endpoint retrieves the list of [fees](/glossary#fee) and min/max amounts for deposits and withdrawals - [Funding History](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/funding-history.md): The endpoint returns the funding rate history for a specified futures market. - [Kline](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/kline.md): The endpoint retrieves information about market kline. - [Maintenance status](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/maintenance-status.md): The endpoint retrieves maintenance status - [Market activity](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/market-activity.md): The endpoint retrieves a 24-hour pricing and volume summary for each market pair available on the exchange. - [Market Info](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/market-info.md): The endpoint retrieves all information about available spot and futures markets. - [Orderbook](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/orderbook.md): The endpoint retrieves the current [order book](/glossary#order-book) as two arrays ([bids](/glossary#bid) / [asks](/glossary#ask)) with additional parameters. - [Market Data](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/overview.md) - [Recent Trades](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/recent-trades.md): The endpoint retrieves the [trades](/glossary#deal-trade) that have been executed recently on the requested [market](/glossary#market). - [Server Status](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/server-status.md): The endpoint retrieves the current API life-state. - [Server Time](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/market-data/server-time.md): The endpoint retrieves the current server time. - [Account Hashrate](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/account-hashrate.md): The endpoint returns hashrate of mining pool account. - [Create Mining Account](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/create-mining-account.md): Creates a new mining account for the authenticated user. The account name must be unique within the user's accounts. - [Create Watcher Link](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/create-watcher-link.md): Creates a new watcher link for one or more mining accounts, granting specific permissions with a configurable expiration. - [Get Mining Accounts](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/get-mining-accounts.md): Returns a list of mining accounts for the authenticated user. Supports filtering by account name. - [Get Payout Destination](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/get-payout-destination.md): Returns the current payout destination setting for a specific mining account belonging to the authenticated user. - [Get Rewards](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/get-rewards.md): The endpoint returns rewards received from mining. - [List Watcher Links](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/list-watcher-links.md): Returns all active watcher links for a specific mining account. - [Miner Info](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/miner-info.md): Returns fee information and stratum connection details with worker counts for a specific mining account. - [Pool Overview](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/pool-overview.md): The endpoint returns overall information about the current mining pool state. - [Set Payout Destination](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/set-payout-destination.md): Updates the payout destination for a specific mining account belonging to the authenticated user. Can be set to main balance or an external BTC address. - [Worker Hashrate](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/worker-hashrate.md): Returns hashrate performance history for a specific worker on a mining account. - [Worker Names](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/mining-pool/worker-names.md): Returns a paginated list of online worker names for a specific mining account. - [Get Account Transactions](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/oauth/usage/account-transactions.md): This endpoint retrieves a paginated list of account transactions. - [Get Currency Conversions](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/oauth/usage/currency-conversions.md): This endpoint retrieves the history of currency conversions. - [Get Executed Deals](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/oauth/usage/executed-deals.md): This endpoint retrieves the history of executed deals. - [Get Access Token](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/oauth/usage/get-access-token.md): The endpoint activates an access token by exchanging an authorization code. - [Get Main Account Balance](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/oauth/usage/main-account-balance.md): This endpoint retrieves the main account balance information. - [OAuth 2.0 Authorization](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/oauth/usage/oauth.md): The endpoint initiates the OAuth 2.0 authorization flow for user authentication and obtaining an authorization code. - [Get Orders History](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/oauth/usage/orders-history.md): This endpoint retrieves the history of trading orders. - [Refresh Token](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/oauth/usage/refresh-token.md): This endpoint creates a new access token using a refresh token. - [Get Spot Account Balance](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/oauth/usage/spot-account-balance.md): This endpoint retrieves the spot trading account balance information. - [API Reference](https://whitebit-mintlify-fix-broken-links-1774829655.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-fix-broken-links-1774829655.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-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/bulk-limit-order.md): The endpoint creates bulk [limit trading orders](/glossary#limit-order). - [Cancel all orders](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/cancel-all-orders.md): Cancels all orders that meet the conditions [order](/glossary#orders). - [Cancel order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/cancel-order.md): Cancel existing [order](/glossary#orders). - [Create buy stock market order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/create-buy-stock-market-order.md): The endpoint creates buy [stock](/glossary#stock) market trading [order](/glossary#orders). - [Create Limit Order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/create-limit-order.md): The endpoint creates [limit trading order](/glossary#limit-order). - [Create market order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/create-market-order.md): The endpoint creates [market trading order](/glossary#market-order). - [Create stop-limit order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/create-stop-limit-order.md): The endpoint creates [stop-limit trading order](/glossary#stop-limit-order). - [Create stop-market order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/create-stop-market-order.md): The endpoint creates [stop-market trading order](/glossary#stop-market-order). - [Modify order](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/modify-order.md): The endpoint modifies existing [order](/glossary#orders). - [Spot Trading](https://whitebit-mintlify-fix-broken-links-1774829655.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-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/query-all-market-fees.md) - [Query executed order deals](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/query-executed-order-deals.md): The endpoint retrieves deals for a specific order. - [Query executed order history](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/query-executed-order-history.md): The endpoint retrieves all deals for all markets. Can be filtered by single market if needed. - [Query executed orders](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/query-executed-orders.md): The endpoint retrieves order history. - [Query Market Fee](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/query-market-fee.md): Returns maker and taker fees for a specific market. - [Query unexecuted(active) orders](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/query-unexecuted-orders.md): The endpoint retrieves [active orders](/glossary#active-orders) (orders not yet executed). - [Status kill-switch timer](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/status-kill-switch-timer.md): The endpoint retrieves the status of [kill-switch timer](/glossary#kill-switch-timer). - [Sync kill-switch timer](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/sync-kill-switch-timer.md): The endpoint creates, updates, deletes [kill-switch timer](/glossary#kill-switch-timer). - [Trading Balance](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/spot-trading/trading-balance.md): The endpoint retrieves the [trade balance](/glossary#balance-spotbalance-trade) by currency [ticker](/glossary#ticker) or all balances. - [Block Sub-Account](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/block-sub-account.md): The endpoint blocks [sub-account](/glossary#sub-account). - [Create Sub-Account](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/create-sub-account.md): The endpoint creates new [sub-account](/glossary#sub-account). - [Create Sub-Account API Key](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/create-sub-account-api-key.md): The endpoint creates a new API key for a [sub-account](/glossary#sub-account). - [Create Sub-Account API Key IP Address](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/create-sub-account-api-key-ip-address.md): The endpoint adds a new IP address to the allowed list for a [sub-account](/glossary#sub-account) API key. - [Delete Sub-Account](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/delete-sub-account.md): The endpoint deletes [sub-account](/glossary#sub-account). - [Delete Sub-Account API Key](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/delete-sub-account-api-key.md): The endpoint deletes a [sub-account](/glossary#sub-account) API key. - [Delete Sub-Account API Key IP Address](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/delete-sub-account-api-key-ip-address.md): The endpoint removes an IP address from the allowed list for a [sub-account](/glossary#sub-account) API key. - [Edit Sub-Account](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/edit-sub-account.md): The endpoint edits [sub-account](/glossary#sub-account). - [Edit Sub-Account API Key](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/edit-sub-account-api-key.md): The endpoint updates an existing [sub-account](/glossary#sub-account) API key. - [Get Sub-Account Transfer History](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/get-sub-account-transfer-history.md): The endpoint returns history of transfers between main account and [sub-account](/glossary#sub-account). - [List of Sub-Accounts](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/list-of-sub-accounts.md): The endpoint returns list of current user [sub-accounts](/glossary#sub-account). - [List Sub-Account API Key IP Addresses](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/list-sub-account-api-key-ip-addresses.md): The endpoint retrieves the list of IP addresses allowed for a [sub-account](/glossary#sub-account) API key. - [List Sub-Account API Keys](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/list-sub-account-api-keys.md): The endpoint retrieves a list of API keys for a [sub-account](/glossary#sub-account). Note: For security reasons, the apiSecret field returns an empty string. - [Sub-Accounts](https://whitebit-mintlify-fix-broken-links-1774829655.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-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/reset-sub-account-api-key.md): The endpoint resets (regenerates) an existing [sub-account](/glossary#sub-account) API key. - [Sub-Account Balances](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/sub-account-balances.md): The endpoint returns [sub-account](/glossary#sub-account) balances. - [Sub-Account Transfer](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/sub-account-transfer.md): The endpoint creates transfer from main account to [sub-account](/glossary#sub-account) or vice versa. - [Unblock Sub-Account](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/api-reference/sub-accounts/unblock-sub-account.md): The endpoint unblocks [sub-account](/glossary#sub-account). - [FAQ](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/faq.md) - [Glossary](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/glossary.md): Comprehensive glossary of trading terms, cryptocurrency concepts, and WhiteBIT platform terminology. - [Docs page AI menu](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/guides/ai-context-menu.md): All options in the Copy page dropdown on every WhiteBIT documentation page — copy for AI, open in ChatGPT, Claude, Perplexity, or Grok, and one-click connections to Cursor, VS Code, and Claude Desktop via the documentation MCP server. - [AI tools FAQ](https://whitebit-mintlify-fix-broken-links-1774829655.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-fix-broken-links-1774829655.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-fix-broken-links-1774829655.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-fix-broken-links-1774829655.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-fix-broken-links-1774829655.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-fix-broken-links-1774829655.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-fix-broken-links-1774829655.mintlify.app/guides/order-parameter-rules.md): Defines unsupported parameter combinations for order requests and explains related validation errors. - [AI tools](https://whitebit-mintlify-fix-broken-links-1774829655.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-fix-broken-links-1774829655.mintlify.app/platform/colocation.md): WhiteBIT offers professional-grade [colocation](https://docs.whitebit.com/glossary/#colocation) services for [high-frequency trading (HFT)](https://docs.whitebit.com/glossary/#high-frequency-trading-hft) and algorithmic trading operations. Place trading servers close to the exchange’s [matching engi… - [OAuth 2.0 on WhiteBIT](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/platform/oauth/overview.md): OAuth 2.0 integration with WhiteBIT enables secure, token-based authorization for third-party applications to access the WhiteBIT platform on behalf of users. This implementation follows industry standards while providing specialized features tailored for cryptocurrency trading and account managemen… - [Usage Overview](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/platform/oauth/usage/overview.md): OAuth 2.0 authentication endpoints for obtaining and refreshing access tokens. - [API Overview](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/platform/overview.md) - [Self Trade Prevention (STP)](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/platform/self-trade-prevention.md): Self Trade Prevention (STP) is a mechanism to prevent traders from executing trades against the same trader's orders. The feature helps maintain market integrity and avoid unintentional self-trading scenarios. - [Webhook HTTP API](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/platform/webhook.md) - [Authorize](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/account-streams/authorize.md) - [Balance Margin](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/account-streams/balance-margin.md) - [Balance Spot](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/account-streams/balance-spot.md) - [Borrows](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/account-streams/borrows.md) - [Borrows Events](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/account-streams/borrows-events.md) - [Deals](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/account-streams/deals.md) - [Margin Positions Events](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/account-streams/margin-positions-events.md) - [Orders Executed](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/account-streams/orders-executed.md) - [Orders Pending](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/account-streams/orders-pending.md) - [Account Streams](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/account-streams/overview.md) - [Positions](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/account-streams/positions.md) - [WebSocket Authentication](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/authentication.md): How to authorize a WebSocket connection for access to private Account Stream channels. - [Book Ticker](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/market-streams/book-ticker.md) - [Order Book Depth](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/market-streams/depth.md) - [Kline](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/market-streams/kline.md) - [Last Price](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/market-streams/lastprice.md) - [Market Statistics](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/market-streams/market.md) - [Market statistics for current day UTC](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/market-streams/market-today.md) - [Market Streams](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/market-streams/overview.md) - [Service](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/market-streams/service.md) - [Market Trades](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/websocket/market-streams/trades.md) - [WebSocket API](https://whitebit-mintlify-fix-broken-links-1774829655.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-fix-broken-links-1774829655.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-fix-broken-links-1774829655.mintlify.app/openapi/public/http-v4.yaml) - [http-v2](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/openapi/public/http-v2.yaml) - [http-v1](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/openapi/public/http-v1.yaml) - [main_api_v4](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/openapi/private/main_api_v4.yaml) - [http-trade-v4](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/openapi/private/http-trade-v4.yaml) - [http-trade-v1](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/openapi/private/http-trade-v1.yaml) - [oauth2](https://whitebit-mintlify-fix-broken-links-1774829655.mintlify.app/openapi/oauth2.yaml)