PumpSwap API: Real-Time Solana Trade, Pool & Token Data
A PumpSwap API provides programmatic access to real-time and historical PumpSwap data on Solana, including swaps, pools, liquidity events, token activity, and Pump.fun-to-PumpSwap migrations. PumpSwap does not operate a hosted public data API; developers typically access its on-chain program through RPC, WebSocket, gRPC, or third-party indexed data APIs. NoLimitNodes provides a parsed PumpSwap API over gRPC, turning raw Solana instructions into structured events that can be consumed by trading bots, analytics platforms, and applications
On this page +
Quick answer: What is the PumpSwap API?
The PumpSwap API is a programmatic interface for accessing PumpSwap data on Solana. PumpSwap itself does not provide a hosted public data API. Developers can read PumpSwap on-chain activity through Solana RPC/WebSocket/gRPC infrastructure or use an indexed third-party API. NoLimitNodes provides parsed real-time PumpSwap trade, pool, liquidity, and migration data through gRPC.
Does PumpSwap have an official API?
PumpSwap does not provide a hosted public data API. PumpSwap activity is recorded on Solana, so developers can access the underlying data through Solana RPC, WebSocket, gRPC, or third-party indexed APIs.
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 |
|---|---|---|---|
| buy | instruction | PumpSwap AMM buy. Decoded with token mint, base / quote amounts, price, and tx fee. | Very high |
| sell | instruction | PumpSwap AMM sell. Same shape as buy with sign reversed; surfaces exit liquidity per memecoin. | Very high |
| create_pool | instruction | New PumpSwap pool initialization. Includes both mints and the initial reserves seeded by the migration. | Medium |
| deposit | instruction | LP add-liquidity into PumpSwap. Useful for tracking which traders are providing post-graduation liquidity. | Medium |
| withdraw | instruction | LP remove-liquidity. Pairs with deposit to compute realized fees per LP wallet. | Medium |
| migrate | instruction | Pump.fun → PumpSwap migration, emitted on the Pump.fun program when a token bonds. Triggers the create_pool that follows. | Medium |
| set_pool_authority | instruction | Pool authority transfer. Rare but useful for forensics and pool ownership audits. | Low |
| collect_protocol_fees | instruction | Protocol fee withdrawal, surfaces protocol-level revenue events. | Low |
PumpSwap streaming performance
last reviewed 2026-08-26
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 | Real-time 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. Real-time delivery 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
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.