Developers · API Reference
API v1

Data API · Statistics

Get team parameter statistics for a match

GET/api/v1/datas/team-statistics/{match_id}

Returns every calculated parameter for 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_api

Reference 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

ParameterTypeRequiredDescription
match_id integer Required Match ID Minimum 1.

Query parameters

ParameterTypeRequiredDescription
format string Required Response format. Allowed: json, csv, xml.
case string Optional JSON response key style. Default: camelCase. Allowed: camelCase, snake_case.

Response attributes

AttributeTypeDescription
matchobjectThe match the statistics belong to.
match.idintegerMatch ID.
match.homeTeamIdintegerHome team ID.
match.awayTeamIdintegerAway team ID.
homeTeamobjectHome team and its statistics.
homeTeam.teamIdintegerHome team ID, the same ID as /teams/{id}.
homeTeam.namestring|nullHome team name.
homeTeam.statisticsarrayOne entry per calculated team parameter, ordered as SMRT Stats presents them. Empty until the match has been analysed.
homeTeam.statistics[].parameterIdintegerID of the parameter. Stable across matches, teams and players: use it, rather than parameterName, to follow one parameter over time.
homeTeam.statistics[].parameterNamestringEnglish 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.statistics[].groupobject|nullThe group SMRT Stats files the parameter under. null when the parameter belongs to no group.
homeTeam.statistics[].group.idintegerParameter group ID.
homeTeam.statistics[].group.namestringParameter group name.
homeTeam.statistics[].valuenumber|nullThe 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.statistics[].halvesobject|nullThe value split by half. null when the parameter is not broken down by half.
homeTeam.statistics[].halves.firstHalfnumber|nullFrom kick-off to the half-time whistle, including first-half stoppage time.
homeTeam.statistics[].halves.secondHalfnumber|nullFrom the second-half kick-off to the final whistle, including stoppage time.
homeTeam.statistics[].halves.extraTimeFirstHalfnumber|nullFirst half of extra time. null when the match had no extra time.
homeTeam.statistics[].halves.extraTimeSecondHalfnumber|nullSecond half of extra time. null when the match had no extra time.
homeTeam.statistics[].halves.penaltyShootoutnumber|nullCounted over the penalty shootout only, and not part of value. 0 or null when there was no shootout.
homeTeam.statistics[].periodsarray|nullThe 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.statistics[].periods[].periodintegerPeriod 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.statistics[].periods[].valuenumber|nullThe parameter counted only over that period. null for periods 7 and 8 when the match had no extra time.
homeTeam.statistics[].zonesarray|nullThe 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.statistics[].zones[].zonestringZone 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.statistics[].zones[].valuenumber|nullThe parameter counted only over events whose starting point lies in this zone. null when the engine did not calculate it for this zone.
homeTeam.statistics[].calculatedAtstringWhen the engine first calculated this value, ISO 8601.
homeTeam.statistics[].updatedAtstringWhen the engine last recalculated this value, ISO 8601. Later than calculatedAt when the match was re-analysed.
awayTeamobjectAway team and its statistics.
awayTeam.teamIdintegerAway team ID, the same ID as /teams/{id}.
awayTeam.namestring|nullAway team name.
awayTeam.statisticsarraySame structure as homeTeam.statistics, for the away team.
awayTeam.statistics[].parameterIdintegerID of the parameter. Stable across matches, teams and players: use it, rather than parameterName, to follow one parameter over time.
awayTeam.statistics[].parameterNamestringEnglish 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.statistics[].groupobject|nullThe group SMRT Stats files the parameter under. null when the parameter belongs to no group.
awayTeam.statistics[].group.idintegerParameter group ID.
awayTeam.statistics[].group.namestringParameter group name.
awayTeam.statistics[].valuenumber|nullThe 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.statistics[].halvesobject|nullThe value split by half. null when the parameter is not broken down by half.
awayTeam.statistics[].halves.firstHalfnumber|nullFrom kick-off to the half-time whistle, including first-half stoppage time.
awayTeam.statistics[].halves.secondHalfnumber|nullFrom the second-half kick-off to the final whistle, including stoppage time.
awayTeam.statistics[].halves.extraTimeFirstHalfnumber|nullFirst half of extra time. null when the match had no extra time.
awayTeam.statistics[].halves.extraTimeSecondHalfnumber|nullSecond half of extra time. null when the match had no extra time.
awayTeam.statistics[].halves.penaltyShootoutnumber|nullCounted over the penalty shootout only, and not part of value. 0 or null when there was no shootout.
awayTeam.statistics[].periodsarray|nullThe 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.statistics[].periods[].periodintegerPeriod 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.statistics[].periods[].valuenumber|nullThe parameter counted only over that period. null for periods 7 and 8 when the match had no extra time.
awayTeam.statistics[].zonesarray|nullThe 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.statistics[].zones[].zonestringZone 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.statistics[].zones[].valuenumber|nullThe parameter counted only over events whose starting point lies in this zone. null when the engine did not calculate it for this zone.
awayTeam.statistics[].calculatedAtstringWhen the engine first calculated this value, ISO 8601.
awayTeam.statistics[].updatedAtstringWhen the engine last recalculated this value, ISO 8601. Later than calculatedAt when the match was re-analysed.