Enhanced Stream

The PumpSwap API: real-time, parsed Solana memecoin trade and pool data

PumpSwap is where Pump.fun tokens land after they graduate, and at memecoin peaks it does five to fifteen million trade instructions a day. The current API market is two camps. PumpPortal sells per-message WebSocket subscriptions, which is predictable until a token rips and the bill multiplies. Bitquery sells GraphQL access, which is excellent for historical work but laggy for anything trade-adjacent. We do the third thing: parsed gRPC covering every PumpSwap buy, sell, and pool creation in one feed, plus the Pump.fun migrate that triggers each graduation. Both legs in the same transaction, both decoded, 13ms p50. Flat, no per-event meter.

Bonding-curve + AMMMigration trackingSub-50ms latencyFlat flat pricingNo per-message fees
On-chain programs

Try it live: PumpSwap streams

decoded solana events over grpc · click Run to see live data

PumpSwap AMM
1grpcurl -H "x-api-key: YOUR_API_KEY" \
2  -d '{"topic":"prod.mat.solana.program.swaps.pumpswap","format":"JSON"}' \
3  stream-1.nln.clr3.org:443 nln.stream.v1.StreamService/Subscribe
Live Output

See real data

Click Run to stream 5 live PumpSwap AMM messages

Pro: 2 streams $49/mo · Ultra: 20 streams $199/mo · pre-parsed, zero infra

The PumpSwap events you can stream

every decoded instruction across the AMM and bonding-curve programs

EventTypeDescriptionFrequencyLatency
buyinstructionPumpSwap AMM buy. Decoded with token mint, base / quote amounts, price, and tx fee.Very high13ms
sellinstructionPumpSwap AMM sell. Same shape as buy with sign reversed; surfaces exit liquidity per memecoin.Very high13ms
create_poolinstructionNew PumpSwap pool initialization. Includes both mints and the initial reserves seeded by the migration.Medium13ms
depositinstructionLP add-liquidity into PumpSwap. Useful for tracking which traders are providing post-graduation liquidity.Medium13ms
withdrawinstructionLP remove-liquidity. Pairs with deposit to compute realized fees per LP wallet.Medium13ms
migrateinstructionPump.fun → PumpSwap migration, emitted on the Pump.fun program when a token bonds. Triggers the create_pool that follows.Medium13ms
set_pool_authorityinstructionPool authority transfer. Rare but useful for forensics and pool ownership audits.Low13ms
collect_protocol_feesinstructionProtocol fee withdrawal, surfaces protocol-level revenue events.Low13ms

PumpSwap streaming performance

last reviewed 2026-04-28

Trade latency
13ms
p50 from slot landing to your socket; PumpSwap buy/sell over gRPC
Verified 2026-04-28
Daily PumpSwap trades
5-15M
Buy + sell instructions per day at peak memecoin cycles
Migrations per day
50-500
Pump.fun graduations into PumpSwap, depending on cycle
Stream uptime SLO
99.95%
Pro and Ultra plans, monthly rolling

PumpSwap vs the Pump.fun bonding curve

The Pump.fun memecoin pipeline has two stages and two on-chain programs. Stage one is the bonding curve: a deterministic price function where each buy moves the price up and each sell moves it down. The curve runs on the Pump.fun program at 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P. Every new memecoin starts here.

Stage two is PumpSwap: pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA, an AMM where graduated tokens settle once the bonding curve fills. When the curve completes, Pump.fun emits a migrate instruction; a matching PumpSwap pool gets initialized with the bonded SOL and tokens; from that point the token trades like any other pair.

For a sniper, the boundary between the two stages is the most interesting moment in a memecoin's life. Graduations historically trigger a price re-rating as liquidity becomes symmetric. For an analytics platform, the right mental model is to treat Pump.fun and PumpSwap as one pipeline, not two unrelated streams.

PumpSwap on chain: program ID, instructions, the migration event

