Messages
{
"away_team": "example",
"elapsed": "example",
"ended": true,
"finished_timestamp": "2026-01-01T00:00:00Z",
"game_id": 0,
"home_team": "example",
"league_abbreviation": "example",
"live": true,
"period": "example",
"score": "example",
"slug": "example",
"status": "example",
"turn": "example"
}{
"kind": "Connected"
}{
"gap_ms": 0,
"kind": "Reconnected"
}{
"dropped": 0,
"first_seq": 0,
"kind": "Lagged",
"last_seq": 0
}{
"kind": "BookInvalidated",
"market_id": "example",
"reason": null
}{
"kind": "Error",
"message": "example"
}{
"league": "example"
}{
"league": "example"
}Streams
Sports Stream
Public live game-state stream (Polymarket-hosted) — league is nba, nfl, or mlb.
WSS
/
v1
/
sports
Public live game-state stream (Polymarket-hosted) —
league is nba, nfl, or mlb.Messages
{
"away_team": "example",
"elapsed": "example",
"ended": true,
"finished_timestamp": "2026-01-01T00:00:00Z",
"game_id": 0,
"home_team": "example",
"league_abbreviation": "example",
"live": true,
"period": "example",
"score": "example",
"slug": "example",
"status": "example",
"turn": "example"
}{
"kind": "Connected"
}{
"gap_ms": 0,
"kind": "Reconnected"
}{
"dropped": 0,
"first_seq": 0,
"kind": "Lagged",
"last_seq": 0
}{
"kind": "BookInvalidated",
"market_id": "example",
"reason": null
}{
"kind": "Error",
"message": "example"
}{
"league": "example"
}{
"league": "example"
}SportResult
type:object
Live score, period, and clock for a tracked game.
Connected
type:object
Initial socket establishment.
Reconnected
type:object
Socket re-established after an outage — gap_ms is the wall-clock interval since the last received message.
Lagged
type:object
Slow consumer dropped messages — every affected book is invalidated and must be rebuilt from the next Snapshot.
BookInvalidated
type:object
A specific market's book is no longer trustworthy — drop cache and wait for next Snapshot (reasons: Reconnect, Lag, SequenceGap, ExchangeReset).
Error
type:object
A non-fatal error observed on the connection (session continues).
Subscribe
type:object
Add to the active sports subscription set
Unsubscribe
type:object
Remove from the active sports subscription set
⌘I

