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
| Purpose | Endpoint | Parameters | Data availability |
|---|---|---|---|
| Markets / instruments | GET /api/v5/public/instruments?instType=SPOT | instType=SPOT | Tradable spot pair identifiers, base/quote metadata where the venue exposes it, and status/trading flags where available. |
| Tickers / 24h stats | GET /api/v5/market/tickers?instType=SPOT | instType=SPOT | Last 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.
Fees
Not verified yet.
Example
curl -sS 'https://www.okx.com/api/v5/api/v5/market/tickers?instType=SPOT'