subscribeToRacingEventsWithRegion
This API function establishes a real-time subscription tailored for racing events (such as Horse Racing, Greyhound Racing, or Motor Sports). It streams event schedules, live race states, or odds updates, adjusting timestamps and regional sorting dynamically based on the client's localized timezone configuration.
Documentation
Try it now
Request parameters:
Call example:
subscribeToRacingEventsWithRegion({
sportAlias: 'HorseRacing',
timeZone: 4
})Response examples:
{
region: {
'180031': {
id: 180031,
alias: 'Argentina',
name: 'Argentina',
order: 9999,
competition: {
'18262502': {
id: 18262502,
name: 'Palermo',
order: 9999,
game: {
'29877455': {
id: 29877455,
start_ts: 1779989700,
info: {
horse_xml: [{
BookmakerId: -191,
EventId: 3179125
}],
field: 0
},
team1_name: 'Palermo',
is_blocked: 0,
market: {
'2273071070': {
id: 2273071070,
type: 'Winner',
name: 'Winner',
order: 100000,
cashout: 1,
sequence: 0,
col_count: 2,
extra_info: {
EachWayPlace: 3,
EachWayK: 5,
EarlyPrices: true,
Created: '2026-05-26T08:15:47.495038+04:00',
IsPartnerTermsEnabled: null,
ManualTerms: null,
Dividents: null
},
market_type: 'Winner',
point_sequence: 0,
event: {
'6760941789': {
id: 6760941789,
name: '2nd Favourite',
type: '2nd Favourite',
extra_info: {
SP: 0,
Position: 0,
JointPosition: 0,
IsNonRunner: null,
Joint: null,
Favourite: 2,
IsEarlyPrice: null,
PositionCount: null,
Rule4Deduction: 0,
PriceHistory: [],
PartnerPriceHistory: null,
ParnerSelections: null
},
original_order: 101,
sp_enabled: 1,
price: null
},
'6760941790': {
id: 6760941790,
name: 'Diego Y Yo',
type: 'Diego Y Yo',
extra_info: {
SP: 0,
Position: 99,
JointPosition: 1,
IsNonRunner: null,
Joint: 0,
Favourite: null,
IsEarlyPrice: null,
PositionCount: null,
Rule4Deduction: 0,
PriceHistory: [],
PartnerPriceHistory: null,
ParnerSelections: null
},
original_order: 1,
sp_enabled: 1,
price: null
}
}
}
}
},
'29877456': {
id: 29877456,
start_ts: 1779991500,
info: {
horse_xml: [{
BookmakerId: -191,
EventId: 3179126
}],
field: 0
},
team1_name: 'Palermo',
is_blocked: 0,
market: {
'2273071069': {
id: 2273071069,
type: 'Winner',
name: 'Winner',
order: 100000,
cashout: 1,
sequence: 0,
col_count: 2,
extra_info: {
EachWayPlace: 3,
EachWayK: 5,
EarlyPrices: true,
Created: '2026-05-26T08:15:47.9992984+04:00',
IsPartnerTermsEnabled: null,
ManualTerms: null,
Dividents: null
},
market_type: 'Winner',
point_sequence: 0,
event: {
'6760941779': {
id: 6760941779,
name: '2nd Favourite',
type: '2nd Favourite',
extra_info: {
SP: 0,
Position: 0,
JointPosition: 0,
IsNonRunner: null,
Joint: null,
Favourite: 2,
IsEarlyPrice: null,
PositionCount: null,
Rule4Deduction: 0,
PriceHistory: [],
PartnerPriceHistory: null,
ParnerSelections: null
},
original_order: 101,
sp_enabled: 1,
price: null
},
'6760941781': {
id: 6760941781,
name: 'El Nomade',
type: 'El Nomade',
extra_info: {
SP: 0,
Position: 99,
JointPosition: 8,
IsNonRunner: null,
Joint: 0,
Favourite: null,
IsEarlyPrice: null,
PositionCount: null,
Rule4Deduction: 0,
PriceHistory: [],
PartnerPriceHistory: null,
ParnerSelections: null
},
original_order: 8,
sp_enabled: 1,
price: null,
ew_allowed: true
}
}
}
}
}
}
}
}
}
}
}