subscribeToUpcomingGamesOnly
This API function establishes a real-time subscription focused exclusively on upcoming, scheduled fixtures, filtering out any games that are currently live or in-play. It allows the client application to listen for schedule changes, participant updates, and opening pre-match odds while using strict time bounds and volume limits to optimize data delivery.
Documentation
Try it now
Request parameters:
Call example:
subscribeToUpcomingGamesOnly({
lessThan: 1779989705,
limit: 5,
sportAlias: 'Soccer'
})Response examples:
{
game: {
'29891548': {
region: {
name: 'Dinamarca',
order: 171
},
competition: {
name: 'Danmarksserien',
order: 192006,
cloud_available: false
},
id: 29891548,
team1_id: 15184,
team2_id: 193058,
start_ts: 1779989400,
_parent_id: 9228,
team2_name: 'Fuglebakken KFUM Arhus',
team1_name: 'Hedensted IF',
sport_alias: 'Soccer',
region_alias: 'Denmark',
team1_reg_name: 'DK',
team2_reg_name: 'DK'
},
'29892190': {
region: {
name: 'Finlândia',
order: 187
},
competition: {
name: 'Kolmonen',
order: 203008,
cloud_available: false
},
id: 29892190,
team1_id: 1372831,
team2_id: 1388214,
start_ts: 1779984000,
_parent_id: 11136,
team2_name: 'FC Vaajakoski 2',
team1_name: 'FC Metso',
sport_alias: 'Soccer',
region_alias: 'Finland'
},
'29892926': {
region: {
name: 'Finlândia',
order: 187
},
competition: {
name: 'Kolmonen',
order: 203008,
cloud_available: false
},
id: 29892926,
team1_id: 286,
team2_id: 97992,
start_ts: 1779984000,
_parent_id: 11136,
team2_name: 'Lapuan Virkia',
team1_name: 'FC Ylivieska',
sport_alias: 'Soccer',
region_alias: 'Finland',
team1_reg_name: 'FI',
team2_reg_name: 'FI'
},
'29896318': {
region: {
name: 'Finlândia',
order: 187
},
competition: {
name: 'Kolmonen',
order: 203008,
cloud_available: false
},
id: 29896318,
team1_id: 27916,
team2_id: 669648,
start_ts: 1779982200,
_parent_id: 11136,
team2_name: 'KJP Kouvola',
team1_name: 'Kultsu FC',
sport_alias: 'Soccer',
region_alias: 'Finland',
team1_reg_name: 'FI',
team2_reg_name: 'FI'
},
'29896319': {
region: {
name: 'Finlândia',
order: 187
},
competition: {
name: 'Kolmonen',
order: 203008,
cloud_available: false
},
id: 29896319,
team1_id: 97274,
team2_id: 224954,
start_ts: 1779983100,
_parent_id: 11136,
team2_name: 'HaPK Haminan',
team1_name: 'Mikkelin Pallo Kissat',
sport_alias: 'Soccer',
region_alias: 'Finland',
team1_reg_name: 'FI',
team2_reg_name: 'FI'
}
}
}