Skip to main content
Room ID: market_movement
Endpoint: wss://staging-api.struct.to/ws
Select one or more chains to follow trading activity. Each chain entry includes its chain name and chain ID. The daily-average chart includes all four windows regardless of the selected timeframe.

Subscribe

Choose one or more chains, a timeframe and an update interval.

Filters

Provide chain, chain_id, chains, and/or chain_ids. Selections are combined and deduplicated.

Example

Events

The room emits a full market_movement_update after subscribing and whenever the result changes, at the selected interval. Unchanged snapshots are not repeated. Its data matches the Market Movement HTTP response. Replace your previous data with each update. Unavailable chains are omitted; unavailable comparisons are null. Each connection has one selection. Another subscription replaces it. An invalid request preserves the previous selection and reports an error. Send action: "unsubscribe_all" to stop. After reconnecting, join and subscribe again. Updates cost 0.002 credits per message.

Subscription acknowledgement

Unsubscribe

Last modified on September 27, 2026