live_scores_statistics scope.
Endpoint: wss://scores.sportrix.ai/v1/stream
Python example
The example below uses thewebsocket-client library to connect, subscribe to a match, and print a live score line on every update.
Always branch on
d["sport"] — the snapshot schema is sport-specific. See the live snapshot reference for the full soccer and cricket shapes.Multiplexing multiple matches
A single WebSocket connection can track any number of matches simultaneously. Send asubscribe message for each match you want to follow — there’s no need to open a separate connection per match. Because every data object carries match_id, you can always tell which match an incoming frame belongs to.