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.

Solana DEX API — <span class="block lg:inline-block"><span class="bg-gradient-to-r from-gradient_left to-gradient_right background-text-clip text-4xl lg:text-5xl">Swaps, OHLCV & Wallet Data</span></span>
What You Can Query

All DEX Swaps

for Any Token Address

1-Minute OHLCV

Candles for Any Token

Wallet Trade History

for Copy Trading

New Token Launches

on Raydium & Pump.fun

Use Cases

Get All Swaps for a Token


  • Query every DEX swap for any token address on Solana — across Raydium, Jupiter, Orca, Pump.fun, and 100+ protocols. Filter by time range, wallet, or minimum volume.

Wallet Trade History & Copy Trading


  • Retrieve the complete trade history for any wallet on Solana DEXs. Backtest copy trading strategies by analyzing which tokens a wallet bought and sold over any time period.

New Token Launches on Raydium & Pump.fun


  • Get a real-time feed of all newly minted tokens on Raydium, Pump.fun, and PumpSwap. Filter by market cap threshold, creation date, or creator address.

OHLCV Candles for Any Solana Token


  • Fetch 1-minute, 5-minute, or hourly OHLCV candle data for any Solana token mint address. Export historical price data to CSV or feed directly into TradingView.
Data services

FAQ

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

Telegram

Query Solana DEX data in minutes — no infrastructure needed.

Explore Resources

Cover Image for Stop Accepting Default Slippage from Your DEX Router: How Algo Traders Use Real-Time Liquidity Data
Trading
DEX
Slippage
Algorithmic Trading
Liquidity

Stop Accepting Default Slippage from Your DEX Router: How Algo Traders Use Real-Time Liquidity Data

Discover how algorithmic traders leverage real-time slippage data from Bitquery to dynamically adjust DEX router slippage.

Cover Image for Using Real-Time Slippage Data to Trade Smart
Trading
DEX
Slippage
Alpha

Using Real-Time Slippage Data to Trade Smart

Build an alpha with real-time slippage data from Bitquery's DEXPool stream by dynamically calculating slippage tolerance instead of guessing.

Cover Image for Build Solana Bubble Maps with Bitquery: Historical Data with Zero RPC Calls
Solana
Data Visualization
Blockchain

Build Solana Bubble Maps with Bitquery: Historical Data with Zero RPC Calls

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.