Fight Stats

codeThis web socket endpoint returns the live stats data per fight. Once a fight commences the live information will visible and you'll be able to view the live stats

Endpoint URL

wss://dde-streams.data.imgarena.com/media/mma/fight-livestats/feed/{id}

Process for connecting to the web socket endpoints

  • Connect to the 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 sent 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

Each stats packet sent over the websocket has the following format:

Field Name

Type

Description

seqNum

integer

The sequence number of the packet

timestamp

string

ISO8601 datetime string representing the time the packet was generated

fighters

object

Name and fighter ID for the red and blue fighters

roundStats

string

A breakdown of the full stat summary for each fighter in each round

fightStats

object

A full stat summary for each fighter for the overall fight

fightCardId

integer

The ID of the fight card

currentRound

integer

Which round is currently in progress

fightId

integer

The ID of the fight in our database

maxRounds

integer

The maximum number of rounds in this fight; normally either 3 or 5

accolade

string

The accolade of the fight. Optional.

referee

string

The full name of this fight’s referee

weightclass

string

The fight’s weight class name

status

string

currentRoundTime

string

The current round time, counting down from 5 minutes at the start

fighters

object

information on the fighters

Fighter object

Object broken down into blue and red team

Field Name

Type

Description

name

string

fighter name

fighterId

integer

The ID of the fighter to which these stats refer

fightStats objects

Object broken down into blue and red team

Field Name

Type

Description

TIP

object

Time in Position stats

grappling

object

Breakdown of stats in grappling positions

strikes

object

Breakdown of stats in strikes positions

fighterId

integer

The ID of the fighter to which these stats refer

TIPS (Time In Positions) object

Field Name

Type

Description

backControlTime

string

Time spend in backControlTime positions

controlTime

string

Time spend in controlTime positions

distanceTime

string

Time spend in distanceTime positions

groundControlTime

string

Time spend in groundControlTime positions

groundTime

string

Time spend in groundTime positions

guardControlTime

string

Time spend in guardControlTime positions

halfGuardControlTime

string

Time spend in halfGuardControlTime positions

miscGroundControlTime

string

Time spend in miscGroundControlTime positions

mountControlTime

string

Time spend in mountControlTime positions

neutralTime

string

Time spend in neutralTime positions

sideControlTime

string

Time spend in sideControlTime positions

standingTime

string

Time spend in standingTime positions

grappling object

Field Name

Type

Description

reversals

object

Object contains the number of attempts reversals and landed reversals

standups

object

Object contains the number of attempts standups and landed standups

submissions

object

Object contains the number of attempts submissions and landed submissions

takedowns

object

Object contains the number of attempts takedowns and landed takedowns

roundStats object

Stats are also availble at round level

Field Name

Type

Description

Round number

object

Each round is broken down by red and blue corner. Contains TIP, grappling and strikes per round. Please view the revelent object tables for more information.

Sample Response:

Here’s a sample of the output we have for fight 9088, Jhonata Diniz vs. MMarcin Tybura; this is one packet from near the end of the fight. Each packet contains a full new set of stats for the fight so far, replacing the calculated stats of the last packet. We only send a new packet (with a new sequence number) when the stats have changed.

