Skip to main content
Room IDs: polymarket_position_liquidity, polymarket_market_liquidity, polymarket_event_liquidity
Endpoint: wss://api.struct.to/ws
Rate: 0.001 credits per message
Stream real-time USD order-book liquidity at three granularities. Each room pushes an update whenever the relevant liquidity changes. All three rooms share the same subscribe flow, acknowledgement shape, and event fields. Liquidity is reported in USD as liquidity_usd, and liquidity_updated_at is a Unix-millisecond timestamp.

Subscribe

Filters are optional. Omit the identifier array (or send an empty one) to receive every update for that granularity (a firehose). When provided, each room accepts up to 500 identifiers. Update a subscription at any time by sending another subscribe message, and stop it with action: "unsubscribe_all".

Filters

Example

Response

All three rooms acknowledge with the same liquidity_stream_subscribe_response envelope. data.ids echoes the accepted filter values (empty for a firehose subscription), and data.rejected lists any identifiers that failed validation.

Events

Each room emits a single update object (not a batch) whenever liquidity changes. Every event carries liquidity_usd (current USD order-book liquidity) and liquidity_updated_at (Unix milliseconds).

position_liquidity_update

Latest USD liquidity for one outcome token, from polymarket_position_liquidity.

market_liquidity_update

Total USD liquidity for one market, summed across its outcome tokens, from polymarket_market_liquidity.

event_liquidity_update

Total USD liquidity for one event, summed across its markets, from polymarket_event_liquidity.
Last modified on July 13, 2026