/
v3.0.11Get access

subscribeToEsportEventsWithSport

This API returns a deeply nested, real-time data object for sports/esports fixtures, structured hierarchically by Sport -> Competition -> Game (Match).

Request parameters:

NameDescriptionTypeValuesDefault
gameIds
An array of numeric esport match ids.number--

Call example:

subscribeToEsportEventsWithSport({
  gameIds: [12345]
})

Response examples:

{
  sport: {
    '75': {
      id: 75,
      name: 'Counter-Strike 2',
      order: 503,
      alias: 'CounterStrike',
      competition: {
        '18286447': {
          id: 18286447,
          name: 'Thunderpick World Championship',
          order: 27,
          game: {
            '29893669': {
              id: 29893669,
              info: {
                current_game_state: 'notstarted',
                score1: '0',
                score2: '0',
                shirt1_color: '000000',
                shirt2_color: '000000',
                short1_color: '000000',
                short2_color: '000000',
                field: 0
              },
              stats: {
                passes: {
                  team1_value: null,
                  team2_value: null
                }
              },
              is_live: 0,
              team1_id: 1305629,
              team2_id: 738769,
              start_ts: 1779976800,
              _parent_id: 18286447,
              is_blocked: 0,
              team2_name: 'GenOne',
              team1_name: 'KOLESIE',
              sport_alias: 'CounterStrike',
              region_alias: 'Europe',
              markets_count: 20,
              market: []
            }
          }
        }
      }
    }
  }
}