subscribeToEsportPrematchGames
This API handles real-time subscriptions for Esports matches that haven't started yet. While similar to the standard pre-match API, it is optimized for the Esports ecosystem (CS2, Dota 2, LoL) and frequently handles Outright markets (betting on the winner of a whole tournament rather than a single match).
Data structure sport -> competition -> game
Documentation
Try it now
Request parameters:
Call example:
subscribeToEsportPrematchGames({
sport_alias: 'CounterStrike',
includeSport: true
})Response examples:
{
sport: {
'75': {
name: 'Counter-Strike 2',
competition: {
'31200': {
id: 31200,
name: 'Asia Championships. Outright',
order: 1042,
game: {
'29753729': {
id: 29753729,
start_ts: 1779267600,
sport_alias: 'CounterStrike',
team1_name: 'Asia Championships',
show_type: 'OUTRIGHT'
}
}
}
}
}
}
}