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.
- PumpSwap AMMpAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA, AMM program where bonding-curve graduates settle (mainnet AND devnet)
- Pump.fun bonding curve6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P, Pump.fun launchpad, emits the migrate instruction that hands tokens off to PumpSwap
Try it live: PumpSwap streams
decoded solana events over grpc · click Run to see live data
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/SubscribeSee 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
| Event | Type | Description | Frequency | Latency |
|---|---|---|---|---|
| buy | instruction | PumpSwap AMM buy. Decoded with token mint, base / quote amounts, price, and tx fee. | Very high | 13ms |
| sell | instruction | PumpSwap AMM sell. Same shape as buy with sign reversed; surfaces exit liquidity per memecoin. | Very high | 13ms |
| create_pool | instruction | New PumpSwap pool initialization. Includes both mints and the initial reserves seeded by the migration. | Medium | 13ms |
| deposit | instruction | LP add-liquidity into PumpSwap. Useful for tracking which traders are providing post-graduation liquidity. | Medium | 13ms |
| withdraw | instruction | LP remove-liquidity. Pairs with deposit to compute realized fees per LP wallet. | Medium | 13ms |
| migrate | instruction | Pump.fun → PumpSwap migration, emitted on the Pump.fun program when a token bonds. Triggers the create_pool that follows. | Medium | 13ms |
| set_pool_authority | instruction | Pool authority transfer. Rare but useful for forensics and pool ownership audits. | Low | 13ms |
| collect_protocol_fees | instruction | Protocol fee withdrawal, surfaces protocol-level revenue events. | Low | 13ms |
PumpSwap streaming performance
last reviewed 2026-04-28
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.
| Provider | Pricing model | Strength | Weakness |
|---|---|---|---|
| PumpPortal | Per-message WebSocket | Easy WS API, low minimum | Cost spikes on memecoin days |
| Bitquery | Per-query GraphQL | Deep historical, JOINed views | GraphQL latency vs gRPC |
| NoLimitNodes | Flat | Sub-50ms gRPC, both programs in one feed | No 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
Related products
Pre-graduation memecoin lifecycle on the Pump.fun launchpad.
Backfill graduations and bonding curves for analytics and training data.
Some Pump.fun-style tokens migrate to Raydium CPMM via Raydium Launchpad, companion stream.
Browse every decoded instruction and event the PumpSwap program emits.
Real-time gRPC vs Bitquery GraphQL: latency, cost, and which one fits which workload.
18 curated topics across DEXes, lifecycle, and system events. The catalog hub.
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.