REST reference¶
Interactive reference is split by category in the left navigation. Each category page embeds only that group's OpenAPI operations.
Categories¶
| Category | Coverage |
|---|---|
| Public | Ping, time, exchange info, pairs, user IP |
| Market Data | Depth, trades, klines, tickers, avg price |
| Spot Trading | Place / cancel / query orders and trades |
| Wallet | Deposit / withdraw |
| User Data Stream | listenKey create / keepalive / close |
| Common | Balances, fees, transaction history |
Spot order types & TIF (trading)¶
| Field | Values |
|---|---|
type |
LIMIT, MARKET, STOP_LOSS, STOP_LOSS_LIMIT, TAKE_PROFIT, TAKE_PROFIT_LIMIT |
timeInForce |
GTC (default), IOC, FOK |
stopPrice (response) |
JSON number on conditional orders; null on LIMIT/MARKET. Same on place (RESULT/FULL), cancel, cancel-replace cancel half, and query. |
side |
BUY, SELL |
newOrderRespType |
ACK, RESULT, FULL |
stpFlag |
Self-trade prevention. Default CB (cancel both). Full enum values are on the place-order operation schema. |
Which size and price fields each type needs (and which are forbidden) is documented under Spot Trading → Place order by type. Read exchangeInfo.filters before sizing.
Signed trading endpoints require HMAC — see API Key & HMAC.
Required Type glossary¶
| Required Type | Meaning |
|---|---|
| — (no API key) | Public; no key or signature |
| Spot trade | Needs Spot trade key; read GETs / listenKey also accept Read only |
| Common | Accepts Read only, Spot trade, or Wallet |
| Wallet | Needs Wallet key; read GETs also accept Read only |
See Permissions for the full matrix.