Skip to main content
Room ID: polymarket_order_book
Endpoint: wss://api.struct.to/ws
Rate: 0.001 credits per message
Stream CLOB order book snapshots for specific markets or outcome positions. At least one filter is required. The combined total of condition_ids and position_ids must not exceed 500.

Subscribe

At least one of condition_ids or position_ids is required. Without any filters, the room will not emit events. You can combine both filters to narrow the stream.

Filters

Example

Response

Events

order_book_update

Each entry in bids and asks is a price level object: bids are sorted best-first (highest price first); asks are sorted best-first (lowest price first).

order_book_batch

In firehose mode (subscribe_all: true), snapshots are conflated into order_book_batch envelopes emitted every 50ms instead of a message per book change. count is the number of snapshots in the batch, and each entry in data has the same shape as the order_book_update data object.
Last modified on July 13, 2026