PumpSwap exposes seven principal instructions: buy, sell, create_pool, deposit, withdraw, set_pool_authority, and collect_protocol_fees. Buy and sell carry the trader, mint, base/quote amounts, and a price snapshot. create_pool is what fires after a Pump.fun graduation.

The migrate instruction itself lives on the Pump.fun program, not on PumpSwap, because the bonding curve is what initiates the transfer. A typical graduation transaction contains the migrate instruction followed by the PumpSwap create_pool in the same transaction. Detecting a graduation in real time therefore means subscribing to both program IDs and joining instructions by transaction signature.

Our parsed stream collapses the two-program join into one typed Migration event per graduation: token mint, bonded SOL amount, new PumpSwap pool address, and the bonding-curve final state. Your downstream code handles one event shape instead of two.

PumpPortal, Bitquery, NoLimitNodes: pricing, latency, parsed depth

The PumpSwap data market has three distinct positions. Each one fits a different job. The difference between them shows up most sharply in cost predictability.

ProviderPricing modelStrengthWeakness
PumpPortalPer-message WebSocketEasy WS API, low minimumCost spikes on memecoin days
BitqueryPer-query GraphQLDeep historical, JOINed viewsGraphQL latency vs gRPC
NoLimitNodesFlatSub-50ms gRPC, both programs in one feedNo GraphQL surface (yet)

Pick based on whether your workload is reactive (bots, MEV, market making, which goes to us) or analytical (dashboards, leaderboards, research, which goes to Bitquery). Many teams use both. NLN for live, Bitquery for backfill. The two are complementary more than competitive.

Common PumpSwap API use cases

Sniper bots

Filter on the Pump.fun migrate + PumpSwap create_pool pair to catch graduations the moment they hit. The migration moment is historically a re-rating event. Bots that detect and act on it inside the same Jito bundle window capture meaningful edge.

Copy trading

Subscribe to the buy / sell stream filtered by trader wallet to replicate trades. Sub-50ms parsing means your follower trade lands in the slot after the leader's. Close enough to keep most of the alpha on volatile memecoin pairs.

Analytics & leaderboards

Aggregate buys and sells per token to build top-trader and top-token leaderboards. Combine with the Pump.fun bonding-curve stream for full lifecycle metrics: first buyer, top holder decay, post-graduation retention.

MEV & arb

PumpSwap pairs occasionally arb against Raydium CPMM, Meteora DLMM, and Jupiter routes during high-volume bursts. The live trade stream lets arb engines compute post-trade pool state inside the same slot.

Detecting Pump.fun → PumpSwap migrations the moment they happen

Migration detection is the highest-value moment in the Pump.fun → PumpSwap pipeline. The on-chain signal is precise. A single transaction contains a Pump.fun migrate instruction followed by a PumpSwap create_pool in the same instruction list. The migrate carries the token mint and the bonded SOL amount; create_pool surfaces the new AMM pool address.

To catch it live, subscribe to both program IDs in a single Yellowstone gRPC subscription using accountInclude with both addresses. When a transaction touches both programs in the same slot, route it through a migration handler. Our parsed stream does the join for you and emits a typed Migration event. Simplest possible interface for a sniper bot.

For backfill or post-hoc analytics, see the historical Pump.fun data product, which exposes every graduation since the program launched. The companion real-time Pump.fun stream covers the bonding-curve side of the lifecycle.

Frequently asked questions

The PumpSwap AMM program lives at pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA on Solana mainnet, the same address is used on devnet. The companion Pump.fun bonding-curve program is 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P. Subscribing to both program IDs gives you the full memecoin lifecycle: launch on Pump.fun, trades on the bonding curve, migration when the curve completes, then trades on PumpSwap.

Start streaming PumpSwap in under 60 seconds

Pro plan from $49/mo includes 2 parsed streams. Pump.fun + PumpSwap unified counts as one stream. No per-message fees.

Ready to get started?

Get your free API key and start building in under 30 seconds.

Talk to Sales