Fetch live market data from the WhiteBIT API in under 2 minutes. All Market Data endpoints are public — no account, no API key, no signing.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.
Prerequisites
- A terminal or HTTP client (curl, Postman, or any programming language with HTTP support)
- No WhiteBIT account needed
- No API key needed
Check server availability
Confirm the API is reachable and operational.Expected response:
- cURL
- Python
Fetch available markets
Retrieve the full list of trading pairs with minimum amounts and trading rules.Expected response (trimmed):The response contains 900+ markets. Key fields:
- cURL
- Python
name (pair), stock (base currency), money (quote currency), minAmount (minimum order quantity), minTotal (minimum order value).For Go and PHP examples, see SDKs.Get BTC_USDT ticker
Fetch 24-hour pricing and volume data. The ticker endpoint returns all pairs — filter for the desired market.Expected response (BTC_USDT entry):Key fields:
- cURL
- Python
last_price (most recent trade price), base_volume (24h volume in base currency), quote_volume (24h volume in quote currency), change (24h percentage change).Fetch BTC_USDT orderbook
Retrieve the current orderbook depth. The Expected response (trimmed):Each entry is a
limit parameter controls the number of price levels returned (1–100).- cURL
- Python
[price, quantity] pair. asks = sell orders (ascending by price), bids = buy orders (descending by price).What just happened?
What just happened?
No authentication — by design — Market Data endpoints are intentionally public. No API key, no HMAC signing, no account. WhiteBIT exposes pricing, orderbook, and trade data publicly to support price aggregators, data vendors, and integration testing without requiring account creation. Public endpoints have their own rate limits but no per-key restrictions.Polling vs streaming — The five steps above use REST (request → response). This is appropriate for one-time lookups but expensive for real-time monitoring: polling the ticker endpoint every second across hundreds of pairs exhausts rate limits quickly and adds latency. For continuous price or orderbook updates, use WebSocket instead — a single persistent connection streams updates as they occur, with no polling overhead.
What’s Next
Spot Trading Quickstart
Place a first trade — requires an API key with Trading permission.
WebSocket Quickstart
Stream real-time price updates instead of polling.
Authentication
Set up API keys and HMAC signing for authenticated endpoints.