# WhiteBIT - [WhiteBIT API Platform](https://docs.dadwajssakdas1123123sadwhitbit.com/index.md): Build trading integrations, payment flows, and institutional infrastructure on one of Europe's largest cryptocurrency exchanges. - [First API Call](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/first-api-call.md): Make a first WhiteBIT API call — public market data with no authentication, then an authenticated balance check with HMAC-SHA512 signing. - [WebSocket Quickstart](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/websocket-quickstart.md): Connect to the WhiteBIT WebSocket API — subscribe to real-time prices, orderbook updates, and private balance changes. - [Partner Solutions](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/partner-solutions.md): Route each partner type — account operators, market makers, payments, wallets, app builders, and institutions — to the right WhiteBIT integration path. - [Embedded Trading](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/embedded-trading-overview.md): What WhiteBIT Embedded Trading is, the two integration architectures (partner-operated sub-accounts and customers' own accounts via Fast API Key), and how enrollment works. - [Embedded Trading Integration Guide](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/sub-account-integration.md): Integration guide for WhiteBIT Embedded Trading: eligibility and approval, per-customer sub-account setup, per-customer API keys, and revenue reconciliation. - [Embedded Trading FAQ](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/embedded-trading-faq.md): Common questions about WhiteBIT Embedded Trading: eligibility and approval, revenue share, the two integration models, sub-account limits, and copy-trading availability. - [On/Off-Ramp](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/on-off-ramp-overview.md): Move corporate funds between fiat and crypto on WhiteBIT: what the on/off-ramp integration provides, who it serves, the two-phase access model, the enablement gates, and how to get onboarded. - [On/Off-Ramp Integration Guide](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/on-off-ramp-integration.md): Technical integration for corporate on/off-ramp clients: the fiat EUR/SEPA and crypto flows in both directions, the conversion leg, code snippets, reconciliation, and the failure paths to handle before go-live. - [On/Off-Ramp FAQ](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/on-off-ramp-faq.md): Common questions on the WhiteBIT on/off-ramp integration: endpoint activation, SEPA deposit matching, withdrawal fee semantics, reconciliation, identifier casing, and EEA compliance. - [Market-Making Program](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/market-maker-overview.md): What the WhiteBIT Market-Making Program provides for professional liquidity providers — maker-fee rebates, colocation, and the trading capabilities used to quote at scale. - [Market Maker Integration Guide](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/market-maker-integration.md): Guide for professional market makers — Market-Making Program terms, colocation setup, available endpoints, quoting strategy, and safety mechanisms. - [Market-Making Program FAQ](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/market-maker-faq.md): Common questions about the WhiteBIT Market-Making Program: eligibility and onboarding, program terms, colocation, and safety mechanisms. - [Payments & Fiat](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/payments-overview.md): Move funds into and out of WhiteBIT programmatically — crypto deposits and payouts, fiat EUR/SEPA and card rails, merchant charges, and corporate on/off-ramp between fiat and crypto. - [Payment Integration](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/payment-integration.md): Crypto deposits, withdrawals, withdrawals with currency conversion, fiat operations (SEPA and card providers), WhiteBIT Codes, and Express Withdraw payments — status state machines, fee calculation, and webhook reconciliation. - [Payments & Fiat FAQ](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/payments-faq.md): Common questions about WhiteBIT payments and fiat: access and enablement, crypto and fiat flows, SEPA, Travel Rule, and reconciliation. - [Wallet-as-a-Service](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/waas-overview.md): Put WhiteBIT behind a partner's product as the exchange, custody, and settlement backend. What WaaS provides, the integration models, and how to get started. - [Wallet-as-a-Service integration](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/waas-integration.md): Technical integration for Wallet-as-a-Service partners: the models, payment and payout flows, compliance requirements, and testing. - [Wallet-as-a-Service FAQ](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/waas-faq.md): Common questions about WhiteBIT Wallet-as-a-Service: scope and delivery, integration models, onboarding and access, integration, and compliance. - [Crypto-as-a-Service](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/caas-overview.md): Put WhiteBIT behind a partner's product as the exchange, custody, and compliance backend for a white-label crypto offering. - [Crypto-as-a-Service integration](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/caas-integration.md): How a CaaS integration is assembled from WhiteBIT's documented API building blocks. - [Crypto-as-a-Service FAQ](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/caas-faq.md): Common questions about WhiteBIT Crypto-as-a-Service: scope and delivery, onboarding and access, integration, security and compliance, and support. - [Yield-as-a-Service](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/yaas-overview.md): Offer WhiteBIT Crypto Lending yield to end users through the API. What Yield-as-a-Service provides, the integration model, and how to get started. - [Yield-as-a-Service integration](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/yaas-integration.md): Technical integration for Yield-as-a-Service: provision a sub-account per end user, fund it, run the Crypto Lending lifecycle in each sub-account, and reconcile earnings per user. - [Yield-as-a-Service FAQ](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/yaas-faq.md): Common questions about WhiteBIT Yield-as-a-Service: scope, the integration model, onboarding and access, operations, and how B2B yield differs from the self-service flow. - [App Builders](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/app-builders-overview.md): Build trading and portfolio apps over customers' own WhiteBIT accounts with a partner-held API key issued through the Fast API Key flow (Model B). - [Fast API Key via OAuth](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/fast-api-key-integration.md): Integration guide for partner platforms that issue WhiteBIT API keys on behalf of users through the OAuth API key flow. - [App Builders FAQ](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/app-builders-faq.md): Common questions about building over customers' own WhiteBIT accounts: key types and permissions, rate limits, revocation, onboarding, and compliance. - [Funds & Institutions](https://docs.dadwajssakdas1123123sadwhitbit.com/institutional/overview.md): WhiteBIT's product catalog for funds and institutions -- desks, hedge funds, asset managers, prop firms, and trading venues: trading, liquidity, custody, and settlement infrastructure. - [Institutional Onboarding](https://docs.dadwajssakdas1123123sadwhitbit.com/institutional/onboarding.md): Two-phase onboarding process for institutional partners: crypto operations access and fiat operations (EUR/SEPA) setup. - [Regulatory Compliance](https://docs.dadwajssakdas1123123sadwhitbit.com/institutional/compliance.md): MiCA USDT restrictions, Travel Rule requirements, data processing, certifications, and restricted jurisdictions affecting API integrations. - [Partner FAQ](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/partner-faq.md): Cross-cutting questions common to every WhiteBIT partner program: onboarding and KYB, authentication and OAuth, test environments, fees, and rate limits. - [Trading Bot](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/building-a-trading-bot.md): Build an automated trading bot in Python against the WhiteBIT v4 API — signed REST orders, WebSocket fill monitoring, kill-switch heartbeat, reconnection, and a grid-bot worked example. - [Price Dashboard](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/building-a-price-dashboard.md): Build a live price dashboard on WhiteBIT public market data — a REST snapshot for the initial paint, a WebSocket stream for continuous updates, no account or API key required. - [Copy Trading](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/copy-trading.md): How a copy-trading platform mirrors a lead trader's orders into followers' own WhiteBIT accounts using OAuth-issued Fast API Keys. Architecture, permissions, and order-placement schema. - [Account Monitoring](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/account-monitoring.md): Monitor balances, deposits, withdrawals, and order activity across Main, Trade, and Collateral accounts using REST polling and WebSocket streams. - [Wallet-as-a-Service Recipes](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/waas-recipes.md): Anchor use cases for Wallet-as-a-Service partners: per-user deposit addresses, reconciliation, payouts, and WhiteBIT Codes. Each recipe links to the guide and API reference that document its endpoints. - [Market Data](https://docs.dadwajssakdas1123123sadwhitbit.com/products/market-data/overview.md): Real-time and historical market data across 900+ trading pairs — no authentication required. - [Market Data Quickstart](https://docs.dadwajssakdas1123123sadwhitbit.com/products/market-data/quickstart.md): Fetch live prices, orderbooks, and recent trades from the WhiteBIT API — no authentication required. - [Spot Trading](https://docs.dadwajssakdas1123123sadwhitbit.com/products/spot/overview.md): Programmatic access to 800+ trading pairs across 410+ crypto assets on WhiteBIT. - [Spot Trading Quickstart](https://docs.dadwajssakdas1123123sadwhitbit.com/products/spot/quickstart.md): Place a first spot trade on WhiteBIT — check balance, create a limit order, and cancel the order — in under 5 minutes. - [Compare Trading Products](https://docs.dadwajssakdas1123123sadwhitbit.com/products/compare-trading.md): Choose between Spot, Margin, and Futures trading on the WhiteBIT API — use case guide, capability comparison, and API routing reference. - [Margin Trading](https://docs.dadwajssakdas1123123sadwhitbit.com/products/margin/overview.md): Leveraged trading on spot pairs with up to 10x leverage using a collateral account on WhiteBIT. - [Futures Trading](https://docs.dadwajssakdas1123123sadwhitbit.com/products/futures/overview.md): Perpetual contracts on 270+ pairs with up to 100x leverage, Hedge Mode, and funding rate mechanics on WhiteBIT. - [Margin & Futures Quickstart](https://docs.dadwajssakdas1123123sadwhitbit.com/products/margin-futures/quickstart.md): Open a first leveraged position on WhiteBIT — Margin Trading (up to 10x) or Futures Trading (up to 100x) — in under 5 minutes. - [Crypto Lending](https://docs.dadwajssakdas1123123sadwhitbit.com/products/lending/overview.md): Earn yield on crypto assets through fixed-term and flexible lending plans with 13 API endpoints for full lifecycle management. - [Crypto Lending Quickstart](https://docs.dadwajssakdas1123123sadwhitbit.com/products/lending/quickstart.md): Walk through the four Flex endpoints — fetch plans, invest, check status, withdraw — in under 5 minutes. - [Sub-Accounts](https://docs.dadwajssakdas1123123sadwhitbit.com/products/sub-accounts/overview.md): Create and manage thousands of separate trading accounts under one umbrella -- each with independent balances, API keys, and IP whitelists. - [Sub-Accounts Quickstart](https://docs.dadwajssakdas1123123sadwhitbit.com/products/sub-accounts/quickstart.md): Create a sub-account, transfer funds, generate an API key, and check balances -- step by step. - [Mining Pool](https://docs.dadwajssakdas1123123sadwhitbit.com/products/mining/overview.md): Manage Bitcoin mining operations via API -- from account creation to hashrate monitoring, worker management, and payout configuration. - [Mining Pool Quickstart](https://docs.dadwajssakdas1123123sadwhitbit.com/products/mining/quickstart.md): Create a mining account, view stratum connection details, check hashrate, and configure payout destination -- step by step. - [API Overview](https://docs.dadwajssakdas1123123sadwhitbit.com/platform/overview.md): The WhiteBIT API covers REST and WebSocket endpoints, base URLs, versioning, and integration setup. - [Webhook HTTP API](https://docs.dadwajssakdas1123123sadwhitbit.com/platform/webhook.md): Configure webhook callbacks to receive real-time notifications for deposits and withdrawals on WhiteBIT. - [Colocation Services](https://docs.dadwajssakdas1123123sadwhitbit.com/platform/colocation.md): WhiteBIT offers professional-grade [colocation](https://docs.dadwajssakdas1123123sadwhitbit.com/glossary/#colocation) services for [high-frequency trading (HFT)](https://docs.dadwajssakdas1123123sadwhitbit.com/glossary/#high-frequency-trading-hft) and algorithmic trading operations. Place trading servers close to the exchange’s [matching engi… - [Self Trade Prevention (STP)](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Convert](https://docs.dadwajssakdas1123123sadwhitbit.com/platform/convert.md): Instantly convert between currencies at a quoted rate without placing orders on the orderbook. - [WhiteBIT Codes](https://docs.dadwajssakdas1123123sadwhitbit.com/platform/whitebit-codes.md): Create and apply fee-free digital vouchers to transfer crypto between WhiteBIT accounts. - [Fireblocks](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/fireblocks.md): Step-by-step guide to connect a WhiteBIT account to Fireblocks Network for secure digital asset transfers. - [OAuth 2.0 on WhiteBIT](https://docs.dadwajssakdas1123123sadwhitbit.com/platform/oauth/overview.md): OAuth 2.0 integration with WhiteBIT enables secure, token-based authorization for third-party applications. - [Usage Overview](https://docs.dadwajssakdas1123123sadwhitbit.com/platform/oauth/usage/overview.md): OAuth 2.0 authentication endpoints for obtaining and refreshing access tokens. - [Markets & Trading Pairs](https://docs.dadwajssakdas1123123sadwhitbit.com/concepts/markets.md): Understand market types, trading pair notation, and how to fetch market data from the WhiteBIT API. - [Order Types](https://docs.dadwajssakdas1123123sadwhitbit.com/concepts/order-types.md): All 7 order types supported by WhiteBIT, each type's availability across market types, and time-in-force options. - [Matching engine](https://docs.dadwajssakdas1123123sadwhitbit.com/concepts/matching-engine.md): How the WhiteBIT matching engine sequences and executes orders — price-time priority and participant fairness across spot, margin, and futures markets. - [Balances & Transfers](https://docs.dadwajssakdas1123123sadwhitbit.com/concepts/balances.md): Understand WhiteBIT's three account types — Main, Trade, and Collateral — and how funds move between accounts. - [Liquidation and margin requirements](https://docs.dadwajssakdas1123123sadwhitbit.com/concepts/liquidation.md): How liquidation is evaluated on WhiteBIT margin and futures positions — mark price as the trigger, the maintenance margin schedule, leverage brackets, and the API fields that report liquidation state. - [Auto-Deleveraging (ADL)](https://docs.dadwajssakdas1123123sadwhitbit.com/concepts/auto-deleveraging.md): Final-stage liquidation mechanism on WhiteBIT futures markets — closes profitable counterparty positions when standard market liquidity cannot cover a liquidated position. - [Travel Rule](https://docs.dadwajssakdas1123123sadwhitbit.com/concepts/travel-rule.md): Regulatory requirement for VASPs to share originator and beneficiary information for cryptocurrency transfers. - [Integration models](https://docs.dadwajssakdas1123123sadwhitbit.com/concepts/integration-models.md): How WhiteBIT partner programs connect end users: partner-operated sub-accounts (Model A), customers' own accounts via Fast API Key (Model B), and why a pooled account is not offered. - [Client Order ID](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/client-order-id.md): This guide provides information about using `clientOrderId` in trading operations, including best practices and common use cases. - [Order Parameter Rules](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/order-parameter-rules.md): Defines unsupported parameter combinations for order requests and explains related validation errors. - [Security Best Practices](https://docs.dadwajssakdas1123123sadwhitbit.com/best-practices/security.md): API key management, IP whitelisting, secret storage, key rotation, and webhook verification for WhiteBIT API integrations. - [Go-Live Checklist](https://docs.dadwajssakdas1123123sadwhitbit.com/best-practices/go-live-checklist.md): Pre-production readiness checklist for WhiteBIT API integrations — authentication, error handling, rate limits, compliance, WebSocket, webhooks, monitoring, and testing. - [AI tools](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [MCP server](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/mcp-server.md): Connect Claude Code, Cursor, Claude Desktop, Codex, or OpenClaw to 115 WhiteBIT trading tools using the Model Context Protocol. - [CLI](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [AI tools FAQ](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/ai-faq.md): Common questions about the WhiteBIT MCP server and CLI — API key safety, supported clients, account setup, and automation. - [Docs page AI menu](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/ai-context-menu.md): Copy page content for AI tools or open documentation directly in ChatGPT, Claude, Perplexity, or Grok. - [Docs search via MCP](https://docs.dadwajssakdas1123123sadwhitbit.com/guides/ai-ide-setup.md): Configure Cursor, VS Code, or Claude Desktop to search the full WhiteBIT documentation using the Model Context Protocol (MCP). - [Glossary](https://docs.dadwajssakdas1123123sadwhitbit.com/glossary.md): Comprehensive glossary of trading terms, cryptocurrency concepts, and WhiteBIT platform terminology. - [FAQ](https://docs.dadwajssakdas1123123sadwhitbit.com/faq.md): Find answers to common questions about the WhiteBIT API, trading, deposits and withdrawals, webhooks, institutional onboarding, compliance, and integration. - [SDKs](https://docs.dadwajssakdas1123123sadwhitbit.com/sdks.md): Official WhiteBIT SDK repositories for Go, Python, and PHP. - [WhiteBIT API Changelog](https://docs.dadwajssakdas1123123sadwhitbit.com/changelog.md): Track updates, improvements, and fixes to the WhiteBIT API platform including new endpoints and changes. - [API Reference](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/overview.md): WhiteBIT REST API overview — base URL, authentication, quickstart examples, rate limits, and links to all endpoint groups. - [Private HTTP API Authentication](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/authentication.md): Authenticate with WhiteBIT private HTTP API endpoints using API keys and HMAC-SHA512 signatures. - [REST API rate limits and error codes](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/rate-limits.md): Reference for REST API rate limits, error formats, authentication error codes, and best practices. - [Market Data](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/overview.md): Public market data endpoints cover server status, trading pairs, order books, and price data — no authentication required. - [Server status](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/server-status.md): The endpoint checks API availability by returning a simple health-check response. Use the endpoint to verify network connectivity and confirm the API server is reachable. A successful response contains the string `"pong"`. The endpoint takes no parameters and has no request-validation errors; it ret… - [Server time](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/server-time.md): The endpoint retrieves the current server time as a Unix timestamp. Use the response to synchronize local clocks before generating HMAC signatures for authenticated requests. The endpoint takes no parameters and has no request-validation errors; it returns HTTP 200 on success and fails only at the i… - [Maintenance status](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/maintenance-status.md): The endpoint retrieves the current maintenance status of the WhiteBIT platform. Use the response to detect scheduled downtime and pause trading automation during maintenance windows. The `status` field returns `"system operational"` when all platform services are available, or `"system maintenance"`… - [Market info](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/market-info.md): The endpoint retrieves configuration and trading rules for all available spot, futures, and TradFi futures markets. Use the response to discover tradeable pairs, check minimum order sizes, and read fee schedules. Each entry includes precision settings, fee ratios, and order-size constraints for the… - [Market activity](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Asset status list](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/asset-status-list.md): The endpoint retrieves the deposit and withdrawal status for every supported asset. Use the response to check whether deposits and withdrawals are enabled, read per-network fee and limit details, and determine required blockchain confirmation counts. The response includes crypto assets, fiat currenc… - [Symbols](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/symbols.md): The endpoint retrieves information about all available markets for trading. - [Collateral markets list](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/collateral-markets-list.md): The endpoint returns the list of [market](/glossary#market) pair names available for [collateral](/glossary#collateral) trading. Use the response to determine which markets support margin positions. Each item in the result array is a market pair name in `BASE_QUOTE` format (e.g., `BTC_USDT`). - [Available futures markets list](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/available-futures-markets-list.md): The endpoint returns detailed information for all available futures markets. Use the response to read current pricing, open interest, funding rates, and leverage bracket configuration. Each entry includes the predicted next funding rate, settlement timestamps, and maximum allowed position sizes per… - [Orderbook](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Depth](https://docs.dadwajssakdas1123123sadwhitbit.com/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… - [Recent trades](https://docs.dadwajssakdas1123123sadwhitbit.com/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). It returns up to the 100 most recent trades; the response size is fixed and there is no `limit` parameter. - [Kline](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/kline.md): The endpoint retrieves information about market kline. - [Fee](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/fee.md): The endpoint retrieves the [fee](/glossary#fee) schedule and deposit/withdrawal limits for every supported asset. Use the response to display fee estimates before a user initiates a deposit or withdrawal. The response is keyed by currency ticker; each entry contains deposit and withdrawal fee amount… - [Funding history](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/market-data/funding-history.md): The endpoint returns the funding rate history for a specified futures market. Use the response to analyze historical funding rate trends and settlement prices. Results are sorted by funding time in descending order and support offset-based pagination via `limit` and `offset` parameters. - [Query unexecuted orders](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/query-unexecuted-orders.md): The endpoint retrieves [active orders](/glossary#active-orders) (orders not yet executed) across spot, margin, and futures markets. The response includes limit, stop-limit, and stop-market orders that remain open on the order book. Use the `market` parameter to filter by trading pair, or omit the pa… - [Query executed orders](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/query-executed-orders.md): The endpoint retrieves the history of executed and cancelled orders across spot, margin, and futures markets. The response groups orders by market name. Use the `market` parameter to filter by a single trading pair, or omit the parameter to retrieve orders across all markets. The endpoint supports p… - [Query executed order history](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/query-executed-order-history.md): The endpoint retrieves executed order history for all trading types — spot, margin, and futures — across all markets. Can be filtered by a single market if needed. Results are ordered by trade time, newest first. - [Query executed order deals](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/query-executed-order-deals.md): The endpoint retrieves individual trade fills (deals) for a specific order, which may belong to a spot, margin, or futures market. Each deal represents a partial or full execution of the order against a counterparty. The response includes pagination and returns deal details such as price, amount, fe… - [Query delisting and maintenance orders](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/query-delisting-orders.md): The endpoint returns the authenticated account's delisting- and maintenance-related order history across spot, margin, and futures markets, from the order-history index. The response combines three categories of orders: reverse close orders that the platform generates when a market is delisted (`del… - [Cancel order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/cancel-order.md): The endpoint cancels an existing [order](/glossary#orders). Provide either `orderId` or `clientOrderId` to identify the target order. The response returns the final state of the cancelled order. - [Cancel bulk orders](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/cancel-bulk-order.md): The endpoint cancels up to 100 [orders](/glossary#orders) in a single request. Each item identifies a target order by `market` plus exactly one of `orderId` or `clientOrderId`. The response is an array whose items match the input order one-to-one — `response[i]` corresponds to `request.orders[i]`. - [Cancel all orders](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/cancel-all-orders.md): The endpoint cancels all open [orders](/glossary#orders) that match the specified filters. Use the `market` parameter to target a single trading pair, or omit the parameter to cancel across all markets. The `type` parameter filters by order type (`spot`, `margin`, `futures`). When omitted, the endpo… - [Spot Trading](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/spot-overview.md): Endpoints for spot trading operations including order management, order queries, market fees, and kill switch. - [Query market fees](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/query-market-fee.md): Returns the account's default spot and futures maker and taker fees, plus any custom per-market overrides. - [Query market fee for a single market](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/query-market-fee-single.md): Returns the account's effective maker and taker fee for one market. Use this endpoint when only one market matters; `POST /api/v4/market/fee` returns the account's default fees and every custom override at once. - [Trading balance](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/trading-balance.md): The endpoint retrieves the [trade balance](/glossary#balance-spotbalance-trade) by currency [ticker](/glossary#ticker) or all balances. When the `ticker` parameter is provided, the response contains a single currency entry. When omitted, the response contains all currencies with non-zero balances. E… - [Create limit order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/create-limit-order.md): The endpoint creates a [limit trading order](/glossary#limit-order). The order remains on the order book until filled, cancelled, or expired. Minimum and maximum values for `amount` and `price` are market-dependent — query `GET /api/v4/public/markets` for per-market constraints. - [Bulk limit order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/bulk-limit-order.md): The endpoint creates bulk [limit trading orders](/glossary#limit-order). Each order in the batch follows the same validation rules as a single limit order. The `stopOnFail` parameter controls whether processing stops at the first failure or continues through all orders. The response contains a resul… - [Create market order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/create-market-order.md): The endpoint creates a [market trading order](/glossary#market-order). The matching engine executes the order immediately at the best available price. For buy orders, `amount` represents the total in quote (money) currency to spend. For sell orders, `amount` represents the quantity in base (stock) c… - [Create buy stock market order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/create-buy-stock-market-order.md): The endpoint creates a [stock](/glossary#stock) market trading [order](/glossary#orders). Unlike `POST /api/v4/order/market`, the `amount` parameter always represents the quantity in the base (stock) currency for both buy and sell sides. The matching engine executes the order immediately at the best… - [Create stop-limit order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/create-stop-limit-order.md): The endpoint creates a [stop-limit trading order](/glossary#stop-limit-order). The order remains inactive until the market price reaches the `activation_price`, at which point the system places a limit order at the specified `price`. For buy orders, activation triggers when the market price rises to… - [Create stop-market order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/create-stop-market-order.md): The endpoint creates a [stop-market trading order](/glossary#stop-market-order). The order remains inactive until the market price reaches the `activation_price`, at which point the system executes a market order immediately at the best available price. For buy orders, `amount` represents the total… - [Modify order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/modify-order.md): The endpoint modifies an existing [order](/glossary#orders) on spot, margin, and futures markets. There is no separate collateral path: collateral orders go through this endpoint, and the `market` parameter identifies which market the order belongs to. - [Sync kill-switch timer](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/sync-kill-switch-timer.md): The endpoint creates, updates, or deletes a [kill-switch timer](/glossary#kill-switch-timer). The kill-switch acts as a safety mechanism for automated trading systems — the timer automatically cancels all open orders for the specified market if the client fails to reset the timer before expiration.… - [Status kill-switch timer](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/status-kill-switch-timer.md): The endpoint retrieves the status of active [kill-switch timers](/glossary#kill-switch-timer). The response returns an array of timer objects for the specified market, or for all markets if the `market` parameter is omitted. Each timer object includes the start time, scheduled cancellation time, and… - [Collateral Trading](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/collateral-overview.md): Overview of collateral (margin) trading endpoints for managing positions, leverage, and collateral orders. - [Collateral account balance](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/collateral-account-balance.md): The endpoint returns the current [collateral balance](/glossary#balance-collateral) for one or all assets. The response maps each asset ticker to its collateral balance amount. Use the optional `ticker` parameter to filter results to a single asset. - [Collateral account balance summary](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/collateral-account-balance-summary.md): The endpoint returns a detailed [collateral balance](/glossary#balance-collateral) summary with a per-asset breakdown. Each record includes the current balance, borrowed amount, and available balance with and without borrowing capacity. Use the optional `ticker` parameter to filter results to a sing… - [Collateral account summary](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/collateral-account-summary.md): The endpoint returns a collateral account summary including total equity, used margin, free margin, unrealized profit and loss, and the current leverage level. The `marginFraction` field indicates the ratio of used margin to total equity. - [Change collateral account leverage](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/change-collateral-account-leverage.md): The endpoint changes the leverage level for the [collateral](/glossary#balance-collateral) trading account. Leverage determines the ratio of borrowed funds to collateral and directly affects margin requirements and liquidation thresholds. Accepted values: `1`, `2`, `3`, `5`, `10`, `20`, `50`, `100`. - [Collateral account hedge mode](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/collateral-account-hedge-mode.md): The endpoint returns the current [hedge mode](/glossary#hedge-mode) status for the collateral trading account. When hedge mode is enabled (`true`), the account supports simultaneous long and short positions on the same market. When disabled (`false`), the account operates in one-way mode. - [Update collateral account hedge mode](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/update-collateral-account-hedge-mode.md): The endpoint enables or disables [hedge mode](/glossary#hedge-mode) for the collateral trading account. When hedge mode is enabled (`true`), the account supports simultaneous long and short positions on the same market. When disabled (`false`), the account operates in one-way mode. - [Collateral limit order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/collateral-limit-order.md): The endpoint creates a [limit order](/glossary#limit-order) using [collateral balance](/glossary#balance-collateral). The order executes at the specified price or better. Use `buy` to open or increase a long position and `sell` to open or increase a short position. To close a position, place an oppo… - [Collateral bulk limit order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/collateral-bulk-limit-order.md): The endpoint creates multiple collateral [limit orders](/glossary#limit-order) in a single request. Each order in the `orders` array is validated and processed individually. The `stopOnFail` parameter controls whether processing stops at the first failure or continues through all orders. The respons… - [Collateral market order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/collateral-market-order.md): The endpoint creates a [market order](/glossary#market-order) using [collateral balance](/glossary#balance-collateral). The order executes immediately at the best available market price. Optionally attach `stopLoss` and `takeProfit` prices to create an [OTO](/glossary#one-triggers-the-other-oto) ord… - [Collateral stop-limit order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/collateral-stop-limit-order.md): The endpoint creates a collateral [stop-limit order](/glossary#stop-limit-order) using [collateral balance](/glossary#balance-collateral). The order remains inactive until the market price reaches `activation_price`, then places a limit order at `price`. Optionally attach `stopLoss` and `takeProfit`… - [Collateral trigger market order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/collateral-trigger-market-order.md): The endpoint creates a collateral trigger [market order](/glossary#market-order) using [collateral balance](/glossary#balance-collateral). The order remains inactive until the market price reaches `activation_price`, then executes immediately at the best available market price. Optionally attach `st… - [Create collateral OCO order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/create-collateral-oco-order.md): The endpoint creates a collateral [OCO](/glossary#oco-orders) (one-cancels-the-other) order using [collateral balance](/glossary#balance-collateral). An OCO order combines a limit order (take-profit leg) and a stop-limit order (stop-loss leg) into a single conditional group. When one leg executes, t… - [Cancel conditional order](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/cancel-conditional-order.md): The endpoint cancels an active conditional order ([OCO](/glossary#oco-orders) or [OTO](/glossary#one-triggers-the-other-oto)) on the specified market. Both legs of the conditional order are cancelled. Use the [query unexecuted conditional orders](/api-reference/trading/query-unexecuted-conditional-o… - [Open positions](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/open-positions.md): The endpoint returns all open [collateral](/glossary#balance-collateral) positions for the authenticated account. Each position includes entry price, unrealized PnL, margin allocation, liquidation price, and take-profit/stop-loss configuration. Use the optional `market` parameter to filter results t… - [ADL quantile](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/adl-quantile.md): The endpoint returns the [Auto-Deleveraging (ADL)](/glossary#auto-deleveraging-adl) quantile for each perpetual market in which the authenticated account holds an open position. Each entry exposes the deleveraging-priority value for the long and short sides of the position, where `0` indicates the l… - [Close position](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/close-position.md): The endpoint closes an open [collateral](/glossary#balance-collateral) position at the current market price. The system places a market order in the opposite direction to fully close the specified position. Any attached take-profit or stop-loss orders are cancelled automatically. - [Positions history](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/positions-history.md): The endpoint returns the history of [collateral](/glossary#balance-collateral) position state changes for the authenticated account. Each record represents a position event (open, partial close, full close, or liquidation) and includes the order details that triggered the change. Use the optional `m… - [Closed-position PNL](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/closed-position-pnl.md): The endpoint returns one aggregated profit-and-loss record per closed [collateral](/glossary#balance-collateral) position for the authenticated account — the same closed-position PNL the trading terminal shows. Records are sorted by `closeDate` descending, then `positionId` descending. Use the optio… - [Funding history](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/funding-history.md): The endpoint returns the funding rate payment history for [collateral](/glossary#balance-collateral) positions. Each record includes the funding rate, settlement price, position amount, and the resulting funding payment. The `market` parameter is required — the endpoint returns funding for one marke… - [Borrow history](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/borrow-history.md): The endpoint returns the [collateral](/glossary#balance-collateral) account's borrow history for the authenticated account — one record per borrow position, not per underlying engine state change. Use the optional `asset` parameter to filter to a single asset; when omitted, the response covers every… - [Query unexecuted (active) conditional orders](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/query-unexecuted-conditional-orders.md): The endpoint returns active (unexecuted) conditional orders for the authenticated account. Conditional orders include [OCO](/glossary#oco-orders) and [OTO](/glossary#one-triggers-the-other-oto) types. The response uses polymorphic structure — each record contains a `type` field (`oco` or `oto`) that… - [Query unexecuted (active) OCO orders](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/trading/query-unexecuted-oco-orders.md): The endpoint returns active (unexecuted) [OCO](/glossary#oco-orders) orders for the authenticated account. Each OCO order contains a `stop_loss` and `take_profit` leg. When one leg executes, the system cancels the other automatically. Use the optional `market` parameter to filter results. - [Convert](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/convert/overview.md): Overview of the WhiteBIT Convert endpoints — request a quote, confirm it at the quoted rate or accept it in a single call, and review conversion history. - [Convert Estimate](https://docs.dadwajssakdas1123123sadwhitbit.com/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 Confirm](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/convert/convert-confirm.md): The endpoint confirms an estimated quote. - [Convert Auto Confirm](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/convert/convert-auto-confirm.md): Request and accept a currency conversion quote in a single call via the WhiteBIT V4 API. - [Convert History](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/convert/convert-history.md): The endpoint returns convert history, sorted by `id` descending (newest first). - [Account & Wallet](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/overview.md): Endpoints for managing main balance, deposits, withdrawals, codes, crypto lending, fees, and credit lines. - [Get cryptocurrency deposit address](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-cryptocurrency-deposit-address.md): Get an existing cryptocurrency deposit address for a given currency and network. - [Create new address for deposit](https://docs.dadwajssakdas1123123sadwhitbit.com/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@dadwajssakdas1123123sadwhitbit.com to get permissions to use the endpoint. - [Get fiat deposit URL](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-fiat-deposit-url.md): The endpoint retrieves a deposit url of the [fiat](/glossary#fiat) invoice. - [Refund deposit](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/refund-deposit.md): Refund a deposit. - [Get refund history](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-refund-history.md): The endpoint returns the account's deposit refunds, including refunds requested through the WhiteBIT interface or through the API. - [Create withdraw request](https://docs.dadwajssakdas1123123sadwhitbit.com/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://docs.dadwajssakdas1123123sadwhitbit.com/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). - [Create express withdraw token](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/create-express-withdraw-token.md): The endpoint creates a signed, single-use Express Withdraw payment token that charges a specific amount from a WhiteBIT user's balance to the partner's [Main balance](/glossary#balance-main) in an instant, off-chain, zero-[fee](/glossary#fee) internal transfer. The response returns a URL that embeds… - [Main balance](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/main-balance.md): The endpoint retrieves the [main balance](/glossary#balance-main) by currency [ticker](/glossary#ticker) or all balances. - [Withdrawable balance](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/withdrawable-balance.md): The endpoint reports how much of the account is held back because deposits were credited before the network fully confirmed them, and how much remains withdrawable. - [Transfer between balances](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Get transfer history](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-transfer-history.md): The endpoint returns the history of transfers between the [main](/glossary#balance-main), [spot](/glossary#balance-spotbalance-trade) and [collateral](/glossary#balance-collateral) balances of the authenticated account, newest first. - [Get deposit/withdraw history](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-deposit-withdraw-history.md): The endpoint retrieves the history of deposits and withdraws. - [Issue JWT token](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Get WebSocket Token](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Issue card token](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/issue-card-token.md): The endpoint issues a [card token](/glossary#card-token) for the specified card number. - [Create code](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/create-code.md): The endpoint creates [WhiteBIT code](/glossary#whitebit-codes). - [Apply code](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/apply-code.md): The endpoint applies [WhiteBIT code](/glossary#whitebit-codes). - [Get account codes](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-my-codes.md): The endpoint retrieves the list of [WhiteBIT codes](/glossary#whitebit-codes) created by my account. - [Get codes history](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-codes-history.md): The endpoint retrieves the whole [codes](/glossary#whitebit-codes) history for the account. - [Get plans](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-plans.md): The endpoint returns investment plan configurations with active status and API access enabled, filtered by the authenticated user's region and plan visibility. Results include public plans and private plans assigned to the account. - [Invest](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/invest.md): The endpoint creates a new investment to the specified [invest plan](/glossary#crypto-lending). - [Close investment](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/close-investment.md): The endpoint closes active investment. - [Get investments history](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-investments-history.md): The endpoint retrieves an investments history. - [Get interest payments history](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-interest-payments-history.md): The endpoint retrieves the history of interest payments. - [Get Flex Plans](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-flex-plans.md): The endpoint returns flex investment plan configurations with active status, filtered by the authenticated user's region and plan visibility. Results include public plans and private plans assigned to the account. - [Get User Flex Investments](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-user-flex-investments.md): Retrieve user's investment portfolio with optional filtering. - [Get Flex Investment History](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-flex-investment-history.md): Retrieve complete investment operations history with advanced filtering. - [Get Flex Payment History](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/get-flex-payment-history.md): Retrieve investment earnings history (ONLY DAILY_EARNING operations). - [Create Flex Investment](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/create-flex-investment.md): Create new investment in a Flex plan. - [Withdraw from Flex Investment](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/withdraw-from-flex-investment.md): Withdraw specified amount from user's investment. - [Close Flex Investment](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/close-flex-investment.md): Completely close investment and withdraw all funds. - [Update Flex Auto-Reinvestment](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/account-wallet/update-flex-auto-reinvestment.md): Enable/disable automatic reinvestment for user's investment. - [Get fees](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [List Credit Lines](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Travel Rule](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/travel-rule/overview.md): API endpoints for Travel Rule compliance for cryptocurrency deposits and withdrawals. - [Get available VASPs](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/travel-rule/get-vasps.md): Retrieves the list of Virtual Asset Service Providers (VASPs) that can be used when submitting travel rule data for deposits and withdrawals. - [Submit deposit verification](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/travel-rule/submit-deposit-verification.md): Submits originator information for a deposit that is ready for the travel rule verification. - [Sub-Accounts](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/overview.md): Overview of sub-account management endpoints for creating, managing, and configuring sub-accounts. - [Create Sub-Account](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/create-sub-account.md): The endpoint creates new [sub-account](/glossary#sub-account). - [Delete Sub-Account](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/delete-sub-account.md): The endpoint deletes [sub-account](/glossary#sub-account). - [Edit Sub-Account](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/edit-sub-account.md): The endpoint edits [sub-account](/glossary#sub-account). - [List of Sub-Accounts](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/list-of-sub-accounts.md): The endpoint returns list of current user [sub-accounts](/glossary#sub-account). - [Block Sub-Account](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/block-sub-account.md): The endpoint blocks [sub-account](/glossary#sub-account). - [Unblock Sub-Account](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/unblock-sub-account.md): The endpoint unblocks [sub-account](/glossary#sub-account). - [Get Sub-Account KYC URL](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/kyc-url.md): The endpoint generates a temporary KYC verification link for a [sub-account](/glossary#sub-account). - [Sub-Account Transfer](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/sub-account-transfer.md): The endpoint creates transfer from main account to [sub-account](/glossary#sub-account) or vice versa. - [Sub-Account Balances](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/sub-account-balances.md): The endpoint returns [sub-account](/glossary#sub-account) balances. - [Get Sub-Account Transfer History](https://docs.dadwajssakdas1123123sadwhitbit.com/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 Unconfirmed Sub-Account Withdrawals](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/list-unconfirmed-sub-account-withdrawals.md): The endpoint returns a paginated list of withdrawal transactions in `unconfirmed_by_main_account` status, created by [sub-accounts](/glossary#sub-account) of the authenticated main account and awaiting main account confirmation. Results are ordered by creation time, newest first. - [Confirm Sub-Account Withdrawal](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/confirm-sub-account-withdrawal.md): The endpoint confirms a single withdrawal transaction created by a [sub-account](/glossary#sub-account) of the authenticated main account. Confirmation is the main account action that approves a withdrawal held in `unconfirmed_by_main_account` status and releases it for processing. - [Create Sub-Account API Key](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/create-sub-account-api-key.md): The endpoint creates a new API key for a [sub-account](/glossary#sub-account). Each sub-account supports up to 50 API keys, independent from the main account and from other sub-accounts. - [Edit Sub-Account API Key](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/edit-sub-account-api-key.md): The endpoint updates an existing [sub-account](/glossary#sub-account) API key. - [Delete Sub-Account API Key](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/delete-sub-account-api-key.md): The endpoint deletes a [sub-account](/glossary#sub-account) API key. - [List Sub-Account API Keys](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Reset Sub-Account API Key](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/sub-accounts/reset-sub-account-api-key.md): The endpoint resets (regenerates) an existing [sub-account](/glossary#sub-account) API key. - [List Sub-Account API Key IP Addresses](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Create Sub-Account API Key IP Address](https://docs.dadwajssakdas1123123sadwhitbit.com/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 API Key IP Address](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Mining Pool](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/mining-pool/overview.md): Overview of the WhiteBIT Mining Pool endpoints — accounts, pool stats, rewards, hashrate, payout destinations, workers, and watcher links. - [Create Mining Account](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Get Mining Accounts](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/mining-pool/get-mining-accounts.md): Returns a list of mining accounts for the authenticated user. Supports filtering by account name. Results are ordered by account creation time, newest first. - [Pool Overview](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/mining-pool/pool-overview.md): The endpoint returns overall information about the current mining pool state. - [Get Rewards](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/mining-pool/get-rewards.md): The endpoint returns rewards received from mining. Results are ordered by reward date, newest first. - [Account Hashrate](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/mining-pool/account-hashrate.md): The endpoint returns hashrate of mining pool account. - [Get Payout Destination](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/mining-pool/get-payout-destination.md): Returns the current payout destination setting for a specific mining account belonging to the authenticated user. - [Set Payout Destination](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [Miner Info](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/mining-pool/miner-info.md): Returns fee information and stratum connection details with worker counts for a specific mining account. - [Worker Names](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/mining-pool/worker-names.md): Returns a paginated list of online worker names for a specific mining account. Results are ordered by worker name ascending (alphabetical). - [Worker Hashrate](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/mining-pool/worker-hashrate.md): Returns hashrate performance history for a specific worker on a mining account. - [Create Watcher Link](https://docs.dadwajssakdas1123123sadwhitbit.com/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. - [List Watcher Links](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/mining-pool/list-watcher-links.md): Returns all active watcher links for a specific mining account. - [Overview](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/overview.md): Overview of the WhiteBIT OAuth 2.0 endpoints, including the recommended OAuth API key flow for partner integrations. - [Check OAuth API key existence](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/api-key-info.md): The endpoint returns whether a partner-issued API key already exists for the authenticated user and OAuth2 client pair. The endpoint is Bearer-authenticated, so it is reachable only once the partner holds a token for that user: a returning partner calls it before redirecting the user again, while a… - [Retrieve OAuth API key secret](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/api-key-secret.md): The endpoint retrieves the API secret for a partner-issued API key. The endpoint returns the secret exactly once per key — a subsequent call returns `409 Conflict`. - [Delete OAuth API key](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/api-key-delete.md): The endpoint deletes a partner-issued API key owned by the authenticated OAuth2 client. The deletion triggers an email notification to the user. The endpoint applies to active keys — disabled keys must be removed by the user from the WhiteBIT dashboard. - [Authorize](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/authorize.md): The endpoint initiates the OAuth 2.0 authorization flow for user authentication and obtaining an authorization code. - [Get Access Token](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/get-access-token.md): The endpoint activates an access token by exchanging an authorization code. - [Refresh Token](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/refresh-token.md): This endpoint creates a new access token using a refresh token. - [Get Account Transactions](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/account-transactions.md): This endpoint retrieves a paginated list of account transactions. - [Get Currency Conversions](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/currency-conversions.md): This endpoint retrieves the history of currency conversions. - [Get Orders History](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/orders-history.md): This endpoint retrieves the history of trading orders. - [Get Executed Deals](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/executed-deals.md): This endpoint retrieves the history of executed deals. - [Get Main Account Balance](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/main-account-balance.md): This endpoint retrieves the main account balance information. - [Get Spot Account Balance](https://docs.dadwajssakdas1123123sadwhitbit.com/api-reference/oauth/usage/spot-account-balance.md): This endpoint retrieves the spot trading account balance information. - [WebSocket API](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/overview.md): WhiteBIT WebSocket API — connection details, quickstart examples, message format, and links to all available channels. - [WebSocket Authentication](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/authentication.md): How to authorize a WebSocket connection for access to private Account Stream channels. - [WebSocket Rate Limits & Error Codes](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/rate-limits.md): Connection limits, request limits, timeout behavior, and error codes for the WhiteBIT WebSocket API. - [Market Streams](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/market-streams/overview.md): Public WebSocket market streams provide real-time order books, trades, prices, and statistics on WhiteBIT. - [Service](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/market-streams/service.md): Ping the WhiteBIT WebSocket server to check connection health and keep the connection alive. - [Kline](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/market-streams/kline.md): Subscribe to real-time candlestick (OHLCV) chart updates for a trading pair via WhiteBIT WebSocket. - [Last Price](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/market-streams/lastprice.md): Subscribe to real-time last trade price updates for trading pairs via WhiteBIT WebSocket. - [Market Statistics](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/market-streams/market.md): Subscribe to real-time 24-hour market statistics for trading pairs via WhiteBIT WebSocket. - [Market statistics for current day UTC](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/market-streams/market-today.md): Subscribe to real-time current-day market statistics for trading pairs via WhiteBIT WebSocket. - [Market Trades](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/market-streams/trades.md): Subscribe to real-time trade execution updates for a trading pair via WhiteBIT WebSocket. - [Order Book Depth](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/market-streams/depth.md): Subscribe to real-time order book depth updates for a trading pair via WhiteBIT WebSocket. - [Book Ticker](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/market-streams/book-ticker.md): Subscribe to real-time best bid and ask price updates for trading pairs via WhiteBIT WebSocket. - [Premium index](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/market-streams/premium-index.md): Subscribe to mark price, index price, and funding rate updates for futures markets via WhiteBIT WebSocket. - [Account Streams](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/overview.md): Private WebSocket account streams provide real-time access to balances, orders, deals, and positions on WhiteBIT. - [Authorize](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/authorize.md): Authorize a WebSocket connection to subscribe to private account data streams on WhiteBIT. - [Balance Spot](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/balance-spot.md): Subscribe to real-time spot balance updates for a WhiteBIT account via WebSocket. - [Balance Margin](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/balance-margin.md): Subscribe to real-time margin balance updates for a WhiteBIT account via WebSocket. - [Orders Pending](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/orders-pending.md): Subscribe to real-time updates on pending account orders on WhiteBIT via WebSocket. - [Orders Executed](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/orders-executed.md): Subscribe to real-time notifications when account orders are executed on WhiteBIT via WebSocket. - [Deals](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/deals.md): Subscribe to real-time trade deal notifications for a WhiteBIT account via WebSocket. - [Positions](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/positions.md): Subscribe to real-time collateral position updates for a WhiteBIT account via WebSocket. - [Margin Positions Events](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/margin-positions-events.md): Subscribe to real-time margin position change events for a WhiteBIT account via WebSocket. - [Borrows](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/borrows.md): Query current margin borrows for a WhiteBIT account via WebSocket. - [Borrows Events](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/borrows-events.md): Subscribe to real-time margin borrow events for a WhiteBIT account via WebSocket. - [ADL quantile](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/account-streams/adl-quantile.md): Subscribe to ADL (Auto-Deleveraging) quantile updates for open futures positions via WhiteBIT WebSocket. - [Order Management](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/overview.md): Place, modify, and cancel spot, margin, and futures orders over the WhiteBIT WebSocket connection — conventions, shared enums, and the full error reference. - [Place limit order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-limit-place.md): Place a spot limit order over the WhiteBIT WebSocket connection with order_limit_place. - [Place market order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-market-place.md): Place a spot market order over the WhiteBIT WebSocket connection with order_market_place. - [Place market order in stock](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-market-stock-place.md): Place a spot market order sized in the base asset on both sides with order_market_stock_place. - [Place stop-limit order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-stop-limit-place.md): Place a spot stop-limit order that becomes a limit order on trigger, with order_stop_limit_place. - [Place stop-market order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-stop-market-place.md): Place a spot stop-market order that fires a market order on trigger, with order_stop_market_place. - [Place stop-market order in stock](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-stop-market-stock-place.md): Place a spot stop-market order sized in the base asset on both sides with order_stop_market_stock_place. - [Place BBO order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-bbo-place.md): Place a spot limit order priced from the current best bid or offer with order_bbo_place. - [Place stop-BBO order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-stop-bbo-place.md): Place a spot stop order that becomes a BBO order on trigger, with order_stop_bbo_place. - [Place margin limit order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/collateral-order-limit-place.md): Place a margin or futures limit order over the WhiteBIT WebSocket connection with collateral_order_limit_place. - [Place margin market order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/collateral-order-market-place.md): Place a margin or futures market order over the WhiteBIT WebSocket connection with collateral_order_market_place. - [Place margin stop-limit order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/collateral-order-stop-limit-place.md): Place a margin or futures stop-limit order over the WhiteBIT WebSocket connection with collateral_order_stop_limit_place. - [Place margin stop-market order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/collateral-order-stop-market-place.md): Place a margin or futures stop-market order over the WhiteBIT WebSocket connection with collateral_order_stop_market_place. - [Place margin BBO order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/collateral-order-bbo-place.md): Place a margin or futures order priced from the best bid or offer with collateral_order_bbo_place. - [Place margin stop-BBO order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/collateral-order-stop-bbo-place.md): Place a margin or futures stop order that becomes a BBO order with collateral_order_stop_bbo_place. - [Place OCO group](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/collateral-order-oco-place.md): Place a linked take-profit and stop-loss pair on a margin or futures market with collateral_order_oco_place. - [Place OTO group](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/collateral-order-oto-place.md): Place an entry order that arms its own exit on a margin or futures market with collateral_order_oto_place. - [Attach take-profit and stop-loss](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/collateral-order-tpsl-place.md): Attach a take-profit and stop-loss pair to an open margin or futures position with collateral_order_tpsl_place. - [Modify order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-modify.md): Change the size, price, or trigger of a live WhiteBIT order over the WebSocket connection with order_modify. - [Cancel order](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-cancel.md): Cancel a single WhiteBIT order over the WebSocket connection with order_cancel. - [Cancel conditional group](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-cancel-conditional.md): Cancel an OCO or OTO order group in one call with order_cancel_conditional. - [Cancel all orders](https://docs.dadwajssakdas1123123sadwhitbit.com/websocket/order-management/order-cancel-all.md): Withdraw every order on one WhiteBIT market, filtered by trading type, with order_cancel_all. ## OpenAPI Specs - [oauth2](/openapi/oauth2.yaml) - [http-trade-v4](/openapi/private/http-trade-v4.yaml) - [main_api_v4](/openapi/private/main_api_v4.yaml) - [http-v1](/openapi/public/http-v1.yaml) - [http-v4](/openapi/public/http-v4.yaml) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.