OKX Market Data API: pricing, API and features
OKX exchange-native REST and WebSocket API for tickers, order books, candles, trades and public derivatives data such as funding rate and open interest.
Visit OKX Market Data API ↗ Plain link, no affiliate. Category: Market data APIs.
At a glance: OKX Market Data API (OKX) — pricing: free; free tier: Yes; REST: Yes; MCP: unknown; open source: No.
Pricing
- Model
- free
- Free tier
- Yes — Page states signing up and using the APIs is completely free; trading fees follow the OKX fee schedule.
- Plans
- unknown
- Notes
- Market Maker and Broker programs offer better fees and higher limits.
Verified on 2026-10-30 · Source: https://www.okx.com/okx-api
Access & auth
- Authentication
- none
- KYC required
- unknown
- Notes
- Docs say public channels need no authentication and public unauthenticated REST limits are per IP; Account endpoints need API keys. Demo trading keys exist. Product availability depends on region.
Verified on 2026-10-30 · Source: https://www.okx.com/docs-v5/en/
Coverage
- Exchanges
- OKX only
- Chains
- unknown
- Assets
- Instrument types SPOT, MARGIN, SWAP, FUTURES, OPTION, EVENTS
Verified on 2026-10-30 · Source: https://www.okx.com/docs-v5/en/
Capabilities
- Capabilities
- price-data, orderbook-data, trades-data, derivatives-data, funding-rates, open-interest, liquidations
Verified on 2026-10-30 · Source: https://www.okx.com/docs-v5/en/
Interfaces
- REST API
- Yes
- WebSocket
- Yes
- SDKs
- python
- Official MCP server
- unknown
- Other
- Liquidation data is documented as a WebSocket channel (Liquidation orders channel).
Verified on 2026-10-30 · Source: https://www.okx.com/okx-api
Open source & self-hosting
- Open source
- No
- Licence
- proprietary
- Self-host
- No
Verified on 2026-10-30 · Source: https://www.okx.com/okx-api
FAQ
Does OKX Market Data API have a free tier?
Yes. Page states signing up and using the APIs is completely free; trading fees follow the OKX fee schedule. (verified 2026-10-30)
Does OKX Market Data API offer an API?
REST: Yes. WebSocket: Yes. Official MCP server: unknown. Verified 2026-10-30.
Is OKX Market Data API open source or self-hostable?
Open source: No; licence: proprietary; self-host: No. Verified 2026-10-30.
What are alternatives to OKX Market Data API?
Other market data apis in our directory: 0xArchive, AllTick Market Data API, Amberdata Market Data API, Aster Futures API (market data), binance (Siebly.io SDK).
Related market data apis
0xArchive
Historical and live market-data archive for Hyperliquid and Lighter (order books, funding, liquidations, fills) served via REST, WebSocket replay, Parquet exports, SDKs and an MCP server.
AllTick Market Data API
Commercial REST and WebSocket market-data API covering stocks, forex, crypto, metals, oil and indices, with tick, order book and K-line data.
Amberdata Market Data API
Institutional digital asset data API (market, derivatives, on-chain) with REST, WebSocket and bulk delivery; Kaiko announced its acquisition of Amberdata and docs remain live.
Aster Futures API (market data)
Aster DEX futures API docs: public REST and WebSocket market data for USDT perpetuals (klines, depth, trades, mark price/funding, liquidation stream) plus authenticated trading endpoints.
binance (Siebly.io SDK)
Community TypeScript/JavaScript SDK for Binance REST, WebSocket and WebSocket API across spot, margin, options and USD-M/COIN-M futures, with typed responses and automatic reconnects.
Binance Connector (Python)
Official MIT-licensed collection of auto-generated Python SDK packages for Binance APIs (spot, margin, futures, options, copy trading, algo, staking and more), with REST and WebSocket clients.
See OKX Market Data API alternatives →