/
v3.0.11Get access

subscribeToMarketsWithGame

This API creates a targeted subscription to monitor multiple specific matches simultaneously. Unlike other APIs that filter by a whole sport or league, this one allows you to provide a list of exact gameIds to watch—making it the ideal tool for racking several unrelated matches at once.

Request parameters:

NameDescriptionTypeValuesDefault
gameIds
An array of numeric game ids.array--

Call example:

subscribeToMarketsWithGame({
  gameIds: [29993700, 29993584, 29990859, 29993583, 29989883, 29983915,
    29983914, 29998985, 29996166, 29999633
  ]
})

Response examples:

{
  result: {
    game: {
      '29983914': {
        competition: {
          name: 'ICC T20 World Cup - Women'
        },
        id: 29983914,
        team1_name: 'England (Wom)',
        team2_name: 'Sri Lanka (Wom)',
        market: {
          '2287380724': {
            id: 2287380724
          }
        }
      },
      '29983915': {
        competition: {
          name: 'ICC T20 World Cup - Women'
        },
        id: 29983915,
        team1_name: 'Scotland (Wom)',
        team2_name: 'Ireland (Wom)',
        market: {
          '2287380725': {
            id: 2287380725
          }
        }
      },
      '29989883': {
        competition: {
          name: 'MCL T25 Division 1 Pro'
        },
        id: 29989883,
        team1_name: 'Nepalese Canadian Mississauga',
        team2_name: 'ATCT',
        market: {
          '2288188774': {
            id: 2288188774
          }
        }
      },
      '29990859': {
        competition: {
          name: 'Bengal Pro T20 League'
        },
        id: 29990859,
        team1_name: 'Novus Royals Purulia',
        team2_name: 'Rashmi Medinipur Wizards',
        market: {
          '2288308707': {
            id: 2288308707
          }
        }
      },
      '29993583': {
        competition: {
          name: 'ICC World Cup T20 Warm Up Matches - Women'
        },
        id: 29993583,
        team1_name: 'India (Wom)',
        team2_name: 'England (Wom)',
        market: {
          '2288784166': {
            id: 2288784166
          },
          '2288784167': {
            id: 2288784167
          },
          '2288784168': {
            id: 2288784168
          }
        }
      },
      '29993584': {
        competition: {
          name: 'ICC World Cup T20 Warm Up Matches - Women'
        },
        id: 29993584,
        team1_name: 'West Indies (Wom)',
        team2_name: 'Australia (Wom)',
        market: {
          '2288784164': {
            id: 2288784164
          }
        }
      },
      '29993700': {
        competition: {
          name: 'T20 Mumbai League'
        },
        id: 29993700,
        team1_name: 'ARCS Andheri',
        team2_name: 'Mumbai South Central Maratha Royals',
        market: {
          '2288822620': {
            id: 2288822620
          },
          '2288997003': {
            id: 2288997003
          },
          '2288997004': {
            id: 2288997004
          }
        }
      },
      '29996166': {
        competition: {
          name: 'ICC World Cup League 2'
        },
        id: 29996166,
        team1_name: 'Canada',
        team2_name: 'Netherlands',
        market: {
          '2288999860': {
            id: 2288999860
          },
          '2288999863': {
            id: 2288999863
          },
          '2288999865': {
            id: 2288999865
          }
        }
      },
      '29998985': {
        competition: {
          name: 'ACC Challenger Cup'
        },
        id: 29998985,
        team1_name: 'Thailand',
        team2_name: 'Bhutan',
        market: {
          '2289183632': {
            id: 2289183632
          }
        }
      },
      '29999633': {
        competition: {
          name: 'DDCC'
        },
        id: 29999633,
        team1_name: 'Waratah Warriors',
        team2_name: 'Palmerston CC',
        market: {
          '2289266172': {
            id: 2289266172
          }
        }
      }
    }
  }
}