Data API · Statistics
Get player parameter statistics for a match
GET/api/v1/datas/player-statistics/{match_id}
Returns every calculated parameter for every player of both teams in one match, with the match total and its breakdown by half, by 15-minute period and by pitch zone. Values are written by the SMRT Stats statistics engine once a match has been analysed, so the statistics lists are empty until then and a value can change if the match is re-analysed; updatedAt says when it last did. A parameter is identified by parameterId, which is stable across matches. CSV returns one row per team (or player) and parameter, with each half, period and zone in its own column; XML mirrors the JSON structure. xG (expected goals) and all smrtIndex metrics are excluded from every response format.
Bearer authentication required · service: data_apiReference only — this page never sends API requests or exposes token controls.
Response formats
When format is listed below, use json for the response documented here, or csv and xml for downloads. JSON uses camelCase by default; set case=snake_case when supported for legacy key names. Nested response fields use dot notation; [] denotes an array item and {key} a dynamic object key.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| match_id | integer | Required | Match ID Minimum 1. |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| format | string | Required | Response format. Allowed: json, csv, xml. |
| case | string | Optional | JSON response key style. Default: camelCase. Allowed: camelCase, snake_case. |
Response attributes
| Attribute | Type | Description |
|---|---|---|
| match | object | The match the statistics belong to. |
| match.id | integer | Match ID. |
| match.homeTeamId | integer | Home team ID. |
| match.awayTeamId | integer | Away team ID. |
| homeTeam | object | Home team and its statistics. |
| homeTeam.teamId | integer | Home team ID, the same ID as /teams/{id}. |
| homeTeam.name | string|null | Home team name. |
| homeTeam.players | array | Home players with at least one calculated parameter in this match, ordered by shirt number. Players who did not take part have no statistics and are not listed. Empty until the match has been analysed. |
| homeTeam.players[].playerId | integer | Player ID, the same ID as /players/{id}. |
| homeTeam.players[].name | string|null | Player first name. |
| homeTeam.players[].surname | string|null | Player surname. |
| homeTeam.players[].number | integer|null | Shirt number in this match; null when it was not recorded. |
| homeTeam.players[].statistics | array | One entry per calculated player parameter, ordered as SMRT Stats presents them. |
| homeTeam.players[].statistics[].parameterId | integer | ID of the parameter. Stable across matches, teams and players: use it, rather than parameterName, to follow one parameter over time. |
| homeTeam.players[].statistics[].parameterName | string | English name of the parameter as SMRT Stats defines it. The name also says what the value measures: most parameters are counts of actions, and those named as a percentage are percentages from 0 to 100. |
| homeTeam.players[].statistics[].group | object|null | The group SMRT Stats files the parameter under. null when the parameter belongs to no group. |
| homeTeam.players[].statistics[].group.id | integer | Parameter group ID. |
| homeTeam.players[].statistics[].group.name | string | Parameter group name. |
| homeTeam.players[].statistics[].goalkeeperParameter | boolean | true when the parameter describes goalkeeping work, such as saves or goals conceded. Goalkeeping parameters are meaningful for goalkeepers only. |
| homeTeam.players[].statistics[].value | number|null | The value for the whole match: both halves plus both halves of extra time when played. The penalty shootout is not included; see halves.penaltyShootout. null when the engine could not calculate the parameter for this match. |
| homeTeam.players[].statistics[].halves | object|null | The value split by half. null when the parameter is not broken down by half. |
| homeTeam.players[].statistics[].halves.firstHalf | number|null | From kick-off to the half-time whistle, including first-half stoppage time. |
| homeTeam.players[].statistics[].halves.secondHalf | number|null | From the second-half kick-off to the final whistle, including stoppage time. |
| homeTeam.players[].statistics[].halves.extraTimeFirstHalf | number|null | First half of extra time. null when the match had no extra time. |
| homeTeam.players[].statistics[].halves.extraTimeSecondHalf | number|null | Second half of extra time. null when the match had no extra time. |
| homeTeam.players[].statistics[].halves.penaltyShootout | number|null | Counted over the penalty shootout only, and not part of value. 0 or null when there was no shootout. |
| homeTeam.players[].statistics[].periods | array|null | The value split into eight periods, always listed 1 to 8. Each half is cut into 15-minute periods counted from that half's own kick-off, and the last period of each half runs to its final whistle, so it carries the stoppage time. null when the parameter is not broken down by period. |
| homeTeam.players[].statistics[].periods[].period | integer | Period number. 1: 0-15 min. 2: 15-30 min. 3: 30 min to half-time, including first-half stoppage time. 4: 45-60 min. 5: 60-75 min. 6: 75 min to full time, including stoppage time. 7: first half of extra time. 8: second half of extra time. |
| homeTeam.players[].statistics[].periods[].value | number|null | The parameter counted only over that period. null for periods 7 and 8 when the match had no extra time. |
| homeTeam.players[].statistics[].zones | array|null | The value split by the pitch zone in which each counted event started, always listed in the order 1B, 1L, 1C, 1R, 2L, 2C, 2R, 3L, 3C, 3R, 4L, 4C, 4R, 4B. Zones are seen from the team the row belongs to, whichever end it played towards in each half: band 1 is at its own goal and band 4 at the opponent's goal. null when the parameter is not broken down by zone. |
| homeTeam.players[].statistics[].zones[].zone | string | Zone code: a band number and a letter. The pitch is 105 x 68 m in the same coordinate system as coordX and coordY in /events. Bands run along the length of the pitch, 26.25 m each: 1 is 0-26.25 m from the team's own goal line, 2 is 26.25-52.5 m (own half), 3 is 52.5-78.75 m (opponent's half) and 4 is 78.75-105 m. Within a band, L is the 13.85 m channel along the y = 68 touchline, R the 13.85 m channel along the y = 0 touchline, and C the 40.3 m central strip between them. B is a penalty area: 1B the team's own and 4B the opponent's, 16.5 m deep. In bands 1 and 4, C is only the strip between the penalty area and the next band. |
| homeTeam.players[].statistics[].zones[].value | number|null | The parameter counted only over events whose starting point lies in this zone. null when the engine did not calculate it for this zone. |
| homeTeam.players[].statistics[].calculatedAt | string | When the engine first calculated this value, ISO 8601. |
| homeTeam.players[].statistics[].updatedAt | string | When the engine last recalculated this value, ISO 8601. Later than calculatedAt when the match was re-analysed. |
| awayTeam | object | Away team and its statistics. |
| awayTeam.teamId | integer | Away team ID, the same ID as /teams/{id}. |
| awayTeam.name | string|null | Away team name. |
| awayTeam.players | array | Same structure as homeTeam.players, for the away team. |
| awayTeam.players[].playerId | integer | Player ID, the same ID as /players/{id}. |
| awayTeam.players[].name | string|null | Player first name. |
| awayTeam.players[].surname | string|null | Player surname. |
| awayTeam.players[].number | integer|null | Shirt number in this match; null when it was not recorded. |
| awayTeam.players[].statistics | array | One entry per calculated player parameter, ordered as SMRT Stats presents them. |
| awayTeam.players[].statistics[].parameterId | integer | ID of the parameter. Stable across matches, teams and players: use it, rather than parameterName, to follow one parameter over time. |
| awayTeam.players[].statistics[].parameterName | string | English name of the parameter as SMRT Stats defines it. The name also says what the value measures: most parameters are counts of actions, and those named as a percentage are percentages from 0 to 100. |
| awayTeam.players[].statistics[].group | object|null | The group SMRT Stats files the parameter under. null when the parameter belongs to no group. |
| awayTeam.players[].statistics[].group.id | integer | Parameter group ID. |
| awayTeam.players[].statistics[].group.name | string | Parameter group name. |
| awayTeam.players[].statistics[].goalkeeperParameter | boolean | true when the parameter describes goalkeeping work, such as saves or goals conceded. Goalkeeping parameters are meaningful for goalkeepers only. |
| awayTeam.players[].statistics[].value | number|null | The value for the whole match: both halves plus both halves of extra time when played. The penalty shootout is not included; see halves.penaltyShootout. null when the engine could not calculate the parameter for this match. |
| awayTeam.players[].statistics[].halves | object|null | The value split by half. null when the parameter is not broken down by half. |
| awayTeam.players[].statistics[].halves.firstHalf | number|null | From kick-off to the half-time whistle, including first-half stoppage time. |
| awayTeam.players[].statistics[].halves.secondHalf | number|null | From the second-half kick-off to the final whistle, including stoppage time. |
| awayTeam.players[].statistics[].halves.extraTimeFirstHalf | number|null | First half of extra time. null when the match had no extra time. |
| awayTeam.players[].statistics[].halves.extraTimeSecondHalf | number|null | Second half of extra time. null when the match had no extra time. |
| awayTeam.players[].statistics[].halves.penaltyShootout | number|null | Counted over the penalty shootout only, and not part of value. 0 or null when there was no shootout. |
| awayTeam.players[].statistics[].periods | array|null | The value split into eight periods, always listed 1 to 8. Each half is cut into 15-minute periods counted from that half's own kick-off, and the last period of each half runs to its final whistle, so it carries the stoppage time. null when the parameter is not broken down by period. |
| awayTeam.players[].statistics[].periods[].period | integer | Period number. 1: 0-15 min. 2: 15-30 min. 3: 30 min to half-time, including first-half stoppage time. 4: 45-60 min. 5: 60-75 min. 6: 75 min to full time, including stoppage time. 7: first half of extra time. 8: second half of extra time. |
| awayTeam.players[].statistics[].periods[].value | number|null | The parameter counted only over that period. null for periods 7 and 8 when the match had no extra time. |
| awayTeam.players[].statistics[].zones | array|null | The value split by the pitch zone in which each counted event started, always listed in the order 1B, 1L, 1C, 1R, 2L, 2C, 2R, 3L, 3C, 3R, 4L, 4C, 4R, 4B. Zones are seen from the team the row belongs to, whichever end it played towards in each half: band 1 is at its own goal and band 4 at the opponent's goal. null when the parameter is not broken down by zone. |
| awayTeam.players[].statistics[].zones[].zone | string | Zone code: a band number and a letter. The pitch is 105 x 68 m in the same coordinate system as coordX and coordY in /events. Bands run along the length of the pitch, 26.25 m each: 1 is 0-26.25 m from the team's own goal line, 2 is 26.25-52.5 m (own half), 3 is 52.5-78.75 m (opponent's half) and 4 is 78.75-105 m. Within a band, L is the 13.85 m channel along the y = 68 touchline, R the 13.85 m channel along the y = 0 touchline, and C the 40.3 m central strip between them. B is a penalty area: 1B the team's own and 4B the opponent's, 16.5 m deep. In bands 1 and 4, C is only the strip between the penalty area and the next band. |
| awayTeam.players[].statistics[].zones[].value | number|null | The parameter counted only over events whose starting point lies in this zone. null when the engine did not calculate it for this zone. |
| awayTeam.players[].statistics[].calculatedAt | string | When the engine first calculated this value, ISO 8601. |
| awayTeam.players[].statistics[].updatedAt | string | When the engine last recalculated this value, ISO 8601. Later than calculatedAt when the match was re-analysed. |