Statistics (Betting)

Provide aggregated data of matches such as statistics, scores, line-ups used for analysis and visualisation.

The statistics WebSocket contains a live 'stream' of the team and player actions within a match. This WebSocket is typically for clients wanting to integrate aggregated stats data to power live betting markets.

You should receive a new update any time an essential action is completed, and this WebSocket is crucial for powering live scores and match actions. The authentication token provided will be required to connect to this WebSocket endpoint. Once you have the API token, any further data you send over the connection will be ignored. This endpoint sends heartbeats between data packets to let you know it is still connected.

Endpoints

Aggregated live statistics

CONNECT wss://dde-streams.data.imgarena.com/ice-hockey/fixtures/{fixtureId}/statistics

Path Parameters

NameTypeDescription

fixtureId*

UUID

Unique id of a requested fixture.

Query Parameters

NameTypeDescription

speed

String

this can be “fast” or “normal”. Default is normal and only applicable for offline matches

startPosition

Integer

default is 0. This is how many events to skip from the beginning of the list of events. e.g. 5 would be start sending events from the 5th event received for that websocket. This is a useful feature if you want to continue without getting all the events again from the beginning when you reconnect

Headers

NameTypeDescription

Accept*

String

application/vnd.imggaming.dde.api+json;version=1

Connection

String

keep-alive

{
    The supplied authentication is invalid
}

Response Fields

seqNum integer

The sequence number

traceId uuid

Tracing Id for logs

version integer

The version number

finished boolean

Whether the match has finished or not Values are true or false

fixtureId uuid

The unique id of the match

timestamp timestamp

The timestamp of the file and it's usually the time the latest action update has happened

teamActionAggregates teamActionAggregates []

Aggregated player action statistics

advancedSportStatistics advancedSportStatistics []

Aggregated team sports statistics

Last updated