SOLANA DEX API · GraphQL · WebSocket · Kafka · gRPC

Solana DEX API for swaps, OHLCV, wallet trades & new token launches

Query every DEX swap for any token or wallet on Solana — Raydium, Orca, Meteora, Jupiter and Pump.fun — without running a node or RPC. We've decoded every swap, pool and launch, so 1-minute OHLCV candles, wallet trade history and new pairs are one query away, or a live stream.

Powering Solana data forDexTools logo1inch logoNansen logo3Commas logo
Solana.DEXTradesEvery Solana swap — Raydium, Orca, Meteora, Jupiter & Pump.fun, decoded with USD price.Docs
solana_dex_trades.graphqlCopy
subscription {
  Solana {
    DEXTrades(
      where: {Trade: {Dex:
        {ProtocolName: {is: "raydium"}}}}
    ) {
      Trade {
        Buy { Price Amount
          Currency { Symbol } }
        Dex { ProtocolName }
      }
    }
  }
}
responseSTREAMING
Pair · DEXSidePriceAmount
200 · gRPC · 78msstreaming.bitquery.io
Trusted by 40,000+ developers & teams like
Binance logoChainalysis logoTRM Labs logoNansen logo0x logoCoinMarketCap logoCoin Metrics logoBybit logoLukka logo3Commas logoNexo logoTether logo
40+
Chains supported
1PB+
Blockchain data indexed
10B+
API calls / month
99.9%
Production uptime
01
Forget the RPC

Solana DEX data wasn't built for the questions you're asking.

Reading Solana swaps yourself means a validator or paid RPC, an inner-instruction decoder per program and a parser you babysit every time Raydium or Pump.fun ships a change — and you still re-aggregate candles by hand. We did the indexing, so you get answers in one query.

What you're doing
Build it yourself
Bitquery Solana DEX API
A token's full trade history
Crawl inner instructions per block
A single GraphQL query
Raydium, Orca & Meteora swaps
A decoder per program version
Decoded for every venue
Jupiter routed swaps
Untangle the route by hand
Resolved to the real venue
New launches & first liquidity
Poll programs and decode
Streamed the moment they trade
1-minute OHLCV candles
Aggregate trades yourself
Candles at any interval, built in
USD price on every swap
Join an external price feed
Priced at the row, on-chain
02
Delivery channels

Four ways to get Solana DEX data — one schema underneath.

Design your query once in GraphQL, then read the exact same fields as GraphQL streams, Kafka, gRPC or a bulk cloud export. Pick the channel that fits your latency and volume — no second pipeline.

03
Solana DEX coverage

Every major Solana venue, decoded into one feed.

A single Solana.DEXTrades query spans every Solana DEX. Filter by token mint, pair, pool, wallet or protocol — and aggregate to OHLCV candles, liquidity events, top traders or pool volume.

VenueTypeWhat you get
RdRaydiumAMM · CLMMSolana's largest AMM — swaps, pools and new pair launches
OrOrcaWhirlpools · CLMMConcentrated-liquidity swaps and pool events on Solana
MeMeteoraDLMM · DynamicDynamic and DLMM pool trades with full liquidity tracking
PfPump.funBonding curveToken launches, bonding-curve trades and migration events
PsPumpSwapAMMPost-migration Pump.fun swaps decoded into the same schema
JuJupiterAggregatorRouted Solana swaps decoded down to the underlying venue
+ Phoenix, Lifinity, Openbook & 100+ Solana DEXs, all decoded
05
Build it this weekend

The Solana products people ship on us.

Each one is a filter on the same indexed data — subscribe over Kafka or gRPC for bots, or query GraphQL for dashboards.

gRPC · Kafka

Snipe new Solana launches

Stream the first trade and first liquidity on Raydium, Pump.fun or PumpSwap the moment a token goes live, filtered by creator or market cap.

subscribe DEXTrades
  where: { Trade: { Dex: { ProtocolName: "pump" } } }
Read the docs
GraphQL

Wallet history & copy trading

Pull a wallet's full Solana DEX trade history with a USD price on every swap to backtest copy-trading strategies and compute realized PnL.

DEXTrades
  where: { Transaction: { Signer: "<wallet>" } }
Read the docs
GraphQL

Build 1-minute OHLCV charts

Aggregate raw Solana trades into candlesticks per token mint and interval — the feed behind TradingView-style charts.

DEXTradeByTokens {
  open: PriceInUSD # 1m / 5m / 1h
}
Read the docs

What teams say about our data

