Datasets

Every dataset is one endpoint, /v1/data/<dataset>, with the same filters, column choice (fields and preset), paging and json, csv or parquet output. Pick one to build a query and preview it. Column definitions: docs.

team_state

One row is both teams at one moment: every event (kill, plant, round end) plus a 1 Hz heartbeat (per game; needs the game filter). Key: game_id, seq. Stored per game: set the game filter.

Presets
Columns (34; none ticked = all, key columns always included)
Reset
Request
curl -H "Authorization: Bearer $CS2API_KEY" \
  "https://msc-pc.tail825822.ts.net/v1/data/team_state"
Python (all pages, as a DataFrame)
import io, os, requests, pandas as pd

url = "https://msc-pc.tail825822.ts.net/v1/data/team_state"
params = {"limit": 1000,"format": "parquet"}
params = {k: v for k, v in params.items() if v is not None}
headers = {"Authorization": f"Bearer {os.environ['CS2API_KEY']}"}
frames = []
while True:
    r = requests.get(url, params=params, headers=headers)
    r.raise_for_status()
    frames.append(pd.read_parquet(io.BytesIO(r.content)))
    cursor = r.headers.get("X-Next-Cursor")
    if not cursor:
        break
    params["cursor"] = cursor
df = pd.concat(frames, ignore_index=True)
MCP (query_dataset arguments)
{"dataset":"team_state"}
Preview (first 20 rows, from the free sample match)
game_idseqround_notickt_roundeventteam_ctteam_tscore_ctscore_talive_ctalive_thp_cthp_tarmor_ctarmor_thelmets_cthelmets_tkits_ctequip_ctequip_tcash_ctcash_tbomb_plantedt_bombbomb_siteattackervictimattacker_sideweaponheadshotround_winnerround_reasonmap_winner
240000710112760freeze_endFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
240000711113401tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
240000712114042tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
240000713114683tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
240000714115324tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
240000715115965tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
240000716116606tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
240000717117247tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
240000718117888tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
240000719118529tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
24000071101191610tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
24000071111198011tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
24000071121204412tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
24000071131210813tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
24000071141217214tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
24000071151223615tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
24000071161230016tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
24000071171236417tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
24000071181242818tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM
24000071191249219tickFURIABB TEAM005550050040030000040004750600650falseTct_elimBB TEAM