Skip to main content
Room ID: trader_token_pnl
Endpoint: wss://staging-api.struct.to/ws
Live realized PnL for a trader in a single token, per timeframe. Each message is the full row: counts, volumes, average prices, fees, realized PnL, and first/last trade times.

Subscribe

Match any of traders or tokens, capped at 500 combined.

Filters

Provide either chain or chain_id. Do not send both.

Example

Events

The room emits trader_token_pnl_update. Pick Response (Long) or Response (Short) in the right-hand panel. WebSocket defaults to short. See long and short field names.
Last modified on October 15, 2026