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
| Element | Data Type | Description |
|---|---|---|
| f_id | int | The unique ID of the fixture. |
| Fixture | int | Fixture |
| Livescore | int | Livescore |
| Markets | int | Markets |
Fixture
| Element | Data Type | Description |
|---|---|---|
| Subscription | object | Subscription |
| sport_id | int | Sport |
| League | object | League |
| timestamp | int | The fixture start date |
| Teams | object | Teams |
Subscription
| Element | Data Type | Description |
|---|---|---|
| Type | enum | Your package type |
| Status | enum | The current subscription status of the event in your package |
Sport
| Element | Data Type | Description |
|---|---|---|
| Id | int | The unique ID of the sport |
| Name | string | The name of the sport |
League
| Element | Data Type | Description |
|---|---|---|
| l_id | int | The unique ID of the league |
| title | string | The name of the league |
| country | object | Country associated with the league. |
Teams
| Element | Data Type | Description |
|---|---|---|
| t_id | int | The unique ID of the participant |
| title | string | Team's title |