subscribeToGamesCount
This API function establishes a real-time subscription to track the numeric count of active matches/games rather than streaming the match data itself. It allows the frontend to maintain highly accurate, live-updating badge counts across navigation menus and sports categories by filtering down through the sports hierarchy.
Documentation
Try it now
Request parameters:
Call example:
subscribeToGamesCount({
excludeSportTypes: ['virtual', 'racing'],
gameType: 'live'
})Response examples:
{
game: 148
}