subscribeToPrematchGamesWithSport
This API is specifically designed for time-sensitive pre-match filtering. It allows you to subscribe to games that are starting within a specific upcoming window (e.g., the next 2 hours or the next 24 hours), grouped by the full sport -> region -> competition hierarchy.
Documentation
Try it now
Request parameters:
Call example:
subscribeToPrematchGamesWithSport({
sportAlias: 'Soccer',
regionAlias: 'England',
competitionId: 1840
})Response examples:
{
sport: {
'1': {
id: 1,
name: 'Football',
region: {
'2570001': {
id: 2570001,
competition: {
'1840': {
id: 1840,
game: {
'29614719': {
id: 29614719,
start_ts: 1778940000,
team2_name: 'Manchester City',
team1_name: 'Chelsea',
team1_reg_name: 'GB',
team2_reg_name: 'GB'
}
}
}
}
}
}
}
}
}