Prediction Hunt/ API
WebSockets / Playground

WebSocket Playground

Explore live-style websocket traffic through an interactive timeline built from production-shaped payloads.

Overview

This page provides an interactive websocket stream experience with production-shaped channel messages and playback controls.

For protocol and channel references, see WebSocket Overview and the individual channel docs.

Playground

Interactive stream
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.predictionhunt.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
0
Start stream to load websocket messages in this panel.