> ## 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 750+ trading pairs across 360+ crypto assets on WhiteBIT.

Programmatic access to 750+ [trading pairs](/concepts/markets) across 360+ crypto assets. The Spot Trading API supports 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/spot-trading/bulk-limit-order))
* **Kill-switch** — Emergency mechanism to cancel all active orders after a configurable timeout ([sync timer](/api-reference/spot-trading/sync-kill-switch-timer), [status](/api-reference/spot-trading/status-kill-switch-timer))
* **Order modification** — Modify existing orders in-place without canceling and recreating ([endpoint](/api-reference/spot-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
* **Brokers** — WhiteBIT liquidity offered to end users via the [Broker Program](/guides/broker-guide) (40% of the trading fee generated by referred users)
* **Market makers** — Liquidity provision through the [Market-Making Program](/guides/market-maker-guide) (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. Set the [kill-switch](/api-reference/spot-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/spot-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-guide) 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 per market via the [market fee endpoint](/api-reference/spot-trading/query-market-fee).

## Technical Overview

| Detail         | Value                                                     |
| -------------- | --------------------------------------------------------- |
| Endpoints      | 18 (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`                                    |

Endpoint categories:

* **Account** — Trade balance query (1 endpoint)
* **Order management** — Create, modify, cancel orders; bulk operations (9 endpoints)
* **Order queries** — Active orders, executed history, execution deals, order history (4 endpoints)
* **Market fees** — Per-market and all-market fee queries (2 endpoints)
* **Kill-switch** — Sync timer, status (2 endpoints)

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

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

## What's Next

<CardGroup cols={3}>
  <Card title="Spot Quickstart" icon="rocket" href="/products/spot/quickstart">
    Place a first trade in 5 minutes.
  </Card>

  <Card title="API Reference" icon="square-terminal" href="/api-reference/spot-trading/overview">
    All 18 spot trading endpoints with parameters, signing, error codes, and rate limits.
  </Card>

  <Card title="Trading Bot Guide" icon="robot" href="/guides/building-a-trading-bot">
    Build a Python trading bot with signed REST orders, WebSocket fills, kill-switch heartbeat, and a grid-bot example.
  </Card>
</CardGroup>
