What is DEX API#
Introduction#
Welcome to the OKX DEX Developer Documentation.
OKX DEX is a decentralized exchange aggregator that supports both EVM-compatible and non-EVM chains such as Solana, Sui, and TON.
Powered by a sophisticated smart routing algorithm, OKX DEX API optimizes trades by identifying the best quotes and most efficient swap routes, enabling projects to access the best liquidity pools and secure optimal trading prices.
The OKX DEX API provides a robust suite of core functionalities, including single-chain spot trading, swap instructions, cross-chain bridges, transaction simulation and broadcasting, and real-time market data and on-chain analytics.
These features encompass the essential modules of decentralized trading systems, empowering developers to streamline their development process while reducing both time and costs.
This documentation is designed to help enterprises or developers build a wide array of Web3 trading services and applications, such as
- Swap apps
- Cross-chain solutions
- Market data websites
- Web3 wallets
- Trading bots
Why Choose OKX DEX API?#
Product Capabilities and Ecosystem Synergy#
- Supports 20+ popular chains and integrates 20+ cross-chain bridges and 500+ decentralized exchanges (DEXs) across Solana, EVM, SUI and more, delivering optimal pricing and deep liquidity.
- Supports emerging meme token launch platforms like Pump.fun, enabling real-time access to trending trading pairs, markets, and price data.
Technical Performance and Advantages#
- Average API response time: under 100 ms
- 99.9% SLA uptime
Developer Experience and Support#
- 24/7 technical support to assist you at every stage
- Access to an active and thriving developer community for collaboration and knowledge sharing
Security and Compliance#
- Essential smart contract codes are audited and open-sourced
- Enterprise-grade security measures aligned with OKX’s global compliance framework to ensure trust and reliability