WebSocket Reference
sports:standings
League standings refresh snapshots keyed by league slug
The sports:standings channel broadcasts league standings snapshots whenever the standings for a league are refreshed. It is keyed by league slug (for example fifa.world). Use it to keep a standings table live during a tournament.
Subscribe
{ "event": "subscribe", "data": { "channel": "sports:standings:<leagueSlug>" } }Replace <leagueSlug> with the target league slug (e.g. fifa.world).
Unsubscribe
{ "event": "unsubscribe", "data": { "channel": "sports:standings:<leagueSlug>" } }Server Broadcast
{
"channel": "sports:standings:fifa.world",
"data": {
"league": "fifa.world",
"groups": [
{
"group": "A",
"rows": [
{ "team": "Team A", "played": 3, "won": 2, "drawn": 1, "lost": 0, "points": 7 }
]
}
],
"timestamp": 1716923400000
}
}Payload Schema
| Field | Type | Description |
|---|---|---|
league | string | League slug (e.g. fifa.world) |
groups | array | Standings grouped by group/division, each with ranked rows |
timestamp | number | Unix millisecond epoch of the snapshot |
Notes
- Public channel — no authentication required.
- Emitted on the standings refresh cycle, not on every score change.