Room IDs:
Endpoint:
Rate: 0.001 credits per message
polymarket_position_liquidity, polymarket_market_liquidity, polymarket_event_liquidity Endpoint:
wss://api.struct.to/ws Rate: 0.001 credits per message
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 anothersubscribe message, and stop it with action: "unsubscribe_all".
Filters
Example
Response
All three rooms acknowledge with the sameliquidity_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 carriesliquidity_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.