This changelog is illustrative and provided for demonstration purposes. Entries are representative of the OKX v5 API surface but should not be treated as the canonical release history. Always confirm against the official OKX API documentation before relying on a specific behavior in production.
Entries are listed with the most recent first. Each entry notes the affected product area, the nature of the change, and any migration guidance where a field or endpoint has been deprecated.
Spread trading and block trading
- Added
GET /api/v5/sprd/order-algo-historyto retrieve completed algo spread orders (TWAP) alongside the existingGET /api/v5/sprd/order-algoactive-order query. - Added the
pxUsdandpxVolfields to block trade RFQ quote responses onGET /api/v5/rfq/quotes, enabling options quotes to be expressed in USD price or implied volatility. - New WebSocket channel
sprd-orders-algostreams real-time state transitions for spread algo orders on the private channel.
Trading account
- Added
GET /api/v5/account/instrumentsreturning the tradable instruments available to the authenticated account, filtered by the account’s current trading mode and permissions. - The account configuration response from
GET /api/v5/account/confignow includesspotBorrowAutoRepayandliquidationGracePeriodfields. - Position risk on
GET /api/v5/account/positionsnow returnsbePx(break-even price) for derivatives positions.
WebSocket
- Added the
account-greeksprivate channel, pushing option account-level greeks (delta, gamma, theta, vega) as positions and marks update.
Market data
- Added
GET /api/v5/market/history-mark-price-candlesfor historical mark price candlesticks, complementing the existing index and trade-price candle endpoints. - The order book endpoint
GET /api/v5/market/booksnow accepts aszvalue up to400for spot and margin instruments (previously400was restricted to specific instrument types). - New WebSocket channel
mark-price-candle{bar}delivers mark price candles in real time, matching the request-cadence ofindex-candle{bar}.
Order book trading
- Added
POST /api/v5/trade/mass-cancelto cancel all open orders for a given instrument family in a single request, primarily for options market makers. - The
attachAlgoOrdsparameter onPOST /api/v5/trade/ordernow supports attaching multiple take-profit / stop-loss brackets to a single order. - Added the
linkedAlgoOrdfield toGET /api/v5/trade/orderresponses, surfacing the algo order id linked to a placed order.
Funding
- Added
GET /api/v5/asset/withdrawal-historypagination viabefore/aftercursors on thewdIdfield, replacing offset-based paging. - Added
POST /api/v5/asset/monthly-statementto request a downloadable monthly transaction statement, with retrieval throughGET /api/v5/asset/monthly-statement. - The deposit address response
GET /api/v5/asset/deposit-addressnow returns theverifiedNamefield for networks that support beneficiary verification.
Grid trading
- Added
POST /api/v5/tradingBot/grid/adjust-investmentto add margin or investment to a running spot or contract grid without stopping it. - The grid order details endpoint
GET /api/v5/tradingBot/grid/orders-algo-detailsnow includesannualizedRateandgridProfitbreakdown fields. - New WebSocket channel
grid-orders-spotpushes lifecycle events for spot grid bots on the private channel.
Trading account and WebSocket
- Added
GET /api/v5/account/position-tiersto fetch position and leverage tier information per instrument family. - The private
positionsWebSocket channel now emitspTime(push timestamp) distinct fromuTime(data update timestamp) so consumers can measure delivery latency.
Deprecation. The legacy POST /api/v5/account/set-greeks endpoint is
deprecated in favor of the greeksType parameter on
POST /api/v5/account/set-account-level. The legacy endpoint will be removed in
a future release; migrate to the account-level setting.
Market data
- Added
GET /api/v5/public/instrument-tick-bandsreturning per-price-band tick sizes for options instrument families. - The public
instrumentschannel now includes themaxMktSzandmaxLmtSzfields inline, removing the need for a separate lookup when validating order sizes.
Deprecation. The GET /api/v5/market/oracle endpoint is deprecated. Use
GET /api/v5/market/index-components and GET /api/v5/market/index-tickers for
index pricing data.

