CEX API

OKX public market API

Public REST, no authentication for spot market data. Responses use a data envelope. Spot rows are filtered to live instruments.

Access

Base URL
https://www.okx.com/api/v5
Authentication
Public REST, no authentication for spot market data.
CoinEel status
Implemented
Maker fee
Not verified yet
Taker fee
Not verified yet
Last updated
2026-06-02
Last checked
2026-06-02

Endpoints

PurposeEndpointParametersData availability
Markets / instrumentsGET /api/v5/public/instruments?instType=SPOTinstType=SPOTTradable spot pair identifiers, base/quote metadata where the venue exposes it, and status/trading flags where available.
Tickers / 24h statsGET /api/v5/market/tickers?instType=SPOTinstType=SPOTLast price, 24h base/quote volume when exposed, bid/ask when exposed, and native 24h change when exposed.

Rate limits

Official v5 docs publish per-endpoint limits by endpoint, IP, user, and instrument where applicable.

Official source: https://www.okx.com/docs-v5/en/ | https://www.okx.com/docs-v5/en/#public-data-rest-api-get-instruments | https://www.okx.com/docs-v5/en/#order-book-trading-market-data-get-tickers | https://www.okx.com/docs-v5/en/#overview-rate-limit | https://www.okx.com/api/v5/public/instruments?instType=SPOT | https://www.okx.com/api/v5/market/tickers?instType=SPOT

Fees

Not verified yet.

Example

curl -sS 'https://www.okx.com/api/v5/api/v5/market/tickers?instType=SPOT'

Back to CEX index