Skip to main content
Room ID: pulse
Endpoint: wss://staging-api.struct.to/ws
Event: pulse_frame
Frames default to short field names. Pass x-field-names: long or ?fields=long on the connection to receive full names. The complete example below has Response (Long) and Response (Short). See long and short field names. Pulse accepts only new, migration and migrated modes; the default is new. Each view has independent filters and fixed ordering: Use is_migration_pool to identify migrated pools and migrated_at for their migration age. created_at is the pool creation time; token_created_at is the listed token creation time. All three use Unix milliseconds. Protocol filters can match its current protocol or the protocol it migrated from. Custom sorting parameters are rejected. Use filters.timeframe to select 1m, 5m, 30m, 1h, 6h or 24h (default). This selects the metrics window without changing pool order. Use chain_ids to combine results from multiple chains.

Join and subscribe

Connect with API key or JWT authentication, then join:
Wait for room_joined before sending the subscription. Include chains in the subscription even if supplied when joining. Joining alone does not start updates.
The first pulse_frame has reset: true. Its columns acknowledge your subscriptions and contain the complete ordered pool IDs for each view. Subsequent frames contain changed columns, rows, and chart points. One consecutive sequence per connection and room covers all columns, rows, and charts in the frame. Apply a whole frame before rendering. Frames are sent directly, without an HTTP success/data envelope. For each non-reset frame, require the previous sequence plus one. If a frame is missing or a patch cannot be applied, send {"action":"resync"} as a room message. Keep the previous complete display and ignore incremental frames until a frame with reset: true replaces the saved state. Save the new sequence only after the complete frame has been applied. With include_price_points: true, each row carries its chart as pp: [{t, v}], with t in Unix milliseconds and v the USD market cap, oldest first. Charts contain only available candle data, so pp can be absent or empty until candles arrive. Charts include recent price points, sampled to at most 300 real trade points. New pools may have fewer points. Older points expire, and historical points can be corrected. Chart changes arrive as ordinary row updates: a patch sets pp to the complete new list, so replace it rather than merging.

Change one view

Resubscribe with the same name and the complete desired settings. Other names stay active. This example keeps newest-first ordering and filters by one-hour volume:
The returned column has a new view_id. A rejected replacement leaves the previous subscription active. There is no separate pulse_subscribed event.

Pause and unpause

Pause holds the selected pools and their order while row values and charts remain live. Migrations still remove pools from New/Migration and can add the corresponding pools to a paused Migrated view.
Send action: "unpause" with the same names to return to the latest rankings. Use name to control one view. The next column update reports paused and a new view_id.

Stop updates

Remove one view by name:
The next frame lists the removed name in removed_columns. To remove every view in this room:
Leaving the room or disconnecting also ends its subscriptions. After reconnecting, join and subscribe again, then accept the new reset frame.

Complete subscription and reset example

These are complete fictional Pulse payloads. Every supported request field and filter has a value. Responses include all common row fields and all six metric windows. Optional fields can be absent in real responses. The example pool has migrated, so its migration fields are populated. Both named views inherit every top-level option. They contain the same example pool, which appears once in rows, with its chart as pp. price_point_limit defaults to 60 and accepts 1–300. When a pool appears in several views in the same room, its row uses the highest requested limit. All filters are combined; choose the filters your application needs instead of requiring every example condition. The chain selectors deliberately agree. Usually chain_ids is enough. Each metric bound shows all four comparison operators; you can supply only the bounds you need. Pulse fixes ordering by mode. filters.timeframe selects the 5m filter window here; include_timeframes explicitly requests all six returned windows. Unsuffixed bounds match their 5m counterparts. Download all example payloads.

Subscribe with every field

Full reset response

The right-hand panel has Response (Long) and Response (Short). WebSocket defaults to short. See long and short field names.

Pool and token timestamps

Pool responses distinguish three timestamps: These fields use Unix milliseconds. Unknown dates are omitted. Token creation is never inferred from a pool creation or migration. The same token can have multiple pools with different creation and migration times. token_created_at replaces the duplicate pool_created_at field. Clients using short fields should read tca for token creation and c for pool creation; the old root pc field is removed. Nested pc fields used for price change or protocol configuration keep their existing meaning.
Last modified on September 27, 2026