This sevice uses a websocket to send you real-time updates to events stats, odds and general info. It works by first logging with a "Login" message. Updates will be sent by the server immediately after login.
Public server that will send you events updates after receiving a login message. On connection you will receive an update message for every currently live event.
Messages you can send to the server.
Accepts the following message:
Sent by the client to verify credentials
{
"token": "SSdkIGRvIHRoYXQgdG9vLi4u",
"id": 152
}
This is the list of messages you will receive on the websocket
Accepts one of the following messages:
An event Update message. This message is sent when events have an update. Markets are only present when updated or being closed
{
"type": "event",
"eId": 123456,
"seq": 581551,
"ts": 0,
"data": {
"id": 123456,
"brId": "string",
"sport": 1,
"name": "Team 1 - Team 2",
"active": true,
"teams": {
"home": {
"id": 275,
"name": "Team 1"
},
"away": {
"id": 158,
"name": "Team 2"
}
},
"lang": {
"it": "Italian Translation",
"en": "English Translation",
"fr": "French Translation"
},
"start": "2021-08-24T15:00:00Z",
"tracker": {},
"parent": {
"id": 1234,
"name": "A Series",
"label": "A Series",
"parent": {
"id": 4,
"name": "Italy",
"label": "Italy",
"parent": {
"id": 1,
"name": "Soccer",
"label": "Soccer",
"lang": {
"it": "Italian Translation",
"en": "English Translation",
"fr": "French Translation"
}
},
"lang": {
"it": "Italian Translation",
"en": "English Translation",
"fr": "French Translation"
}
},
"lang": {
"it": "Italian Translation",
"en": "English Translation",
"fr": "French Translation"
}
},
"current": {
"info": [
"",
""
],
"result": "1-0"
},
"result": [
{
"phase": "1",
"result": "0-1"
},
{
"phase": "2",
"result": "1-0"
}
],
"status": {
"phase": "string",
"running": true,
"timer": "18'",
"phase-label": "notstarted"
},
"_odds": {
"property1": {
"3": {
"id": 3,
"active": true,
"order": 400001,
"name": "Match Result",
"lang": {
"en": "Match Result",
"fr": "Résultat"
},
"sub": [
{
"id": 1,
"active": true,
"name": "Home",
"info": 0,
"value": 1.77,
"lang": {
"fr": "French Translation",
"en": "English Translation"
}
},
{
"id": 2,
"active": true,
"name": "Draw",
"info": 0,
"value": 5.6,
"lang": {
"fr": "French Translation",
"en": "English Translation"
}
},
{
"id": 3,
"active": true,
"name": "Away",
"info": 0,
"value": 12,
"lang": {
"fr": "French Translation",
"en": "English Translation"
}
}
]
},
"143": {
"id": 143,
"active": false
},
"526": {
"id": 526,
"active": true,
"order": 950008,
"name": "Total 1.5",
"lang": {
"en": "Total 1.5",
"fr": "Total 1.5"
},
"sub": [
{
"id": 1,
"active": true,
"name": "Under 1.5",
"info": 0,
"value": 1.14,
"lang": {
"fr": "French Translation",
"en": "English Translation"
}
},
{
"id": 2,
"active": true,
"name": "Over 1.5",
"info": 0,
"value": 4.9,
"lang": {
"fr": "French Translation",
"en": "English Translation"
}
}
]
}
},
"property2": {
"3": {
"id": 3,
"active": true,
"order": 400001,
"name": "Match Result",
"lang": {
"en": "Match Result",
"fr": "Résultat"
},
"sub": [
{
"id": 1,
"active": true,
"name": "Home",
"info": 0,
"value": 1.77,
"lang": {
"fr": "French Translation",
"en": "English Translation"
}
},
{
"id": 2,
"active": true,
"name": "Draw",
"info": 0,
"value": 5.6,
"lang": {
"fr": "French Translation",
"en": "English Translation"
}
},
{
"id": 3,
"active": true,
"name": "Away",
"info": 0,
"value": 12,
"lang": {
"fr": "French Translation",
"en": "English Translation"
}
}
]
},
"143": {
"id": 143,
"active": false
},
"526": {
"id": 526,
"active": true,
"order": 950008,
"name": "Total 1.5",
"lang": {
"en": "Total 1.5",
"fr": "Total 1.5"
},
"sub": [
{
"id": 1,
"active": true,
"name": "Under 1.5",
"info": 0,
"value": 1.14,
"lang": {
"fr": "French Translation",
"en": "English Translation"
}
},
{
"id": 2,
"active": true,
"name": "Over 1.5",
"info": 0,
"value": 4.9,
"lang": {
"fr": "French Translation",
"en": "English Translation"
}
}
]
}
}
},
"misc": {}
}
}
An event Closing message. This match will note receive any more updates.
{
"type": "closed",
"eId": 123456,
"seq": 581551,
"ts": 0
}
Sent every 5 seconds to signal that everything is ok
{
"type": "alive",
"ts": 0
}
An event Update message. This message is sent when events have an update. Markets are only present when updated or being closed
An event Closing message. This match will note receive any more updates.
Sent every 5 seconds to signal that everything is ok
Sent by the client to verify credentials
A list of translations of the entity, in all available languages
A sports event description
Match hilights like goals, corners, yellow/red cards, etc...
H2H score
Informations needed to draw the match tracker (widget)
A reference to a different match tracer or streaming channel
A possible outcome of a Market. Examples are "Home", "Draw", "Away", "Over 2.5", etc...
The current event state. contains minute and current phase/set
A group of outcomes