Data API · Statistics
Get match statistics
GET/api/v1/datas/stats/{id}/{entity}
Returns team or player statistics for one match and version.
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 |
|---|---|---|---|
| id | integer | Required | Match ID Minimum 1. |
| entity | string | Required | Statistics entity. Allowed: players, team, teams. |
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| format | string | Required | Response format. Allowed: json, csv, xml. |
| version | integer | Required | Statistics version. Allowed: 1, 2. |
| lng | string | Optional | Language code. Default: en. Maximum 10 characters. |
| case | string | Optional | JSON response key style. Default: camelCase. Allowed: camelCase, snake_case. |
Response attributes
| Attribute | Type | Description |
|---|---|---|
| match | object | Match metadata and status. |
| match.id | integer | Match ID. |
| match.statusId | integer | Match status ID. |
| match.statusTitle | string | Match status label. |
| match.homeTeamId | integer | Home team ID. |
| match.awayTeamId | integer | Away team ID. |
| homeTeam | object|array | Home-team data. An array of player records for entity=players. |
| awayTeam | object|array | Away-team data. An array of player records for entity=players. |
| homeTeam[].id | integer | Player ID when entity=players. |
| homeTeam[].name | string|null | Player name when entity=players. |
| homeTeam[].positions | array | Player positions when entity=players. |
| homeTeam[].statistics | object | Player statistics keyed by source name. |
| awayTeam[].id | integer | Player ID when entity=players. |
| awayTeam[].name | string|null | Player name when entity=players. |
| awayTeam[].positions | array | Player positions when entity=players. |
| awayTeam[].statistics | object | Player statistics keyed by source name. |