V1GameMatchesIdStats

Per-player performance stats for one match

Player stat lines — whole-match aggregates (null map_number) first, then per-map rows. Ratings are our own proprietary computation. Enveloped: `{"data": [PlayerMatchStats, ...], "meta": {...}}` (not cursor-paginated; `next_cursor` is null).

GET
/v1/{game}/matches/{id}/stats

Player stat lines — whole-match aggregates (null map_number) first, then per-map rows. Ratings are our own proprietary computation. Enveloped: {"data": [PlayerMatchStats, ...], "meta": {...}} (not cursor-paginated; next_cursor is null).

Authorization

AuthorizationBearer <token>

Primary auth (live). Authorization: Bearer <api-key> — the header takes precedence over the query fallback. The raw key is hashed (SHA-256, hex) and looked up in api.keys.key_hash; the raw value is never stored.

In: header

Path Parameters

game*string

Game slug. cs2 is the only populated title today; an un-onboarded game 404s cleanly.

id*string

Resource identifier. UUID today; slug-or-UUID (TARGET) — a human slug (e.g. navi, s1mple) resolves to the same row, scoped to {game}.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/cs2/matches/018f9c7e-8b2a-7e3d-9f10-2a4b6c8d0e1f/stats"
{  "data": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "match_id": "89006248-1085-4089-ad02-d2cbc517e718",      "player_id": "f8b23bf6-c56d-4f96-b79c-96d80504663d",      "map_number": 0,      "kills": 0,      "assists": 0,      "deaths": 0,      "adr": 0,      "rating": 0,      "kast": 0,      "headshots": 0,      "first_kills": 0,      "first_deaths": 0,      "trade_kills": 0,      "trade_deaths": 0,      "clutches": 0,      "multikills_2k": 0,      "multikills_3k": 0,      "multikills_4k": 0,      "multikills_5k": 0,      "damage": 0,      "utility_value": 0,      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "meta": {    "count": 0,    "next_cursor": "string"  }}
{  "error": {    "code": "not_found",    "message": "not found",    "request_id": "018f9c7e-8b2a-7e3d-9f10-2a4b6c8d0e1f"  }}
{  "error": {    "code": "not_found",    "message": "not found",    "request_id": "018f9c7e-8b2a-7e3d-9f10-2a4b6c8d0e1f"  }}
{  "error": {    "code": "not_found",    "message": "not found",    "request_id": "018f9c7e-8b2a-7e3d-9f10-2a4b6c8d0e1f"  }}