Skip to main content
Room ID: address
Endpoint: wss://staging-api.struct.to/ws
Live pool updates for one or more pools, across chains on one connection, same shape as GET /token/address. Each push is the full pool, sent whenever price, holders, supply, metadata, LP burn/lock, protocol data, or any other field changes. Subscribe with targets. Each target names a chain plus token_address and/or pool_id: Per connection you can follow 50 unique pools; extras come back in rejected. A token without a live pool is rejected.

Migrations

Pools follow migrations, and this room is how you are notified of them: no room sends a separate migration event. When a subscribed pool migrates (for example a bonding curve graduating to an AMM pool), the destination pool is added to your targets automatically, keeping the launched token’s perspective, and you promptly receive an address_update for the destination pool. Its pool_id is the new pool, it carries is_migration_pool, migrated_from_pool_id (the pool you subscribed to), migrated_from_protocol and migrated_at, and its dirty_kinds include pool, so "dirty_kinds": ["pool"] is enough to watch for migrations. Pools that had already migrated when you subscribe are followed immediately and listed in the response’s migrations. The original pool stays subscribed. The trades, price_metrics, holders and top_traders rooms follow migrations the same way, without an event; subscribe to this room to learn about them.

Price points

include_price_points defaults to false, as on GET /token/address: updates carry no price_points, and an update whose only change is the chart is not sent. Set it to true to receive the chart on every update (at most price_point_limit points, default 60, range 1–300); a chart change then counts as price.

Change filter

Every pool change is classified into field groups by comparing the new pool with the previous one. Pass dirty_kinds to receive an update only when one of the groups you picked changed; omit it (or send an empty list) to receive every change. Each address_update lists the groups that changed in dirty_kinds (short dk). With interval_ms above 0 it holds every group that changed since your previous update of that pool, so a change inside the interval is never skipped. A migration’s destination update counts as pool. updated_at belongs to no group. The first change seen for a pool counts as every group. For example, "dirty_kinds": ["metadata", "pool"] only hears about metadata, migration, supply, LP, tax, audit and dev changes, skipping price and volume ticks.

Subscribe

Every action is answered with address_subscribed: your full normalized targets (token-only targets with their chosen pool_id, plus pools added by migrations), interval_ms, include_timeframes, include_price_points, price_point_limit, dirty_kinds (all six when omitted), migrations and rejected entries with a reason.

Filters

Example

Events

Every action is answered with address_subscribed (keys are always long):
The room emits address_update. data matches GET /token/address. dirty_kinds (short dk) lists the field groups that changed; the other frame keys stay long in both field modes. price_points is present only with include_price_points. A migration arrives as an address_update for the destination pool with dirty_kinds including pool and migrated_from_pool_id set to the pool that migrated. Treat an update whose pool_id differs from a pool you subscribed to and whose migrated_from_pool_id is that pool as the migration: switch to the new pool_id; the row is the full pool, so nothing needs to be refetched. When is_migration_pool is true, use migrated_from_protocol for the displayed protocol name and icon when available; otherwise use protocol. Keep the current protocol and pool_id for pool operations. See displaying migrated pools. 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