> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whitebit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FAQ

> Find answers to common questions about the WhiteBIT API, trading, deposits and withdrawals, webhooks, institutional onboarding, compliance, and integration.

Base URL

:

## Rate limits and errors

> [accordion] Rate limit 429 errors
>
> Rate limit 429 errors occur when an endpoint exceeds the rate limit. To resolve:
>
> * Wait for the rate limit window to reset
> * Check the specific rate limit value in the endpoint documentation
> * Implement rate limiting in code
>
> For more details, see the [API v4 overview](https://docs.whitebit.com/api-reference/market-data/overview.md).

> [accordion] CORS errors on ticker endpoint
>
> CORS requests to the ticker endpoint are forbidden for security reasons. Make the request from a backend server instead of client-side code. For endpoint details, see the [Market activity endpoint](https://docs.whitebit.com/api-reference/market-data/market-activity.md).

> [accordion] Nonce error troubleshooting
>
> Nonce errors occur when timestamps or request ordering are invalid. To resolve:
>
> 1. Debug the code implementation
> 2. Recreate API keys
> 3. Ensure system time is properly synchronized
>
> For details on nonce requirements, see the [Authentication guide](https://docs.whitebit.com/api-reference/authentication.md). For full details on HMAC-SHA512 signing and nonce requirements, see [Authentication](https://docs.whitebit.com/api-reference/authentication.md).

> [accordion] Lending (Smartplan) endpoint 403 access errors
>
> Lending endpoints require B2B partner permissions. This applies to both Fixed (`/api/v4/main-account/smart/`) and Flex (`/api/v4/main-account/smart-flex/`) endpoints. Until access is granted, these endpoints return `403` with the message `You don't have permission to use this endpoint. Please contact support for more details`. To gain access:
>
> * Fill the institutional services form at [https://whitebit.com/institutional-services/b2b](https://whitebit.com/institutional-services/b2b)
> * Provide use case details
>
> For endpoint details, see the [Crypto Lending documentation](https://docs.whitebit.com/api-reference/account-wallet/get-plans.md).

> [accordion] Common API error codes quick reference
>
> The most frequent API errors and corresponding causes: `422` — validation failed (check required parameters); `429` — rate limit exceeded (wait for window reset); `401` — authentication failed (check API key and HMAC signature); `403` — insufficient permissions (verify API key permissions). See [Errors and Error Handling](https://docs.whitebit.com/api-reference/rate-limits.md) for the complete error code reference.

## WebSocket

> [accordion] Multiple time periods in WebSocket Kline
>
> Multiple time periods for pairs are available through multiple WebSocket connections or the HTTP method. Two solutions:
>
> 1. Open multiple WebSocket connections
> 2. Use the equivalent HTTP method instead
>
> For more details, see the [Kline documentation](https://docs.whitebit.com/websocket/market-streams/kline.md).

> [accordion] Trade history limitations (24-hour window)
>
> The system shows only the last 100 deals by default. To access more:
>
> * Subscribe to the WebSocket feed
> * Accumulate and store the data
> * Process the data as needed
>
> For more details, see the [Trades channel documentation](https://docs.whitebit.com/websocket/market-streams/trades.md).

> [accordion] Server locations and colocation regions
>
> WhiteBIT offers colocation across EEA/EMEA and APAC regions. Colocation provides access to a subset of 35 trading endpoints. See [Colocation](https://docs.whitebit.com/platform/colocation.md) for infrastructure details and the [Market Maker Guide](https://docs.whitebit.com/guides/market-maker-integration.md) for the full endpoint list.

## Transfers and withdrawals

> [accordion] Transfer delays between balances
>
> When making transfers and withdrawals:
>
> * Before the next step, check that the amount shows on the destination balance
> * Avoid initiating withdrawals before transfer completion
> * Implement proper error handling for transfer states; after a timeout or server error, do not resend automatically, and follow the between-balances row in [Retry strategy by error type](https://docs.whitebit.com/api-reference/rate-limits.md#retry-strategy-by-error-type)
>
> For endpoint details, see the [Transfer between balances](https://docs.whitebit.com/api-reference/account-wallet/transfer-between-balances.md) documentation. For details on balance types (Main, Trade, Collateral), see [Balances & Transfers](https://docs.whitebit.com/concepts/balances.md).

> [accordion] Insufficient funds errors despite available balance
>
> Withdrawal amount plus fee must not exceed the available balance. Calculate the total required using the [fee endpoint](https://docs.whitebit.com/api-reference/account-wallet/get-fees.md). Check the withdrawable amount before initiating a withdrawal. If the issue persists, review open orders possibly reserving funds. See [Balances & Transfers](https://docs.whitebit.com/concepts/balances.md) for explanation of available vs. frozen balances.

> [accordion] Network confirmation requirements for deposits
>
> Each cryptocurrency network has two confirmation counts. At the earlier count (`confirmations_for_trading`), the platform credits the deposit for trading only. At the later count (`confirmations`), the deposit also becomes available for blockchain withdrawal, for transfer to the Collateral balance, and for transfer from a sub-account to its main account. The webhook payload includes `confirmations.actual` and `confirmations.required` fields. Check the [Asset Status endpoint](https://docs.whitebit.com/api-reference/market-data/asset-status-list.md) for both counts per network.

> [accordion] USDT alternatives for EEA users (MiCA compliance)
>
> Since December 30, 2024, EEA users cannot deposit, withdraw, or create WhiteBIT Codes in USDT. Use USDC (Circle holds an EU e-money license) or EURI (euro-pegged, MiCA-compliant) as alternatives. See [Regulatory Compliance](https://docs.whitebit.com/institutional/compliance.md) for details.

> [accordion] Below-minimum deposit handling
>
> Crypto deposits are checked against the network minimum, not the currency-level one. Check the minimum via the [Asset Status endpoint](https://docs.whitebit.com/api-reference/market-data/asset-status-list.md) before generating deposit addresses: for a multi-network currency, `limits.deposit.<network>.min` carries each network's minimum when the response includes `limits`, and the top-level `min_deposit` can differ from the network limits. A deposit below the network minimum is not rejected and not returned. The deposit history shows the deposit with status 22 (uncredited), further deposits to the same address add up, and once the total reaches the network minimum, the deposits are credited together. Deposits that stay below the minimum are canceled after 7 days and move to status 9, which sends no webhook.

## Webhooks

> [accordion] Webhook HTTPS requirements and port
>
> HTTPS is required for Webhook API communication:
>
> * Communication occurs over port 443
> * SSL/TLS encryption is mandatory
> * HTTP connections are not supported
>
> For more details, see the [Webhook documentation](https://docs.whitebit.com/platform/webhook.md).

> [accordion] Webhook signature verification
>
> Each webhook request includes an `X-TXC-APIKEY` header and an `X-TXC-PAYLOAD` + `X-TXC-SIGNATURE` for verification. Verify the HMAC-SHA512 signature using the webhook secret key to confirm the request originates from WhiteBIT. See the [Webhook](https://docs.whitebit.com/platform/webhook.md) reference for the full verification flow.

> [accordion] Webhook retry behavior
>
> WhiteBIT retries failed webhook deliveries on a best-effort basis, with no guaranteed cadence. There is no replay mechanism: if every delivery attempt fails, the platform drops the event. Implement polling of the deposit and withdrawal history endpoints as a fallback to reconcile events missed during extended consumer downtime. See [Webhook](https://docs.whitebit.com/platform/webhook.md) for the delivery window.

## API and assets

> [accordion] Currency deposit and withdrawal availability
>
> Check currency status through the assets endpoint:
>
> * URL: [https://whitebit.com/api/v4/public/assets](https://whitebit.com/api/v4/public/assets)
> * The endpoint provides real-time status of all currencies
> * Check the currency-specific enabled/disabled flags
>
> For endpoint details and response schema, see the [Asset status list](https://docs.whitebit.com/api-reference/market-data/asset-status-list.md) documentation.

## Trading

> [accordion] Collateral endpoint naming — Margin vs Futures
>
> The API uses "collateral" as a shared prefix for both Margin Trading (up to 10x leverage on spot pairs like `BTC_USDT`) and Futures Trading (up to 100x leverage on perpetual pairs like `BTC_PERP`). The market pair determines the product — not the endpoint path. All endpoints under `/api/v4/order/collateral/` and `/api/v4/collateral-account/` serve both products. See [Margin Trading](https://docs.whitebit.com/products/margin/overview.md) and [Futures Trading](https://docs.whitebit.com/products/futures/overview.md).

> [accordion] Minimum order sizes per market
>
> Each market has a minimum order amount (`minAmount`) and minimum order value (`minTotal`). Retrieve these values from `GET /api/v4/public/markets` (spot) or `GET /api/v4/public/futures` (futures). Orders below the minimum are rejected. See [Markets & Trading Pairs](https://docs.whitebit.com/concepts/markets.md).

> [accordion] Kill-switch for emergency order cancellation
>
> The kill-switch automatically cancels all active orders after a configurable timeout. Activate via `POST /api/v4/order/kill-switch` with a `timeout` parameter (in seconds). Use `POST /api/v4/order/kill-switch/status` to check the current state. Designed as a safety mechanism for automated trading strategies. See the [Market Maker Guide](https://docs.whitebit.com/guides/market-maker-integration.md) for usage patterns.

> [accordion] Bulk order limits
>
> The bulk order endpoint (`POST /api/v4/order/bulk`) accepts up to 20 limit orders in a single request. All orders in the batch must be for the same market pair. The collateral bulk endpoint (`POST /api/v4/order/collateral/bulk`) follows the same 20-order limit.

> [accordion] Market order price in API response
>
> The price returned in a market order response may reflect an internal limit price, not the actual execution price. To obtain the true fill price, check the trade history via `POST /api/v4/trade-account/executed-history` or subscribe to the WebSocket deals channel. See [Order Types](https://docs.whitebit.com/concepts/order-types.md) for market order execution details.

> [accordion] Reduce-only order parameter
>
> A reduce-only order guarantees that the order only decreases or closes an existing position — the order cannot increase the position or open a new one. Set `reduceOnly: true` on any collateral order creation endpoint. Available on margin and futures markets only.
>
> If no open position exists or the order direction matches the position direction, the API returns error code `116`. If the order amount exceeds the current position size, the system reduces the order to match automatically.
>
> Pending reduce-only orders are auto-canceled with status `AUTO_CANCELED_REDUCE_ONLY` when the associated position closes.
>
> See [Order Types — Reduce-only orders](https://docs.whitebit.com/concepts/order-types.md#reduce-only-orders) for full details.

## Security and API keys

> [accordion] API key security best practices
>
> Store API keys securely using environment variables, restrict IP access, and use minimum required permissions. Never commit keys to version control.
>
> For details, see the [Authentication guide](https://docs.whitebit.com/api-reference/authentication.md). For comprehensive security guidance, see [Security Best Practices](https://docs.whitebit.com/best-practices/security.md).

> [accordion] Compromised API key response
>
> Immediately delete the compromised key, review account activity for unauthorized actions, and create new API keys. Contact support if unauthorized activity is detected.
>
> For details, see the [Authentication guide](https://docs.whitebit.com/api-reference/authentication.md).

> [accordion] API key auto-deactivation after inactivity
>
> The platform automatically deactivates an API key that receives no requests for 14 consecutive days. An IP whitelist does not exempt a key from this rule — whitelisted and non-whitelisted keys deactivate on the same schedule. Reactivate a deactivated key at [whitebit.com/settings/api](https://whitebit.com/settings/api). [Reset Sub-Account API Key](https://docs.whitebit.com/api-reference/sub-accounts/reset-sub-account-api-key.md) switches a deactivated sub-account key back on, and the key and its secret stay the same. Webhook keys do not deactivate. See [Key rotation](https://docs.whitebit.com/best-practices/security.md#key-rotation).

> [accordion] Keeping spare API keys active
>
> Send at least one authenticated request from each spare key every 14 days. Any authenticated endpoint resets the inactivity timer — a balance check via `POST /api/v4/main-account/balance` is sufficient. Keys held in reserve without periodic traffic deactivate on the same schedule as unused keys. See [Main balance](https://docs.whitebit.com/api-reference/account-wallet/main-balance.md).

> [accordion] Reasons an API key becomes disabled
>
> An API key becomes disabled after 14 consecutive days without requests, or when deactivated from the account settings. Check the key status at [whitebit.com/settings/api](https://whitebit.com/settings/api), resolve the cause, then re-enable the key. For a sub-account key, `isEnabled` in [List Sub-Account API Keys](https://docs.whitebit.com/api-reference/sub-accounts/list-sub-account-api-keys.md) shows the status, and [Reset Sub-Account API Key](https://docs.whitebit.com/api-reference/sub-accounts/reset-sub-account-api-key.md) re-enables the key. See [Security best practices](https://docs.whitebit.com/best-practices/security.md).

## API usage

> [accordion] High-frequency trading API optimization
>
> Use WebSocket for real-time data, batch requests when possible, implement proper rate limiting, and cache frequently accessed data.
>
> For details, see the [WebSocket API](https://docs.whitebit.com/websocket/market-streams/overview.md). For rate limit tiers and endpoint-specific limits, see [Rate Limits](https://docs.whitebit.com/api-reference/rate-limits.md). For colocation infrastructure, see the [Market Maker Guide](https://docs.whitebit.com/guides/market-maker-integration.md).

> [accordion] API disconnection handling
>
> Implement automatic reconnection with exponential backoff. Maintain local order state and set up monitoring and alerts for connection issues.
>
> For details, see the [WebSocket API](https://docs.whitebit.com/websocket/market-streams/overview.md). For a pre-launch readiness checklist including reconnection testing, see the [Go-Live Checklist](https://docs.whitebit.com/best-practices/go-live-checklist.md).

> [accordion] Getting started with the WhiteBIT API
>
> Start with the [First API Call](https://docs.whitebit.com/guides/first-api-call.md) guide for an orientation. The recommended path: create an API key, make a public endpoint call (no auth required), then authenticate a private endpoint call.

> [accordion] Available SDKs and quickstart examples
>
> Official SDKs exist for Go, Python, and PHP. See the [SDKs page](https://docs.whitebit.com/sdks.md) for installation instructions and GitHub links. For raw HMAC-SHA512 signing without an SDK, see [First API Call](https://docs.whitebit.com/guides/first-api-call.md).

> [accordion] Testing without a sandbox environment
>
> WhiteBIT does not offer a public testnet or sandbox. For risk-free Spot testing, activate
> Demo Tokens (DBTC + DUSDT) from the [WhiteBIT Codes page](https://whitebit.com/codes) —
> no KYC required. Trade the `DBTC_DUSDT` pair via the standard API to validate the full
> order lifecycle without real funds. For Margin, Futures, and fund-movement testing, use
> minimum order sizes on the live API. See the
> [Go-Live Checklist](https://docs.whitebit.com/best-practices/go-live-checklist.md) for the complete testing strategy.

> [accordion] REST API vs WebSocket — when to use each
>
> Use the REST API for one-time request–response calls: checking balances, fetching trade history, and placing orders. Use the WebSocket API for real-time streaming data: live orderbook updates, trade feeds, and balance changes. Order placement, modification, and cancellation are also available over WebSocket as an alternative transport, on the global platform only — the [order methods](https://docs.whitebit.com/websocket/order-management/overview.md) run on the same authorized connection as the streams, which suits low-latency placement without opening and re-authenticating a connection per request. REST polling at high frequency consumes rate limits — switch to WebSocket for data that updates continuously. See [Rate Limits](https://docs.whitebit.com/api-reference/rate-limits.md) for REST constraints, [WebSocket Rate Limits](https://docs.whitebit.com/websocket/rate-limits.md) for the per-account WebSocket request budgets, [WebSocket Quickstart](https://docs.whitebit.com/guides/websocket-quickstart.md) for streaming setup, and [Order Management](https://docs.whitebit.com/websocket/order-management/overview.md) for the WebSocket order methods.

> [accordion] Choosing the right SDK
>
> Official SDKs are available for Go, Python, and PHP. Check the [SDKs page](https://docs.whitebit.com/sdks.md) for current version, maintenance status, and whether each SDK handles HMAC signing automatically.

> [accordion] API access levels and prerequisites
>
> Public endpoints (market data, tickers, orderbook) require no account or authentication. Private endpoints (trading, account management) require API keys — create these keys in account Settings. Institutional features (colocation, OTC, Embedded Trading) require [institutional onboarding](https://docs.whitebit.com/institutional/onboarding.md). See [First API Call](https://docs.whitebit.com/guides/first-api-call.md) for the recommended integration path.

## Institutional and partner onboarding

> [accordion] Available institutional products
>
> WhiteBIT offers Market-Making Programs, Embedded Trading (up to 40% fee share), Sub-Account management, OTC trading, Crypto Lending for business, colocation, and Liquidity Provision. See the [Institutional Overview](https://docs.whitebit.com/institutional/overview.md) for the full catalog.

> [accordion] Institutional onboarding process
>
> Onboarding has two phases: Phase 1 (crypto access) requires account registration, KYC for the director, and KYB verification. Phase 2 (fiat/SEPA access) requires additional documentation through the fiat processing partner. See [Institutional Onboarding](https://docs.whitebit.com/institutional/onboarding.md) for the step-by-step process.

> [accordion] Fee structure for institutional clients
>
> Base trading fees are 0.1% maker / 0.1% taker. The Market-Making Program offers rebates up to -0.012% maker. Embedded Trading provides up to 40% fee share on referred user trading fees; the applicable rate is agreed individually during enrollment. Contact [institutional@whitebit.com](mailto:institutional@whitebit.com) for volume-based arrangements.

> [accordion] Sandbox or testnet availability
>
> WhiteBIT does not offer a public testnet or sandbox. However, free Demo Tokens
> (0.5 DBTC + 1,000 DUSDT) are available for risk-free Spot trading via the
> [WhiteBIT Codes page](https://whitebit.com/codes) — no KYC required. The `DBTC_DUSDT`
> pair works with all standard Spot API endpoints. For Margin, Futures, and deposit/withdrawal
> testing, use minimum order sizes on the live API. See the
> [Go-Live Checklist](https://docs.whitebit.com/best-practices/go-live-checklist.md) for the complete testing strategy.

> [accordion] Regulatory licenses and certifications
>
> WhiteBIT holds licenses in multiple EU jurisdictions and maintains ISO 27001, PCI DSS, and CCSS security certifications, with the CCSS Level 3 assessment conducted by Hacken. GDPR compliance is maintained for data processing. For specific VASP authorization details and jurisdiction information, contact [institutional@whitebit.com](mailto:institutional@whitebit.com). See [Regulatory Compliance](https://docs.whitebit.com/institutional/compliance.md).

> [accordion] Colocation for low-latency trading
>
> Colocation is available across EEA/EMEA and APAC regions. Access is limited to a subset of 35 trading endpoints. See [Colocation](https://docs.whitebit.com/platform/colocation.md) for setup details and the [Market Maker Guide](https://docs.whitebit.com/guides/market-maker-integration.md) for the full endpoint list.

> [accordion] Deposit and withdrawal permissions on a sub-account created with an email
>
> A sub-account created with an email address (dedicated KYC, `shareKyc: false`) is inactive until the end customer activates it: WhiteBIT sends an invitation to that email, and the sub-account is activated once the customer opens the link and sets a password. The link expires after three days and can be re-sent on whitebit.com, not through the API. [List of Sub-Accounts](https://docs.whitebit.com/api-reference/sub-accounts/list-of-sub-accounts.md) shows the sub-account's `status` as `active` once activation is complete. Activation is a separate step from identity verification: [`POST /api/v4/sub-account/kyc-url`](https://docs.whitebit.com/api-reference/sub-accounts/kyc-url) returns `422 "Account is not confirmed"` until the sub-account is activated.
>
> On a create request with an email, `spotEnabled` and `collateralEnabled` are kept after activation. Set `depositsEnabled` and `withdrawsEnabled` with [`POST /api/v4/sub-account/edit`](https://docs.whitebit.com/api-reference/sub-accounts/edit-sub-account) once the sub-account's `status` is `active`; the edit is refused before activation. Send the sub-account's `alias` and the full `permissions` object: `spotEnabled` and `collateralEnabled` with the values used at creation, plus `depositsEnabled` and `withdrawsEnabled`. Send the full `permissions` object on every later edit too: flags omitted from an edit request are turned off without a warning.
>
> A sub-account created with `shareKyc: true` and no email is active at creation, and its `spotEnabled` and `collateralEnabled` permissions apply at once; `depositsEnabled` and `withdrawsEnabled` go in the same create request. A request with an email starts the invitation flow even with `shareKyc: true`. See the [Sub-account integration guide](https://docs.whitebit.com/guides/sub-account-integration.md) for the full flow.

## Compliance and regulatory

> [accordion] MiCA USDT restrictions for EEA users
>
> Since December 30, 2024, EEA accounts cannot deposit, withdraw, or create WhiteBIT Codes in USDT under MiCA regulation. USDC and EURI are available as compliant alternatives. See [Regulatory Compliance](https://docs.whitebit.com/institutional/compliance.md) for the full list of affected operations and recommended alternatives.

> [accordion] Travel Rule requirements for EEA withdrawals
>
> Since May 19, 2025, crypto withdrawals from EEA accounts require a `travelRule` object in the withdrawal request body. The object uses a structured format: `walletType` (hosted or unhosted destination), `beneficiary` (receiver details), and `vaspData` (destination platform identification). See [Regulatory Compliance](https://docs.whitebit.com/institutional/compliance.md) for the field reference and code examples.

> [accordion] Security certifications and audits
>
> WhiteBIT holds ISO 27001, PCI DSS, and CCSS security certifications, with the CCSS Level 3 assessment conducted by Hacken. GDPR is a regulation (not a certification) — WhiteBIT processes data in accordance with GDPR requirements. For audit reports or verification details, contact [institutional@whitebit.com](mailto:institutional@whitebit.com).

## What's Next

> [card] [First API Call](https://docs.whitebit.com/guides/first-api-call.md)
>
> First steps for API integration — account setup, API keys, and the first authenticated call.

> [card] [Partner Solutions](https://docs.whitebit.com/guides/partner-solutions.md)
>
> Find the recommended integration path for market makers, account operators, bot platforms, wallet backends, payment providers, prop firms, and institutional clients.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.