Skip to main content

Market

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

{
"Header": {
"msg_type": 1,
"timestamp": 1711995327345
},
"Body": {
"data": {
"fixture": "Fixture",
"markets": [
{
"m_id": 1,
"title": "Full Time",
"status": 1,
"odds": [
{
"o_id": "1_1",
"short": "1",
"title": "1",
"odd": 1.45,
"status": 1
}
]
}
]
}
}
}

Model

Events

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

Markets

ElementData TypeDescription
m_idint

The unique ID of the market

title

string

The name of the market

statusintMarket status enum
oddsarrayAn array of Odds

Odds

ElementData TypeDescription
o_idstringYour package type
shortstringThe current subscription status of the event in your package
titlestringThe current subscription status of the event in your package
statusenumThe current subscription status of the event in your package
oddfloatThe current subscription status of the event in your package