OKX Market Data

Order books, tickers, candles, funding and open interest, read from OKX's public market API. Read-only: there is no trading, account or withdrawal surface anywhere on this platform.

20
Endpoints
$0.003
From
$0.02
Up to
20 of these 20 endpoints are marked informational. They produce analysis, not advice, and each response says so. Screening and analytics output is a starting point for a decision, never the decision.

OKX Instrument Directory

List every tradable instrument on OKX for a given instrument type, with contract specifications, tick size, lot size and listing state.

GET $0.005

OKX Instrument Details

Full contract specification for a single OKX instrument, including tick size, contract multiplier, settlement currency and expiry.

GET $0.005

OKX Market Ticker

Latest traded price, best bid/ask, 24-hour open, high, low and volume for one OKX instrument.

GET $0.003

OKX Bulk Ticker Snapshot

Ticker snapshot for every instrument of a given type in one call, for cross-market scanning without per-symbol requests.

GET $0.01

OKX Index Ticker

Current index price and 24-hour index statistics for an OKX index.

GET $0.003

OKX Mark Price

Current mark price used for margining and liquidation on OKX derivatives.

GET $0.003

OKX Order Book

Aggregated order book for one instrument at a requested depth, with per-level size and order count.

GET $0.005

OKX Deep Order Book

Extended order-book depth with cumulative notional at each level, for liquidity and execution analysis.

GET $0.01

OKX Recent Trades

Most recent public trades for one instrument with price, size, side and timestamp.

GET $0.005

OKX Candlesticks

Historical OHLCV candles for one instrument at a chosen bar interval.

GET $0.005

OKX Index Candlesticks

Historical OHLC candles for an OKX index at a chosen bar interval.

GET $0.005

OKX Mark Price Candlesticks

Historical mark-price OHLC candles, the basis for funding and liquidation analysis.

GET $0.005

OKX 24-Hour Statistics

Normalised 24-hour open, high, low, close, volume and quote volume with computed change and range percentages.

GET $0.005

OKX Current Funding Rate

Current and next-period funding rate for a perpetual swap, with funding time.

GET $0.003

OKX Funding Rate History

Historical realised funding rates for a perpetual swap over a requested window.

GET $0.01

OKX Open Interest

Current open interest in contracts and in quote currency for derivatives.

GET $0.005

OKX Price Limits

Current highest buy and lowest sell limit prices enforced by OKX for an instrument.

GET $0.003

OKX Option Chain

Full option chain for an underlying, with per-strike marks, bids, asks, open interest and volume across expiries.

GET $0.02

OKX Option Greeks

Delta, gamma, theta and vega together with mark volatility for option instruments, as published by OKX.

GET $0.02

OKX Delivery & Settlement History

Historical delivery and settlement prices for expiring futures and options.

GET $0.01

Other categories