Fight Details

This web socket endpoint returns the event-by-event data per fight. Once a fight commences the live information will visible and you'll be able to view the live fight details.

Endpoint URL

wss://dde-streams.imggaming.com/mma/fights/{id}/details

Process for connecting to the web socket endpoints

  • Connect to SSL websocket address

  • Send JSON packet containing API token

  • Receive response indicating that connection is authorised (or a response indicating why the connection cannot be made)

  • Receive heartbeat packets every 10 seconds to verify the connection is live

  • Receive data packets

Once you have the API token, any further data that you send over the connection will be ignored.

Request Parameters

This endpoint currently takes no request parameters.

Response Model

There are a number of different types of packets that can be sent through this endpoint. They are detailed in the Fight Details Scenarios section of this documentation.

Field Name

Type

Description

stats

object

information of the fight

roundNum

object

number of rounds

timestamp

string

Date and time

roundTime

string

Time of each round

eventElementType

string

Status update of the fight

seqNum

integer

The sequence number of the packet in the feed

fightStatus

string

status of the round/fight

Stats Object

Field Name

Type

Description

Fight

object

information about the fight

Round

object

information about the round

Fight object

Field Name

Type

Description

red/blue

integer

fighter colour/class

takedownAttempt

integer

number of takedown attempts

submissionAttempt

integer

number of submission attempts

takedownLanded

integer

number of landed takedowns

knockdown

integer

number of knockdown

reversal

integer

number of reversals

Round object

stats broken down per round

Field Name

Type

Description

red/blue

integer

fighter colour/class

takedownAttempt

integer

number of takedown attempts

submissionAttempt

integer

number of submission attempts

takedownLanded

integer

number of landed takedowns

knockdown

integer

number of knockdown

reversal

integer

number of reversals

Sample Websocket

You can connect to a sample WS for fight details here:

wss://dde-streams.data.imgarena.com/mma/fights/999991/details

Last updated

Was this helpful?