sport_result Message
Emitted when:- A match goes live
- The score changes
- The period changes (e.g., halftime, overtime)
- A match ends
- Possession changes (NFL and CFB only)
Structure
Unique identifier for the game
League identifier (e.g.,
"nfl", "nba", "cs2")Home team name or abbreviation
Away team name or abbreviation
Game status (e.g.,
"InProgress", "finished")true if the match is currently in progresstrue if the match has concludedCurrent score (format varies by sport)
Current period (e.g.,
"Q4", "2H", "2/3")Time elapsed in current period (e.g.,
"05:09")Timestamp when the match ended (only present when
ended: true)Team abbreviation with possession (NFL/CFB only)
The
turn field is only present for NFL and CFB games and indicates which team currently has the ball.Example Messages
NFL (in progress):Slug Format
Theslug field follows a consistent naming convention:
nfl-buf-kc-2025-01-26— NFL: Buffalo Bills vs Kansas City Chiefsnba-lal-bos-2025-02-15— NBA: LA Lakers vs Boston Celticsmlb-nyy-bos-2025-04-01— MLB: NY Yankees vs Boston Red Sox
Period Values
| Period | Description |
|---|---|
1H | First half |
2H | Second half |
1Q, 2Q, 3Q, 4Q | Quarters (NFL, NBA) |
HT | Halftime |
FT | Full time (match ended in regulation) |
FT OT | Full time with overtime |
FT NR | Full time, no result (draw or canceled) |
End 1, End 2, etc. | End of inning (MLB) |
1/3, 2/3, 3/3 | Map number in Bo3 series (Esports) |
1/5, 2/5, etc. | Map number in Bo5 series (Esports) |
Handling Updates
When processing messages, use thegameId field as the unique identifier to update your local state: