subscribeToLiveGamesWithSport
This API provides a multi-sport live subscription designed to fetch real-time match data for several sports simultaneously. It is the go-to function for a "Live Overview" page where you need to display matches from different categories (like Counter-Strike and Dota 2) in one unified list.
Data structure sport -> competition -> game
Documentation
Try it now
Request parameters:
Call example:
subscribeToLiveGamesWithSport({
sportIds: [75, 76]
})Response examples:
{
sport: {
'75': {
id: 75,
name: 'Counter-Strike 2',
order: 503,
alias: 'CounterStrike',
competition: {
'18274821': {
id: 18274821,
name: 'Asia Champions League',
order: 7,
game: {
'29748157': {
id: 29748157,
sport_alias: 'CounterStrike',
start_ts: 1778590800,
team1_name: 'THUNDERdOWNUNDER',
team2_name: 'Alter Ego'
}
}
}
}
},
'76': {
id: 76,
name: 'Dota 2',
order: 505,
alias: 'Dota2',
competition: {
'18282577': {
id: 18282577,
name: 'European Pro League (EPL)',
order: 10,
game: {
'29750351': {
id: 29750351,
sport_alias: 'Dota2',
start_ts: 1778587200,
team1_name: '2Move',
team2_name: 'Power Rangers'
}
}
}
}
}
}
}