
Okx Dex Market
Pulls real-time token prices, OHLC candlestick data, and wallet PnL analytics from OKX's on-chain APIs. Handles the usual pain points like chain name resolution, token address lookup, and proper decimal formatting. The portfolio commands are solid for tracking DEX trade history and realized/unrealized gains across supported chains. Watch out for geo-restrictions (UK users get blocked from DEX endpoints) and some quirks like Solana requiring wrapped SOL addresses for price queries. Good for building trading dashboards or wallet analytics without wrestling with multiple DEX APIs yourself.
- skills.sh installs
- 21.4K
- GitHub stars
- 347
- last updated
- Aug 21, 2026
Install
$ npx -y skills add okx/onchainos-skills --skill okx-dex-market --agent claude-codeInstalls into .claude/skills of the current project.
Files
Onchain OS DEX Data
Module Description
Query read-only DEX token, market, signal, social, trenches, and WebSocket data. Route writes and protocol-specific actions to the owning skill before executing a DEX command.
Preflight
Preflight checks: At the start of each thread, complete the checks in ../okx-agentic-wallet/_shared/preflight.md. If missing, read _shared/preflight.md.
Intent Routing
- Named-protocol gate: if a supported DApp is the subject of an operation or protocol-specific analytics request—including APY, TVL, volume, positions, history, or a timeframe—stop and invoke
okx-dapp-discovery. Polymarket and supported-asset up/down phrases for BTC/ETH/SOL/XRP/BNB/DOGE/HYPE also route there. Example: "BTC 5-minute up/down market" routes tookx-dapp-discovery, not kline or price. - Trenches write gate: buy/sell/snipe/ape verbs, including direct translations and Chinese slang, aimed at a pump.fun-style token are write operations and route to
okx-dapp-discovery. Analytical bundle/sniper detection requests remain in Trenches; apply the detailed rule in trenches.md.
Sponsors
Details
More from okx/onchainos-skills
All 32- Okx Agentic Wallet19.7K
- Okx Dapp Discovery16.7K
- Okx Agent Payments Protocol15.9K
- Okx Guide12.7K
- Okx Ai12.1K
- Okx Defi12K
- Okx Growth Competition10.9K
- Okx Dex Token9.7K
- Okx Wallet Portfolio9K
- Okx Dex Swap8.9K
- Okx Onchain Gateway8.8K
- Okx Dex Signal7.6K
- Okx Dex Trenches7.5K
- Okx Security6.5K
- Okx Audit Log6.4K
- Okx Defi Portfolio6.3K
- Okx Defi Invest6.3K
- Okx Dex Ws5.8K
- Okx X402 Payment4.4K
- Okx Dex Bridge4K
- Okx Dex Social3.3K
- Okx Dex Strategy2.9K
- Okx How To Play2.9K
- Okx Agent Identity2.3K