Stream
Token Trades
Real-time swaps. Filter by token, exchange, side, and min size.
Channel: trades · Event type: swap
See also: REST equivalent
Subscribe
Send this message after connecting to wss://api.anaxer.com/v1/stream.
{
"subscribe": "trades",
"filters": {
"mint": "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm",
"exchange": "pumpfun",
"side": "buy",
"minSol": 0.5
}
}Filters
Optional filters narrow events before they are delivered. The same filters apply to the REST endpoint.
| Name | Type | Description |
|---|---|---|
| mint | string | Filter to a single token mint address. Example: EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm |
| exchange | string | Filter by exchange. Currently supports pumpfun. Example: pumpfun |
| side | string | Filter by trade direction. Example: buy |
| minSol | number | Minimum trade size in SOL. Example: 0.5 |
Event payload
Each event is a flat JSON object with a predictable shape.
{
"type": "swap",
"exchange": "pumpfun",
"wallet": "5FHwkW5742VKq9W8pN3mL7jR2sT6cX4bY1zD8gH9K2pQnM",
"trade_value": {
"sol": "1.250",
"usd": "187.50"
},
"swap": {
"in": {
"tokenAddress": "So11111111111111111111111111111111111111112",
"symbol": "SOL",
"tokenAmount": "1.250"
},
"out": {
"tokenAddress": "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm",
"symbol": "WIF",
"tokenAmount": "842110.0"
}
},
"slot": 309812501,
"timestamp": "2026-06-27T07:21:09Z"
}