Skip to main content

Fixture Lifecycle Messages

These msg_type = 1 messages are forwarded to prematch_queue.

1) create_fixture

{
"action": "create_fixture",
"data": {
"f_id": 16861271,
"sport_id": 1,
"status": 0,
"timestamp": 1711995327,
"league": {},
"teams": {},
"providers": ["provider_code"],
"markets": [],
"...": "full Fixture.model_dump() payload"
}
}

2) activate_fixture

{
"action": "activate_fixture",
"data": {
"f_id": 16861271
}
}

3) update_fx_meta

{
"action": "update_fx_meta",
"data": {
"f_id": 16861271,
"status": 2,
"timestamp": 1711995327
}
}

4) fx_finished

{
"action": "fx_finished",
"data": {
"f_id": 16861271
}
}

Fixture status values

StatusValue
1Pending
2Live
3Finished
4Blocked
5Cancelled
7Retired