Players

A player's team history

The player's team history as stints, newest first. A stint is a run of consecutive matches for one team, taken from the team named on the player's line in each completed match. A run of fewer than `min_matches` (3) matches is a stand-in appearance and is left out unless it is the current one, and two runs for the same team split only by a left-out run are one stint. The newest stint is `current` only while its last match is within 90 days of the newest result in our data; otherwise no stint is current. Enveloped `{"data": PlayerTeams}`.

GET
/v1/{game}/players/{id}/teams

The player's team history as stints, newest first. A stint is a run of consecutive matches for one team, taken from the team named on the player's line in each completed match. A run of fewer than min_matches (3) matches is a stand-in appearance and is left out unless it is the current one, and two runs for the same team split only by a left-out run are one stint. The newest stint is current only while its last match is within 90 days of the newest result in our data; otherwise no stint is current. Enveloped {"data": PlayerTeams}.

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 — 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.

A team or a player also answers to a slug it was renamed away from, as long as no current team or player holds that slug — so a link made before a rename keeps working. The row returned carries its current slug.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/cs2/players/019f2858-e253-7f3d-bdff-bc7738bd1036/teams"
{  "data": {    "min_matches": 3,    "stints": [      {        "team": {          "id": "019f23d1-fb5c-7be8-b53d-f9801eb21ee6",          "name": "Vitality",          "slug": "vitality"        },        "from": "2023-10-16T02:35:25.175Z",        "to": "2026-10-10T13:47:56Z",        "matches": 218,        "maps": 513,        "current": true      }    ]  }}
{  "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"  }}