OKX Web3
Looking for swaps, bridges, liquidity, or token risk and holder data? See OKX On-chain — every executable OKX route grouped by task across OKX Wallet, OKX Web3 and On-chain RPC.
OKX Web3 market data: DEX prices and charts, token and holder analytics, swap quotes, catalogs and native-token balances per chain.
Independent service, not affiliated with OKX Web3. OKX Web3 is a trademark of its owner.
Use cases
WebSocket streams
GET
/ws/web3okx/tickers/{instId} [WS] — Live 24h ticker push for one instrument (WebSocket).GET
/ws/web3okx/books5/{instId} [WS] — Live top-5 order book push for one instrument (WebSocket).GET
/ws/web3okx/funding-rate/{instId} [WS] — Live perpetual funding-rate push for one instrument (WebSocket).GET
/ws/web3okx/books/{instId} [WS] — Live 400-level order book push for one instrument (WebSocket).GET
/ws/web3okx/bbo-tbt/{instId} [WS] — Live best bid/offer (1-level book) push for one instrument (WebSocket).GET
/ws/web3okx/trades/{instId} [WS] — Live trade-tape push for one instrument (WebSocket).GET
/ws/web3okx/index-tickers/{instId} [WS] — Live index-ticker push for one index (WebSocket).GET
/ws/web3okx/mark-price/{instId} [WS] — Live mark-price push for one derivative instrument (WebSocket).GET
/ws/web3okx/status [WS] — Live OKX system-maintenance status push (WebSocket).GET
/ws/web3okx/liquidation-orders/{instType} [WS] — Live liquidation-order push for one instrument family (WebSocket).GET
/ws/web3okx/dex/candle/{chainId}/{address}/{bar} [WS] — Live DEX token OHLCV candlestick push (1s to 1M) via WebSocket.GET
/ws/web3okx/dex/token/{chainId}/{address} [WS] — Live DEX token price, market cap, liquidity, holders and volume push via WebSocket.GET
/ws/web3okx/dex/trades/{chainId}/{address} [WS] — Live DEX token swap trade feed (v1) via WebSocket.GET
/ws/web3okx/dex/trades-v2/{chainId}/{address} [WS] — Live DEX token swap trade feed (v2) via WebSocket.GET
/ws/web3okx/dex/kline-bs/{chainId}/{address}/{bar} [WS] — Live DEX chart dev and KOL buy/sell marker stream via WebSocket.content
dex_public
holder_intelligence
market
GET
/priapi/v1/dx/market/v2/trading-history/statistics — Wallet trading-history statistics for a tokenGET
/priapi/v5/dex/token/market/dex-token-hlc-candles — DEX token OHLCV candlesticks across supported chains and intervals (1s to 1M)GET
/priapi/v5/dex/token/market/history-dex-token-hlc-candles — Historical DEX token OHLCV candlesticks for deep backfill paginationGET
/priapi/v5/dex/token/market/stock-candles — Tokenized stock / RWA OHLCV candlesticks by ticker symbolGET
/priapi/v5/dex/token/market/history-stock-candles — Historical tokenized stock / RWA OHLCV candlesticks by ticker symbolGET
/priapi/v1/dx/market/v2/trading/kline-bs-point — Developer and KOL buy/sell chart overlay points for a DEX tokenmarket_catalog
GET
/priapi/v1/dx/market/v2/pool-liquidity/change-history/filter-config — Pool liquidity history filter configurationGET
/priapi/v1/dx/market/v3/advanced/ranking/web/dropdown/config — Advanced ranking dropdown configurationswap_quotes
GET
/priapi/v1/dx/trade/multi/v2/checkAndGetTokenInfo — Public token availability and tax informationv5_market
wallet_profile
GET
/priapi/v1/dx/market/v2/pnl/wallet-profile/support-chains — Chain catalogue for wallet profile feature; includes native-balance support flag per chainGET
/priapi/v1/dx/market/v2/pnl/wallet-profile/all-chains — Chains where an address is indexed by OKX; first step in the two-call native-balance workflowGET
/priapi/v1/dx/market/v2/pnl/wallet-profile/chain-pnl — OKX DEX PnL per indexed chain for an addressGET
/priapi/v1/dx/market/v2/pnl/wallet-profile/query/address/info — OKX DEX trade list for an address on a single chain; empty for most addressesGET
/priapi/v1/dx/market/v2/pnl/wallet-profile/summary — Native token balance (amount and USD value) plus DEX PnL summary for an address on one chain