Query DEX trading data including recent trades by token, pool, or wallet.
DEX API Overview
The DEX API provides access to on-chain trading data from decentralized exchanges. Query recent trades, filter by token, liquidity pool, or wallet, and paginate through historical activity.
Base Path
/dex/v1
Endpoints
| Endpoint | Description |
|---|---|
GET /{network}/trades | Query recent DEX trades filtered by token, pool, or signer wallet |
Endpoint Details
- DEX Trades -- retrieve trade history with flexible filtering. Supports filtering by token address (resolves all pools automatically), pool address, or signer wallet. Results are cursor-paginated and sortable by timestamp.
Network Support
| Network | Status |
|---|---|
Solana (sol) | Supported |
Sui (sui) | Supported |
Real-Time Streaming
For live trade events as they happen, use the DEX Trades WebSocket Stream instead. The WebSocket stream supports the same multi-address filtering -- subscribe with a token mint, pool address, or use the firehose for all trades on a network.