Skip to main content
Room ID: holders
Endpoint: wss://staging-api.struct.to/ws
Live first-page holders for a token. You get a snapshot, then row updates as balances change. reset=true replaces your list; otherwise apply upserts by wallet and drop removed_wallets. With pool_id, only that pool’s trades update the list. Rows carry pnl only when include_pnl is true, and it is always the PnL for the selected timeframe; PnL values may update separately from trade events. token_balance_usd is revalued at the token’s latest traded USD price. Values that are not known yet (a new holder’s native balance, a USD value with no price) are omitted rather than sent as 0.

Migrations

A pool_id subscription follows migrations. When the pool migrates (for example a bonding curve graduating to an AMM pool), the list moves to the destination pool for the same token and options automatically; later updates carry the new pool_id. This room sends no migration event: watch the address room (an address_update for the destination pool with migrated_from_pool_id, dirty kind pool) to be notified. Your list is kept: the next update arrives as a normal delta, or as the destination list’s snapshot (reset=true) when one already existed. A pool that had already migrated when you subscribe is followed immediately: the subscribe response’s pool_id is the destination and migrations lists each hop. Subscriptions without pool_id are unaffected.

Subscribe

Requires token_address and an explicit chain selector.

Filters

Provide either chain or chain_id. Do not send both.

Example

Events

Every subscribe is answered with holders_subscribe_response (keys are always long). Here the subscribed pool had already migrated:
The room emits a holders update. Pick Response (Long) or Response (Short) in the right-hand panel. WebSocket defaults to short. See long and short field names.
Discard deltas with an older seq.
Last modified on October 15, 2026