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 WebSocket or gRPC on self-service (fixed-cost Kafka on Enterprise) 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
<300ms
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

Pricing

Start free. Scale when you ship.

Self-service plans cover 9 core chains with flat-rate add-ons — no surprise invoices. Every paid plan starts with a 7-day free trial.

Personal

For side projects, learning & testing. Personal use only — no commercial use.

$39/ month

billed annually ($468/yr) · save 20%

+ Add-on points anytime · $40 / 1M
  • 100k API points / mo ≈ 20k calls
  • 30 req/min · 3 simultaneous
  • Full GraphQL & REST schema
  • Real-time data · 9 core chains 30-day trades · 4–8h on-chain
  • API only — no streams
  • Community support
Start free trial

Pro

For trading bots, alerts & dashboards on live DEX and price data.

$79/ month

billed annually ($948/yr) · save 20%

+ Flat-rate add-ons — points, minutes & GB
  • 1M API points / mo ≈ 200k calls
  • 90 req/min · 6 simultaneous
  • 100k stream-minutes + 5 GB
  • 100 concurrent streams
  • Trading-data streams live DEX & prices
  • Commercial-use license
  • Real-time data · 9 core chains 30-day trades · 4–8h on-chain
  • Community + Telegram support
Start free trial
Most popular

Scale

For production real-time apps — every stream, scale on demand.

$239/ month

billed annually ($2,868/yr) · save 20%

+ Flat-rate add-ons — points, minutes & GB
  • 5M API points / mo ≈ 1M calls
  • 240 req/min · 12 simultaneous
  • 2M stream-minutes + 50 GB
  • 1,000 concurrent streams
  • All streams onchain + mempool
  • Commercial-use license
  • Dedicated Slack support
Choose Scale →

Enterprise

Full history, unlimited streams & bulk delivery at scale.

Custom

flat platform fee — no metering

◆ Flat platform fee — modelled, not metered
  • Complete history · 40+ chains
  • Unlimited WebSocket streaming no stream-min or GB limit
  • Custom points & rate limits
  • Kafka fixed-cost · S3 bulk export
  • Coinpath® money flow
  • SLA · SSO · dedicated support
Talk to sales

Flat-rate add-ons on every open plan: $40 / 1M points · $20 / 100k stream-minutes · $8 / GB (bought yearly · save 20%) — same price at any volume, billed only for what you add.

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 account.bitquery.io for an API key, paginate historical trades, or subscribe over WebSocket or gRPC on self-service (fixed-cost Kafka on Enterprise) 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 or gRPC on self-service (fixed-cost Kafka on Enterprise) 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 or gRPC on self-service (fixed-cost Kafka on Enterprise) with sub-300ms 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.

7-day free trial — every Solana DEX unlocked, no node to run. Query historical swaps and stream live trades in your first call.

7-day free trial · Plans from $49/mo · Raydium, Orca, Meteora, Jupiter & Pump.fun included