Betting - Live statistics

Provide aggregated data of matches such as statistics, point played, point scored, cards and more.

The statistics websocket contains a live 'stream' of the team and player actions happening 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 a key action is completed and this websocket is crucial for powering live scores and match actions. The authentication token provided will be required to make a connection to this websocket endpoint. Once you have the API token, any further data that you send over the connection will be ignored. This endpoint sends heartbeats in-between data packets to let you know that it is still connected.

Endpoint URL

Aggregated live statistics

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

Path Parameters

Name
Type
Description

fixtureId*

UUID

Unique id of a requested fixture.

Headers

Name
Type
Description

Accept*

String

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

Connection

String

keep-alive

{
    The supplied authentication is invalid
}

Authentication

We don't look at the header for websockets. Instead we expect the client to push through that auth message immediately on connecting in the following format.

Request limits

IMG Arena monitors customer traffic to ensure it follows guidelines and isn't excessive. We recommend a request rate of 5 per second and encourage staying connected to websockets instead of repeated re-connections.

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

The following data points are aggregated and returned in the statistics feed. These statistics are returned at game and period level.

Action Statistic Name
Description

Point started

The aggregation of point started packets for player

Point Scored

The aggregation of point scored packets for player

Swap serve

The aggregation of swap serve

Game point

The aggregation of game point

Match point

The aggregation of match point

Last updated

Was this helpful?