# OKX (CEX) — OpenDepth Microstructure Coverage
> Canonical URL: https://opendepth.io/exchanges/okx
High-liquidity CEX venue with strong institutional perpetual and basis flow.
OpenDepth tracks OKX perpetual swap and spot markets under the exact same normalized 75-field schema as every other CEX and Perp DEX, enabling apples-to-apples depth comparison, whale radar scoring, and cross-venue carry evaluation.
Currently tracking 544 live perpetuals, 812 spot markets, and 2 preserved delisted contracts.
OKX frequently exhibits distinct funding and basis dynamics relative to Binance and on-chain Perp DEXs, making it a core leg for cross-venue carry arbitrage and institutional orderflow divergence checks.
- Normalized 1s time-weighted depth bands, T1 sweep slippage, and book spread across OKX perpetual and spot pairs
- Direct comparison of OKX funding rates and basis against Binance, Bybit, Bitget, Hyperliquid, and Aster
- Zero look-ahead strategy backtesting with OKX-specific historical funding settlements and book-impact fills
- Non-custodial read-only or scoped trade connectivity with unified cross-exchange exposure tracking
```bash
curl -sS "https://api.opendepth.io/api/kline?exchange=okx&marketId=okx:perp:BTC:USDT&interval=15m&limit=60&format=compact&withFeatures=1"
```
## Frequently Asked Questions
### How do I compare OKX and Binance orderbook depth for the same coin?

Open `/trade/btc` (or any token) and switch the exchange selector to `All` to overlay OKX and other connected CEX & Perp DEX orderbooks, or query `/api/kline-depth?exchange=okx&marketId=okx:perp:BTC:USDT`.

### Does OpenDepth support OKX cross-venue carry scanning?

Yes. Both the live Carry Matrix (`/market?view=carry`) and MCP tool `get_carry_matrix` continuously rank OKX Spot+Perp and Perp+Perp pairs after deducting round-trip orderbook impact.