Per-map scores for one match
Map-by-map results (half/overtime splits included when known), ordered by map number. Unknown match id yields an empty list. Enveloped: `{"data": [MapResult, ...], "meta": {...}}` (not cursor-paginated; `next_cursor` is null).
Map-by-map results (half/overtime splits included when known), ordered by map number. Unknown match id yields an empty list. Enveloped: {"data": [MapResult, ...], "meta": {...}} (not cursor-paginated; next_cursor is null).
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 slug. cs2 is the only populated title today; an un-onboarded game 404s cleanly.
Resource identifier — either a UUID or the resource's human-readable slug, scoped to {game}. /v1/cs2/teams/natus-vincere and /v1/cs2/teams/019f23d1-fb5c-7987-b522-47c3a5e72111 address the same row, so you can go straight from a slug you already have without first looking up its id.
Slugs work on teams, players and tournaments. Matches have no slug, so a match id must be a UUID. Either way, an identifier that resolves to nothing returns 404 not_found.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/cs2/matches/019f2858-e253-7f3d-bdff-bc7738bd1036/maps"{ "data": [ { "id": "01a0b16f-3db8-730c-b5a9-b71b7d6a057d", "match_id": "01a0a3e2-96a5-7a9f-8af2-fae0f1a7d678", "map_number": 1, "map_name": "de_inferno", "score_a": 13, "score_b": 3, "first_half_a": 10, "first_half_b": 2, "second_half_a": 3, "second_half_b": 1, "overtime_a": null, "overtime_b": null, "first_half_side_a": "ct", "status": "played", "rounds_played": 16, "started_at": "2026-09-17T21:35:38Z", "created_at": "2026-09-17T22:14:36.269238Z", "updated_at": "2026-09-19T13:58:54.417874Z" }, { "id": "01a0b2b1-b3f2-77ca-b5aa-cfad1447e816", "match_id": "01a0a3e2-96a5-7a9f-8af2-fae0f1a7d678", "map_number": 2, "map_name": "de_mirage", "score_a": 13, "score_b": 2, "first_half_a": 11, "first_half_b": 1, "second_half_a": 2, "second_half_b": 1, "overtime_a": null, "overtime_b": null, "first_half_side_a": "t", "status": "played", "rounds_played": 15, "started_at": "2026-09-17T22:29:11Z", "created_at": "2026-09-18T04:06:50.042061Z", "updated_at": "2026-09-19T13:58:54.417874Z" } ], "meta": { "count": 2, "next_cursor": null }}{ "error": { "code": "not_found", "message": "not found", "request_id": "019f3d18-c15f-7319-81a7-343e8a80a578" }}{ "error": { "code": "not_found", "message": "not found", "request_id": "019f3d18-c15f-7319-81a7-343e8a80a578" }}{ "error": { "code": "rate_limited", "message": "rate limit exceeded", "request_id": "019f3d18-c15f-7319-81a7-343e8a80a578" }}Pre-match roster snapshots for a match GET
Each team's listed roster as it stood in the 48 hours before the match, oldest snapshot first within each team. **This is a roster snapshot, not a confirmed starting five.** Substitutes are listed too, so `player_ids` usually holds 6 or 7 ids and can hold anywhere from 1 to 11 — never assume a length of 5. The five who actually played are the player rows on `/stats`; compare the two to see who was benched or who stood in. A new row is written only when a team's roster differs from its previous snapshot, so most teams have exactly one row per match, and a second row means the roster changed in the run-up. An old `captured_at` is therefore not staleness. Coverage starts on 2026-07-09 and reaches roughly 6 in 10 matches since then; every earlier match returns an empty list. `data_available.lineups` and `?has=lineups` tell you which. An unknown match id also returns an empty list.
Round-by-round team stats for one match GET
Per-team, per-round CS2 breakdown — two rows per round (one per team): side, win, economy, equipment, opening duels, trades, clutches, bomb events, KAST, utility. Ordered by map number, then round number, then side. Team-level (not per-player). Unknown match id yields an empty list. Enveloped: `{"data": [RoundTeamStat, ...], "meta": {...}}` (not cursor-paginated; `next_cursor` is null).