/
v3.0.11Get access

subscribeToLiveGamesWithCompetition

This API creates a real-time subscription that organizes live matches directly under their parent Competitions, bypassing the geographic "Region" level seen in other queries. It returns a dictionary of leagues (e.g., "PGL Astana") containing specific match details like team names and start timestamps.

Request parameters:

Name
DescriptionTypeValuesDefault
sportAlias
The unique string key (e.g., 'CounterStrike') used to filter all competitions to a single sport.string--
isCloudAvailable
A boolean flag typically used to get cloud-support matchesbooleantrue / false-

Call example:

subscribeToLiveGamesWithCompetition({
  sportAlias: 'CounterStrike'
})

Response examples:

{
  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'
        },
        '29751406': {
          id: 29751406,
          sport_alias: 'CounterStrike',
          start_ts: 1778584800,
          team1_name: 'Change The Game',
          team2_name: 'Last Bullet'
        }
      }
    },
    '18283259': {
      id: 18283259,
      name: 'CCT South America',
      order: 33,
      game: {
        '29738198': {
          id: 29738198,
          sport_alias: 'CounterStrike',
          start_ts: 1778590800,
          team1_name: 'Procyon Gaming',
          team2_name: 'Guara eSports'
        }
      }
    },
    '18290827': {
      id: 18290827,
      name: 'Exort Series',
      order: 1051,
      game: {
        '29754185': {
          id: 29754185,
          sport_alias: 'CounterStrike',
          start_ts: 1778589000,
          team1_name: 'Clutchain',
          team2_name: 'LPH Gaming'
        }
      }
    },
    '18292851': {
      id: 18292851,
      name: 'PGL Astana',
      order: 64,
      game: {
        '29748101': {
          id: 29748101,
          sport_alias: 'CounterStrike',
          start_ts: 1778585700,
          team1_name: 'PARIVISION',
          team2_name: 'G 2 Esports'
        },
        '29748102': {
          id: 29748102,
          sport_alias: 'CounterStrike',
          start_ts: 1778583600,
          team1_name: 'FURIA eSports',
          team2_name: 'Gentle Mates'
        }
      }
    }
  }
}