Connecting to the tracking websocket
This API provides a stream of live players, ball and referee tracking data as JSON over a WebSocket connection. Please see the below for how to connect.
Last updated
Was this helpful?
This API provides a stream of live players, ball and referee tracking data as JSON over a WebSocket connection. Please see the below for how to connect.
This section defines how to connect to the websocket. i,e via Postman.
Open websocket connection to the host and path for the data feed desired
Submit authentication request
a. Use the same bearer token used to access any other part of the DDE b.
{
"authToken": "<BEARER TOKEN>"
}Successful authentication will return a json response {
"message":"Authorisation accepted",
"level":"INFO"
}At this point a Heartbeat will be sent every 10seconds
{
"message": "Heartbeat sent at <ISO_DATE_TIME_STAMP>",
"level": "INFO"
}{
"fixtureId": "<FIXTURE ID>",
"backfill": <BACKFILL>
}Backfill Logic
n = null or non zero value -> all messages from start of feed + all future messages
n = 0 -> all future messages ONLY
If the fixture exists then the data feed will commence
Once a fixture has been requested and accepted, any further fixture requests will be ignored. The connection must be closed and a new one opened to get a new fixture feed
Last updated
Was this helpful?
Was this helpful?
{
"message": "Authentication message had incorrect format",
"level": "ERROR"
}{
"message": "Could not find fixture topic soccer.tracking.enrichment.low-latency.XXXXXXXXXX",
"level": "WARN"
}