Solana DEX API — Swaps, OHLCV & Wallet Data
Query all DEX swaps for any token or wallet on Solana. Get 1-minute OHLCV candles, backtest copy trading strategies, track new Raydium and Pump.fun token launches, and monitor wallet activity via GraphQL.

Query all DEX swaps for any token or wallet on Solana. Get 1-minute OHLCV candles, backtest copy trading strategies, track new Raydium and Pump.fun token launches, and monitor wallet activity via GraphQL.

Use the Bitquery GraphQL API with the DEXTrades query, filtering by the token mint address and the Solana network. You can paginate through historical trades or use a GraphQL subscription for real-time updates.
Use the OHLCV API with a 60-second interval and the token's mint address. You can also export the data to CSV or plug it directly into a TradingView custom datafeed.
Yes. Query DEXTrades filtered by the buyer or seller wallet address on Solana. This gives you the full trade history across all DEXs — ideal for backtesting or replicating a wallet's strategy.
Subscribe to new token creation events via GraphQL subscription or use the REST API to query tokens created after a specific date. You can filter by program ID (Raydium, Pump.fun) and set a market cap threshold.
Bitquery supports all major Solana DEXs including Raydium, Jupiter, Orca, Pump.fun, PumpSwap, Phoenix, Meteora, Lifinity, and more — with new protocols added regularly.
or get in touch
TelegramAlso explore: Pump.fun APISolana gRPC StreamsWebSocket Streams
Discover how algorithmic traders leverage real-time slippage data from Bitquery to dynamically adjust DEX router slippage.
Build an alpha with real-time slippage data from Bitquery's DEXPool stream by dynamically calculating slippage tolerance instead of guessing.
Solana historical data queries require chaining multiple RPC calls across thousands of requests—slow, costly, and complex. Learn how to build bubble maps with zero RPC calls using Bitquery's indexed historical data APIs.