Skip to navigation
OKX API · v5

Trade like a pro.
Build like one too.

Programmatic access to trading, market data, and account management on one of the world’s largest crypto exchanges — over REST and WebSocket.

₿BTC / USDBitcoin
67,912.40+2.18%
LIVE
24h High68,540
24h Low66,120
24h Vol1.24B
Powered by the API

The same API behind the OKX app

Every quote, balance, and trade you see in the OKX app flows through the same REST and WebSocket API documented here. Subscribe to live tickers, order books, and account updates, and build the same real-time experiences into your own product.

Explore WebSocket →
Built with