Skip to content

WebSocket

The WebSocket API streams real-time Solana DEX transactions directly to your application. Get instant notifications for token launches, swaps, migrations, and liquidity events—filtered exactly how you need them.

  • Real-time data: Stream directly from Solana blockchain nodes
  • Server-side filtering: Only receive transactions matching your criteria
  • Flexible filters: Track multiple tokens, wallets, or event types at once
PlatformEvents
Pump FunToken launches, trades, migrations
Pump SwapPool creation, trades, liquidity deposits/withdrawals

Filters use array fields with simple logic:

  • AND between fields — must match all specified fields
  • OR within arrays — matches any value in the array
{
"platform": ["pump_fun", "pump_swap"],
"eventType": ["trade"],
"mint": ["TokenA...", "TokenB..."]
}

This matches: trades on either platform involving TokenA or TokenB.

See Subscribe for detailed examples.

FieldDescription
platformDEX platform(s) — required
eventTypeEvent type(s): trade, create, migrate, liquidity
mintToken mint address(es)
poolPool address(es) — Pump Swap only
userWallet address(es)
  • API key from your beta access