/
v3.0.11Get access

subscribeToGamesOnly

This API function establishes a real-time subscription focused strictly on the match/game level. It skips the broad sports and regional layers, allowing you to feed a list of specific match IDs directly to a data stream while providing control over the types of odds, layouts, and bet features included in the data payload.

Request parameters:

NameDescriptionTypeValuesDefault
gameIds
An array of numeric match ids.array--
showType
Controls the presentation or data density of the returned marketsstring"OUTRIGHT"-
gameType
Typically differentiates between the match state.string"sport", "live", "willBeLiveSoon"-
competitionId
Targets the specific tournament, league, or cupnumber--
isCloudAvailable
Filters for sports with cloud-streaming support.booleantrue / false-
isBetBuilderAvailable
Feature toggles that instruct the stream to include or exclude complex same-game-parlay (Bet Builder) pricing configurations and data structures.booleantrue / false-
isInternalBetBuilderAvailable
Feature toggles that instruct the stream to include or exclude complex same-game-parlay (Internal Bet Builder) pricing configurations and data structures.booleantrue / false-
withoutOutright
Flag to exclude outright marketsbooleantrue / false-
sportAlias
Sport alias for additional filtrationstring--
promoted
Flag to include promoted matchesbooleantrue / false-

Call example:

subscribeToGamesOnly({
  gameIds: [29855462]
})

Response examples:

{
  game: {
    '29855462': {
      id: 29855462,
      type: 1,
      is_live: 1,
      start_ts: 1779969600,
      text_info: '1 : 0, (0:0), (1:0) 64`',
      team1_name: 'Hawassa City',
      sport_alias: 'Soccer',
      region_alias: 'Ethiopia',
      markets_count: 44
    }
  }
}