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
| Field | Type | Description |
|---|---|---|
m_id | int | Market id. |
title | string | null | Market name. |
status | int | null | Market status. |
odds | array | null | Odds list for market. |
odds[].o_id | string | Odd id. |
odds[].short | string | Selection shortcut. |
odds[].title | string | Selection title. |
odds[].odd | number | null | Price value. |
odds[].status | int | null | Odd status. |
odds[].validation | int | null | Validation/result status (when present). |
Market status values
| Status | Value |
|---|---|
| 1 | Active |
| 0 | Not Active |
| 4 | Blocked |