WebSockets
WebSocket playground
Explore recorded channel messages and playback controls. Protocol reference →
Stream Mode
Channel Focus
state: idle · emitted 0
Subscription Payload
{"action": "subscribe","channel": "prices","market_ids": ["KXCORPTAXCUT-27JAN01-21","KXBILLS-FISA"],"group_ids": [6149,17542]}
Connection Flowterminal
$ open websocket wss://ws.prediction.com?api_key=pmx_your_api_key_here
← connected
$ send {"action":"subscribe","channel":"prices","market_ids":["KXCORPTAXCUT-27JAN01-21","KXBILLS-FISA"],"group_ids":[6149,17542]}
← subscribed
← streaming...
Stream Output
0Start stream to load websocket messages in this panel.