/
v3.0.11Get access

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

Request parameters:

Name
DescriptionTypeValuesDefault
sportAlias
Filters the stream to a specific game title (e.g., 'CounterStrike', 'Dota2').string--
includeSport
A boolean that determines if the response should include the top-level "Sport" wrapper (ID and Name) or just jump straight to the competitions.booleantrue / false-
competitionId
Narrows the focus to a specific Esports tournament.number--
isCloudAvailable
Internal flag for events with cloud-based featurebooleantrue / false-

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'
            }
          }
        }
      }
    }
  }
}