> ## 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.

# Spot Trading

> Programmatic access to 800+ trading pairs across 410+ crypto assets on WhiteBIT.

Base URL

:

WhiteBIT supports 800+ trading pairs across 410+ crypto assets.

The Spot Trading API provides programmatic access to WhiteBIT [spot markets](/concepts/markets) with 6 order types, bulk-limit orders (up to 20 orders per call), and a kill-switch that cancels all active orders after a configurable timeout.

## Capabilities

* **6 order types** — Market, Limit, Stop-Limit, Stop-Market, Stock-Market, Bulk-Limit ([details](/concepts/order-types))
* **Bulk orders** — Place up to 20 limit orders in a single API call ([endpoint](/api-reference/trading/bulk-limit-order))
* **Kill-switch** — Emergency mechanism to cancel all active orders after a configurable timeout ([sync timer](/api-reference/trading/sync-kill-switch-timer), [status](/api-reference/trading/status-kill-switch-timer))
* **Order modification** — Modify existing orders in-place without canceling and recreating ([endpoint](/api-reference/trading/modify-order))
* **Client Order ID** — Attach custom identifiers for order tracking and reconciliation
* **Self-Trade Prevention** — Prevent accidental self-crossing when quoting both sides ([details](/platform/self-trade-prevention))

## Who Uses This

* **Trading firms** — Automated execution across hundreds of pairs with bulk-limit orders, the kill-switch, and in-place order modification
* **Fintechs** — Embedded spot trading in consumer or business applications via the REST API
* **Embedded Trading** — WhiteBIT liquidity offered to end users via [Embedded Trading](/guides/embedded-trading-overview) (up to 40% of the trading fee generated by referred users)
* **Market makers** — Liquidity provision through the [Market-Making Program](/guides/market-maker-overview) (maker rebates up to -0.012% for qualifying volume above \$100M/30 days)

## Common Integration Patterns

**Trading automation** — Combine the REST API for order placement with [WebSocket](/guides/websocket-quickstart) for real-time price data; orders can also be placed (global platform only) over the [WebSocket order methods](/websocket/order-management/overview). Set the [kill-switch](/api-reference/trading/sync-kill-switch-timer) timer so all active orders cancel automatically if the bot stops sending heartbeats. Existing integrations include Bitsgap and TradingView.

**Market making** — Use [bulk limit orders](/api-reference/trading/bulk-limit-order) (up to 20 per call) alongside the real-time orderbook [depth WebSocket channel](/guides/websocket-quickstart). The [Market-Making Program](/guides/market-maker-overview) offers maker fee rebates up to -0.012% for qualifying volume (\$100M+/30 days). Pair with [colocation](/platform/colocation) for low-latency execution (3–5 ms) and [sub-accounts](/products/sub-accounts/overview) to run market-making and directional strategies on independent balances with separate API keys. Enable [Self-Trade Prevention](/platform/self-trade-prevention) to avoid accidental self-crossing.

**Multi-exchange arbitrage** — Subscribe to the `lastprice` WebSocket channel for real-time price monitoring across pairs. Use [colocation](/platform/colocation) (3–5 ms latency) for execution speed. Market orders provide immediate fills at best available price.

## Fee Structure

| | Maker | Taker |
| - | - | - |
| Base rate | 0.1% | 0.1% |
| VIP (best tier) | -0.001% | 0.03% |
| Market-Making Program (best tier) | -0.012% | 0.020% |

Full fee schedule with all VIP tier breakpoints: [trading fees page](https://whitebit.com/trading-data/trading-fees) and [VIP program](https://whitebit.com/vip-program). Query current fees via the [market fee endpoint](/api-reference/trading/query-market-fee), or the effective fee for one market via the [single-market fee endpoint](/api-reference/trading/query-market-fee-single).

## Technical Overview

| Detail | Value |
| - | - |
| Endpoints | 20 (all `POST`, all authenticated) |
| Authentication | HMAC-SHA512 ([guide](/api-reference/authentication)) |
| Rate limits | Vary per endpoint ([details](/api-reference/rate-limits)) |
| Base URL | `https://whitebit.com` |
| WebSocket URL | `wss://wss.whitebit.com/ws` |

Endpoint categories:

* **Account** — Trade balance query (1 endpoint)
* **Order management** — Create, modify, cancel orders; bulk operations (10 endpoints)
* **Order queries** — Active orders, executed history, execution deals, order history, delisting orders (5 endpoints)
* **Market fees** — Default maker/taker rates, custom per-market overrides, and the effective fee for a single market (2 endpoints)
* **Kill-switch** — Sync timer, status (2 endpoints)

For full endpoint documentation, see the [Spot Trading API Reference](/api-reference/trading/spot-overview).

For Go and PHP examples, see [SDKs](/sdks).

## What's Next

> **[Spot Quickstart](/products/spot/quickstart)**
>
> Place a first trade in 5 minutes.

> **[API Reference](/api-reference/trading/spot-overview)**
>
> All 20 spot trading endpoints with parameters, signing, error codes, and rate limits.

> **[Trading Bot Guide](/guides/building-a-trading-bot)**
>
> Build a Python trading bot with signed REST orders, WebSocket fills, kill-switch heartbeat, and a grid-bot example.


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