Skip to main content

Fixture

This documentation describes the complete structure of a Fixture Update message (Type 1) as delivered by TRADE.

{
"Header": {
"msg_type": 1,
"timestamp": 1711995327345
},
"Body": {
"data": [
{
"f_id": 16861271,
"sport_id": 1,
"status": 1,
"timestamp": 0,
"league": {
"l_id": 248,
"title": "Italy Serie A",
"country": {
"title": "Italy",
"code": "it"
}
},
"teams": {
"home": {
"t_id": 25,
"title": "Inter Milan"
},
"away": {
"t_id": 426,
"title": "Brescia"
}
}
}
]
}
}

Model

Events

ElementData TypeDescription
f_idintThe unique ID of the fixture.
FixtureintFixture
LivescoreintLivescore
MarketsintMarkets

Fixture

ElementData TypeDescription
SubscriptionobjectSubscription
sport_idintSport
LeagueobjectLeague
timestampintThe fixture start date
TeamsobjectTeams

Subscription

ElementData TypeDescription
TypeenumYour package type
StatusenumThe current subscription status of the event in your package

Sport

ElementData TypeDescription
IdintThe unique ID of the sport
NamestringThe name of the sport

League

ElementData TypeDescription
l_idintThe unique ID of the league
titlestringThe name of the league
countryobjectCountry associated with the league.

Teams

ElementData TypeDescription
t_idintThe unique ID of the participant
titlestringTeam's title