{
  "currentRound": 2,
  "currentRoundTime": "00:00",
  "fightCardId": 905,
  "fightId": 9088,
  "fightStats": {
    "blue": {
      "TIP": {
        "backControlTime": "00:00",
        "clinchTime": "00:10",
        "controlTime": "00:36",
        "distanceTime": "02:01",
        "groundControlTime": "00:36",
        "groundTime": "07:49",
        "guardControlTime": "00:00",
        "halfGuardControlTime": "00:31",
        "miscGroundControlTime": "00:05",
        "mountControlTime": "00:00",
        "neutralTime": "02:10",
        "sideControlTime": "00:00",
        "standingTime": "02:11"
      },
      "fighterId": 4072,
      "grappling": {
        "reversals": {
          "attempts": 0,
          "landed": 0
        },
        "standups": {
          "attempts": 0,
          "landed": 0
        },
        "submissions": {
          "attempts": 0,
          "landed": 0
        },
        "takedowns": {
          "attempts": 0,
          "landed": 0
        }
      },
      "strikes": {
        "bodySignificantStrikes": {
          "attempts": 1,
          "landed": 1
        },
        "bodyTotalStrikes": {
          "attempts": 1,
          "landed": 1
        },
        "clinchBodyStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "clinchHeadStrikes": {
          "attempts": 2,
          "landed": 2
        },
        "clinchLegStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "clinchSignificantKicks": {
          "attempts": 0,
          "landed": 0
        },
        "clinchSignificantStrikes": {
          "attempts": 2,
          "landed": 2
        },
        "clinchTotalStrikes": {
          "attempts": 2,
          "landed": 2
        },
        "distanceBodyKicks": {
          "attempts": 1,
          "landed": 1
        },
        "distanceBodyStrikes": {
          "attempts": 1,
          "landed": 1
        },
        "distanceHeadStrikes": {
          "attempts": 20,
          "landed": 4
        },
        "distanceLegKicks": {
          "attempts": 1,
          "landed": 0
        },
        "distanceLegStrikes": {
          "attempts": 1,
          "landed": 0
        },
        "distanceStrikes": {
          "attempts": 22,
          "landed": 5
        },
        "groundBodyStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "groundHeadStrikes": {
          "attempts": 7,
          "landed": 5
        },
        "groundLegStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "groundSignificantStrikes": {
          "attempts": 7,
          "landed": 5
        },
        "groundTotalStrikes": {
          "attempts": 20,
          "landed": 14
        },
        "headSignificantStrikes": {
          "attempts": 29,
          "landed": 11
        },
        "headTotalStrikes": {
          "attempts": 42,
          "landed": 20
        },
        "knockDown": {
          "attempts": 0,
          "landed": 0
        },
        "legsSignificantStrikes": {
          "attempts": 1,
          "landed": 0
        },
        "legsTotalStrikes": {
          "attempts": 1,
          "landed": 0
        },
        "significantStrikes": {
          "attempts": 31,
          "landed": 12
        },
        "totalStrikes": {
          "attempts": 44,
          "landed": 21
        }
      }
    },
    "red": {
      "TIP": {
        "backControlTime": "00:00",
        "clinchTime": "00:10",
        "controlTime": "07:14",
        "distanceTime": "02:01",
        "groundControlTime": "07:05",
        "groundTime": "07:49",
        "guardControlTime": "00:28",
        "halfGuardControlTime": "03:09",
        "miscGroundControlTime": "00:03",
        "mountControlTime": "03:25",
        "neutralTime": "02:10",
        "sideControlTime": "00:00",
        "standingTime": "02:11"
      },
      "fighterId": 1707,
      "grappling": {
        "reversals": {
          "attempts": 0,
          "landed": 1
        },
        "standups": {
          "attempts": 0,
          "landed": 0
        },
        "submissions": {
          "attempts": 0,
          "landed": 0
        },
        "takedowns": {
          "attempts": 3,
          "landed": 1
        }
      },
      "strikes": {
        "bodySignificantStrikes": {
          "attempts": 5,
          "landed": 2
        },
        "bodyTotalStrikes": {
          "attempts": 24,
          "landed": 21
        },
        "clinchBodyStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "clinchHeadStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "clinchLegStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "clinchSignificantKicks": {
          "attempts": 0,
          "landed": 0
        },
        "clinchSignificantStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "clinchTotalStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "distanceBodyKicks": {
          "attempts": 4,
          "landed": 2
        },
        "distanceBodyStrikes": {
          "attempts": 4,
          "landed": 2
        },
        "distanceHeadStrikes": {
          "attempts": 14,
          "landed": 3
        },
        "distanceLegKicks": {
          "attempts": 0,
          "landed": 0
        },
        "distanceLegStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "distanceStrikes": {
          "attempts": 18,
          "landed": 5
        },
        "groundBodyStrikes": {
          "attempts": 1,
          "landed": 0
        },
        "groundHeadStrikes": {
          "attempts": 29,
          "landed": 21
        },
        "groundLegStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "groundSignificantStrikes": {
          "attempts": 30,
          "landed": 21
        },
        "groundTotalStrikes": {
          "attempts": 148,
          "landed": 133
        },
        "headSignificantStrikes": {
          "attempts": 43,
          "landed": 24
        },
        "headTotalStrikes": {
          "attempts": 142,
          "landed": 117
        },
        "knockDown": {
          "attempts": 0,
          "landed": 0
        },
        "legsSignificantStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "legsTotalStrikes": {
          "attempts": 0,
          "landed": 0
        },
        "significantStrikes": {
          "attempts": 48,
          "landed": 26
        },
        "totalStrikes": {
          "attempts": 166,
          "landed": 138
        }
      }
    }
  },
  "fighters": {
    "blue": {
      "fighterId": 4072,
      "name": "Jhonata Diniz"
    },
    "red": {
      "fighterId": 1707,
      "name": "Marcin Tybura"
    }
  },
  "maxRounds": 3,
  "referee": "Herb Dean",
  "roundStats": {
    "1": {
      "blue": {
        "TIP": {
          "backControlTime": "00:00",
          "clinchTime": "00:01",
          "controlTime": "00:36",
          "distanceTime": "00:19",
          "groundControlTime": "00:36",
          "groundTime": "04:40",
          "guardControlTime": "00:00",
          "halfGuardControlTime": "00:31",
          "miscGroundControlTime": "00:05",
          "mountControlTime": "00:00",
          "neutralTime": "00:27",
          "sideControlTime": "00:00",
          "standingTime": "00:20"
        },
        "fighterId": 4072,
        "grappling": {
          "reversals": {
            "attempts": 0,
            "landed": 0
          },
          "standups": {
            "attempts": 0,
            "landed": 0
          },
          "submissions": {
            "attempts": 0,
            "landed": 0
          },
          "takedowns": {
            "attempts": 0,
            "landed": 0
          }
        },
        "strikes": {
          "bodySignificantStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "bodyTotalStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchBodyStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchHeadStrikes": {
            "attempts": 2,
            "landed": 2
          },
          "clinchLegStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchSignificantKicks": {
            "attempts": 0,
            "landed": 0
          },
          "clinchSignificantStrikes": {
            "attempts": 2,
            "landed": 2
          },
          "clinchTotalStrikes": {
            "attempts": 2,
            "landed": 2
          },
          "distanceBodyKicks": {
            "attempts": 0,
            "landed": 0
          },
          "distanceBodyStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "distanceHeadStrikes": {
            "attempts": 6,
            "landed": 2
          },
          "distanceLegKicks": {
            "attempts": 0,
            "landed": 0
          },
          "distanceLegStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "distanceStrikes": {
            "attempts": 6,
            "landed": 2
          },
          "groundBodyStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "groundHeadStrikes": {
            "attempts": 6,
            "landed": 5
          },
          "groundLegStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "groundSignificantStrikes": {
            "attempts": 6,
            "landed": 5
          },
          "groundTotalStrikes": {
            "attempts": 19,
            "landed": 14
          },
          "headSignificantStrikes": {
            "attempts": 14,
            "landed": 9
          },
          "headTotalStrikes": {
            "attempts": 27,
            "landed": 18
          },
          "knockDown": {
            "attempts": 0,
            "landed": 0
          },
          "legsSignificantStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "legsTotalStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "significantStrikes": {
            "attempts": 14,
            "landed": 9
          },
          "totalStrikes": {
            "attempts": 27,
            "landed": 18
          }
        }
      },
      "red": {
        "TIP": {
          "backControlTime": "00:00",
          "clinchTime": "00:01",
          "controlTime": "03:57",
          "distanceTime": "00:19",
          "groundControlTime": "03:56",
          "groundTime": "04:40",
          "guardControlTime": "00:28",
          "halfGuardControlTime": "01:55",
          "miscGroundControlTime": "00:00",
          "mountControlTime": "01:33",
          "neutralTime": "00:27",
          "sideControlTime": "00:00",
          "standingTime": "00:20"
        },
        "fighterId": 1707,
        "grappling": {
          "reversals": {
            "attempts": 0,
            "landed": 1
          },
          "standups": {
            "attempts": 0,
            "landed": 0
          },
          "submissions": {
            "attempts": 0,
            "landed": 0
          },
          "takedowns": {
            "attempts": 1,
            "landed": 0
          }
        },
        "strikes": {
          "bodySignificantStrikes": {
            "attempts": 2,
            "landed": 1
          },
          "bodyTotalStrikes": {
            "attempts": 19,
            "landed": 18
          },
          "clinchBodyStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchHeadStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchLegStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchSignificantKicks": {
            "attempts": 0,
            "landed": 0
          },
          "clinchSignificantStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchTotalStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "distanceBodyKicks": {
            "attempts": 1,
            "landed": 1
          },
          "distanceBodyStrikes": {
            "attempts": 1,
            "landed": 1
          },
          "distanceHeadStrikes": {
            "attempts": 2,
            "landed": 0
          },
          "distanceLegKicks": {
            "attempts": 0,
            "landed": 0
          },
          "distanceLegStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "distanceStrikes": {
            "attempts": 3,
            "landed": 1
          },
          "groundBodyStrikes": {
            "attempts": 1,
            "landed": 0
          },
          "groundHeadStrikes": {
            "attempts": 4,
            "landed": 3
          },
          "groundLegStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "groundSignificantStrikes": {
            "attempts": 5,
            "landed": 3
          },
          "groundTotalStrikes": {
            "attempts": 68,
            "landed": 66
          },
          "headSignificantStrikes": {
            "attempts": 6,
            "landed": 3
          },
          "headTotalStrikes": {
            "attempts": 52,
            "landed": 49
          },
          "knockDown": {
            "attempts": 0,
            "landed": 0
          },
          "legsSignificantStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "legsTotalStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "significantStrikes": {
            "attempts": 8,
            "landed": 4
          },
          "totalStrikes": {
            "attempts": 71,
            "landed": 67
          }
        }
      }
    },
    "2": {
      "blue": {
        "TIP": {
          "backControlTime": "00:00",
          "clinchTime": "00:09",
          "controlTime": "00:00",
          "distanceTime": "01:42",
          "groundControlTime": "00:00",
          "groundTime": "03:09",
          "guardControlTime": "00:00",
          "halfGuardControlTime": "00:00",
          "miscGroundControlTime": "00:00",
          "mountControlTime": "00:00",
          "neutralTime": "01:43",
          "sideControlTime": "00:00",
          "standingTime": "01:51"
        },
        "fighterId": 4072,
        "grappling": {
          "reversals": {
            "attempts": 0,
            "landed": 0
          },
          "standups": {
            "attempts": 0,
            "landed": 0
          },
          "submissions": {
            "attempts": 0,
            "landed": 0
          },
          "takedowns": {
            "attempts": 0,
            "landed": 0
          }
        },
        "strikes": {
          "bodySignificantStrikes": {
            "attempts": 1,
            "landed": 1
          },
          "bodyTotalStrikes": {
            "attempts": 1,
            "landed": 1
          },
          "clinchBodyStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchHeadStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchLegStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchSignificantKicks": {
            "attempts": 0,
            "landed": 0
          },
          "clinchSignificantStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchTotalStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "distanceBodyKicks": {
            "attempts": 1,
            "landed": 1
          },
          "distanceBodyStrikes": {
            "attempts": 1,
            "landed": 1
          },
          "distanceHeadStrikes": {
            "attempts": 14,
            "landed": 2
          },
          "distanceLegKicks": {
            "attempts": 1,
            "landed": 0
          },
          "distanceLegStrikes": {
            "attempts": 1,
            "landed": 0
          },
          "distanceStrikes": {
            "attempts": 16,
            "landed": 3
          },
          "groundBodyStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "groundHeadStrikes": {
            "attempts": 1,
            "landed": 0
          },
          "groundLegStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "groundSignificantStrikes": {
            "attempts": 1,
            "landed": 0
          },
          "groundTotalStrikes": {
            "attempts": 1,
            "landed": 0
          },
          "headSignificantStrikes": {
            "attempts": 15,
            "landed": 2
          },
          "headTotalStrikes": {
            "attempts": 15,
            "landed": 2
          },
          "knockDown": {
            "attempts": 0,
            "landed": 0
          },
          "legsSignificantStrikes": {
            "attempts": 1,
            "landed": 0
          },
          "legsTotalStrikes": {
            "attempts": 1,
            "landed": 0
          },
          "significantStrikes": {
            "attempts": 17,
            "landed": 3
          },
          "totalStrikes": {
            "attempts": 17,
            "landed": 3
          }
        }
      },
      "red": {
        "TIP": {
          "backControlTime": "00:00",
          "clinchTime": "00:09",
          "controlTime": "03:17",
          "distanceTime": "01:42",
          "groundControlTime": "03:09",
          "groundTime": "03:09",
          "guardControlTime": "00:00",
          "halfGuardControlTime": "01:14",
          "miscGroundControlTime": "00:03",
          "mountControlTime": "01:52",
          "neutralTime": "01:43",
          "sideControlTime": "00:00",
          "standingTime": "01:51"
        },
        "fighterId": 1707,
        "grappling": {
          "reversals": {
            "attempts": 0,
            "landed": 0
          },
          "standups": {
            "attempts": 0,
            "landed": 0
          },
          "submissions": {
            "attempts": 0,
            "landed": 0
          },
          "takedowns": {
            "attempts": 2,
            "landed": 1
          }
        },
        "strikes": {
          "bodySignificantStrikes": {
            "attempts": 3,
            "landed": 1
          },
          "bodyTotalStrikes": {
            "attempts": 5,
            "landed": 3
          },
          "clinchBodyStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchHeadStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchLegStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchSignificantKicks": {
            "attempts": 0,
            "landed": 0
          },
          "clinchSignificantStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "clinchTotalStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "distanceBodyKicks": {
            "attempts": 3,
            "landed": 1
          },
          "distanceBodyStrikes": {
            "attempts": 3,
            "landed": 1
          },
          "distanceHeadStrikes": {
            "attempts": 12,
            "landed": 3
          },
          "distanceLegKicks": {
            "attempts": 0,
            "landed": 0
          },
          "distanceLegStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "distanceStrikes": {
            "attempts": 15,
            "landed": 4
          },
          "groundBodyStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "groundHeadStrikes": {
            "attempts": 25,
            "landed": 18
          },
          "groundLegStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "groundSignificantStrikes": {
            "attempts": 25,
            "landed": 18
          },
          "groundTotalStrikes": {
            "attempts": 80,
            "landed": 67
          },
          "headSignificantStrikes": {
            "attempts": 37,
            "landed": 21
          },
          "headTotalStrikes": {
            "attempts": 90,
            "landed": 68
          },
          "knockDown": {
            "attempts": 0,
            "landed": 0
          },
          "legsSignificantStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "legsTotalStrikes": {
            "attempts": 0,
            "landed": 0
          },
          "significantStrikes": {
            "attempts": 40,
            "landed": 22
          },
          "totalStrikes": {
            "attempts": 95,
            "landed": 71
          }
        }
      }
    }
  },
  "seqNum": 300,
  "status": "",
  "timestamp": "2024-11-17T01:28:58.924780Z",
  "weightclass": "Heavyweight"
}

Last updated