Skip to main content

Market Messages

add_markets is forwarded with msg_type = 3.

Prematch/Internal add_markets

Queue: prematch_queue

{
"action": "add_markets",
"data": {
"fixture": {
"...": "full Fixture.model_dump()"
},
"changed_markets": [
{
"m_id": 1,
"title": "Full Time",
"status": 1,
"odds": [
{
"o_id": "1_1",
"short": "1",
"title": "1",
"odd": 1.45,
"status": 1
}
]
}
]
}
}

changed_markets contains only markets changed in the current internal update; full fixture markets stay in data.fixture.markets.

Live add_markets

Queue: live_queue

{
"action": "add_markets",
"data": {
"f_id": 16861271,
"sport_id": 1,
"betradar_id": 123456,
"timestamp": 1711995327,
"league": {},
"teams": {},
"ss": {},
"markets": [],
"totalOdd": 0,
"timer": {},
"periods": [],
"gameScore": {},
"changed_mids": []
}
}

data here is forwarded as-is from the live worker input payload.

Core market fields

FieldTypeDescription
m_idintMarket id.
titlestring | nullMarket name.
statusint | nullMarket status.
oddsarray | nullOdds list for market.
odds[].o_idstringOdd id.
odds[].shortstringSelection shortcut.
odds[].titlestringSelection title.
odds[].oddnumber | nullPrice value.
odds[].statusint | nullOdd status.
odds[].validationint | nullValidation/result status (when present).

Market status values

StatusValue
1Active
0Not Active
4Blocked