Data API · Events
Get event statistics
GET/api/v1/datas/events/stats/{match_id}
Returns the upstream event-statistics document for one match.
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 |
|---|---|---|---|
| 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 |
|---|---|---|
| matchId | integer | Match ID. |
| halves | array | Period records returned by the upstream event-statistics document. |
| halves[].minutes | integer|null | Duration of the period in minutes. |
| statistics | object | Statistics keyed by upstream statistic group. |
| statistics.{group} | object|array | One upstream statistics group. |
| teamEvents | object|array | Team events from the upstream document. |