"We did a thorough search of the market for the best onchain data. Bitquery came out on top — and now powers all live prices across Nansen. We don't think of them as a vendor. They're a partner."

A
Alexander Karsten
Nansen
100+
Solana DEX protocols decoded into one schema
<100ms
Kafka & gRPC stream latency
1m·OHLCV
Candles for any Solana token mint

Bitquery does the hard work of parsing blockchain transaction data into a usable form so that we don't have to. We use their interface to diagnose issues with complex transactions and their analytics as a starting point for our own.

0x Protocol logo
Alex Knaggs
0x Protocol

They proved they had the technology to deliver sophisticated data solutions. We extended our support through the Binance X fellowship — building an open-source library of visualization widgets on their blockchain data.

Director, Binance X logo
Flora Sun
Director, Binance X

The complex raw data is available at different levels of detail and from different viewpoints — whether we need simple aggregated transfers or parameters for failed contract calls. The support is responsive, friendly and quick.

Backend Developer, Blockpit logo
Jan Dreske
Backend Developer, Blockpit

Partnering with Bitquery has been highly cost-effective — leveraging their established infrastructure rather than building our own let us rapidly expand our blockchain support and reach a much broader segment of on-chain users.

Co-Founder, Syla logo
Nick Christie
Co-Founder, Syla

Bitquery's products are very intuitive and easy to use. We currently use their products to obtain DEX-related trading and liquidity information, which saves us the manpower and tedious technical details required to develop our own system. Their excellent technical team deserves special praise; they provide near-24/7 support and resolve issues quickly. I greatly appreciate their products and work ethic.

Ourbit logo
Data Team
Ourbit

Bitquery provides the infrastructure we rely on every day. Fast, reliable, and comprehensive across the chains that matter to our business.

Webacy
Webacy
webacy.com
06
Pricing

Start free. Scale when you ship.

Query every blockchain on every plan — no chain is paywalled. Move to commercial when you need volume, SLAs and bulk datashares.

Developer
$0 / month
Free plan for developers or small projects.
  • All blockchains, all plans
  • 10 requests / minute
  • 2 streams for testing
  • GraphQL IDE access
Get started free
Most popular
Commercial
Custom
Tailored solutions for business and enterprise.
  • Scalable calls, no throttling
  • SQL, Cloud, Kafka & more
  • 24/7 engineering access
  • Dedicated onboarding & SLA
Talk to sales
Datashares
Custom
Bulk historical & real-time data on your cloud.
  • Snowflake, BigQuery, S3, Azure
  • No setup or infrastructure
  • Structured for AI agents & MCP
  • Audit data for custodians
Talk to sales
FAQ

Solana DEX data questions, answered.

How do I get all swaps for a token address on Solana?
Query the Solana.DEXTrades dataset through our GraphQL API, filtering by the token mint address. Sign up at ide.bitquery.io for an API key, paginate historical trades, or subscribe over WebSocket, Kafka or gRPC for real-time updates across Raydium, Orca, Meteora, Jupiter and Pump.fun.
Which Solana DEXs are supported?
100+ Solana DEX protocols — including Raydium, Orca, Meteora, Jupiter, Pump.fun, PumpSwap, Phoenix and Lifinity — all decoded into one schema, with new programs added regularly.
How do I get 1-minute OHLCV candles for a Solana token?
Use Solana.DEXTradeByTokenswith a 1-minute interval and the token's mint address to get open-high-low-close-volume candles, plus a USD price on every swap. Export to CSV or feed a TradingView custom datafeed. For pre-aggregated prices, see the Token Price API.
Can I get all trades for a wallet for copy trading?
Yes. Query Solana.DEXTradesfiltered by the signer wallet to get a wallet's full trade history across every Solana DEX — ideal for backtesting or replicating a wallet's strategy and computing realized PnL.
How do I monitor new launches on Raydium and Pump.fun?
Subscribe to new-pair and Pump.fun launch events over WebSocket, Kafka or gRPC to catch a token the moment it goes live, then follow bonding-curve trades and migrations to Raydium or PumpSwap on the same schema — ideal for snipers and scanners.
Can I stream Solana DEX trades in real time?
Yes. Subscribe over WebSocket, Kafka or gRPC with sub-100ms latency for new trades, new pairs, pool events and liquidity changes — built for Solana trading bots, scanners and alerting.

Ship your Solana product this week.

Free API key, every Solana DEX unlocked, no node to run. Query historical swaps and stream live trades in your first call.

No credit card · 10K free points for your first month · Raydium, Orca, Meteora, Jupiter & Pump.fun included