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.
state
- player_state · per game
- team_state · per game
combo_rounds
One row is one round of one map: every leg's state after the round, for in-play combo pricing. Key: game_id, round_no.
Request
curl -H "Authorization: Bearer $CS2API_KEY" \ "https://api.granuleux.com/v1/data/combo_rounds"
Python (all pages, as a DataFrame)
import io, os, requests, pandas as pd
url = "https://api.granuleux.com/v1/data/combo_rounds"
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":"combo_rounds"}Preview (first 20 rows, from the free sample match)
| game_id | match_id | map_no | map | round_no | team1_id | team2_id | team1_maps_before | team2_maps_before | winner_team_id | team1_rounds | team2_rounds | round_margin | round_kills | team1_round_kills | team2_round_kills | total_kills | team1_kills | team2_kills | kills_odd | rounds_odd | overtime | final_round |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 24000071 | 2400007 | 1 | ancient | 1 | 8297 | 12394 | 0 | 0 | 12394 | 0 | 1 | -1 | 9 | 4 | 5 | 9 | 4 | 5 | true | true | false | false |
| 24000071 | 2400007 | 1 | ancient | 2 | 8297 | 12394 | 0 | 0 | 12394 | 0 | 2 | -2 | 8 | 3 | 5 | 17 | 7 | 10 | true | false | false | false |
| 24000071 | 2400007 | 1 | ancient | 3 | 8297 | 12394 | 0 | 0 | 8297 | 1 | 2 | -1 | 8 | 5 | 3 | 25 | 12 | 13 | true | true | false | false |
| 24000071 | 2400007 | 1 | ancient | 4 | 8297 | 12394 | 0 | 0 | 8297 | 2 | 2 | 0 | 9 | 5 | 4 | 34 | 17 | 17 | false | false | false | false |
| 24000071 | 2400007 | 1 | ancient | 5 | 8297 | 12394 | 0 | 0 | 8297 | 3 | 2 | 1 | 8 | 5 | 3 | 42 | 22 | 20 | false | true | false | false |
| 24000071 | 2400007 | 1 | ancient | 6 | 8297 | 12394 | 0 | 0 | 12394 | 3 | 3 | 0 | 6 | 2 | 4 | 48 | 24 | 24 | false | false | false | false |
| 24000071 | 2400007 | 1 | ancient | 7 | 8297 | 12394 | 0 | 0 | 8297 | 4 | 3 | 1 | 6 | 4 | 2 | 54 | 28 | 26 | false | true | false | false |
| 24000071 | 2400007 | 1 | ancient | 8 | 8297 | 12394 | 0 | 0 | 12394 | 4 | 4 | 0 | 6 | 2 | 4 | 60 | 30 | 30 | false | false | false | false |
| 24000071 | 2400007 | 1 | ancient | 9 | 8297 | 12394 | 0 | 0 | 12394 | 4 | 5 | -1 | 9 | 4 | 5 | 69 | 34 | 35 | true | true | false | false |
| 24000071 | 2400007 | 1 | ancient | 10 | 8297 | 12394 | 0 | 0 | 12394 | 4 | 6 | -2 | 6 | 1 | 5 | 75 | 35 | 40 | true | false | false | false |
| 24000071 | 2400007 | 1 | ancient | 11 | 8297 | 12394 | 0 | 0 | 12394 | 4 | 7 | -3 | 4 | 1 | 3 | 79 | 36 | 43 | true | true | false | false |
| 24000071 | 2400007 | 1 | ancient | 12 | 8297 | 12394 | 0 | 0 | 8297 | 5 | 7 | -2 | 9 | 5 | 4 | 88 | 41 | 47 | false | false | false | false |
| 24000071 | 2400007 | 1 | ancient | 13 | 8297 | 12394 | 0 | 0 | 12394 | 5 | 8 | -3 | 7 | 2 | 5 | 95 | 43 | 52 | true | true | false | false |
| 24000071 | 2400007 | 1 | ancient | 14 | 8297 | 12394 | 0 | 0 | 12394 | 5 | 9 | -4 | 6 | 1 | 5 | 101 | 44 | 57 | true | false | false | false |
| 24000071 | 2400007 | 1 | ancient | 15 | 8297 | 12394 | 0 | 0 | 12394 | 5 | 10 | -5 | 5 | 0 | 5 | 106 | 44 | 62 | false | true | false | false |
| 24000071 | 2400007 | 1 | ancient | 16 | 8297 | 12394 | 0 | 0 | 12394 | 5 | 11 | -6 | 7 | 2 | 5 | 113 | 46 | 67 | true | false | false | false |
| 24000071 | 2400007 | 1 | ancient | 17 | 8297 | 12394 | 0 | 0 | 12394 | 5 | 12 | -7 | 6 | 1 | 5 | 119 | 47 | 72 | true | true | false | false |
| 24000071 | 2400007 | 1 | ancient | 18 | 8297 | 12394 | 0 | 0 | 12394 | 5 | 13 | -8 | 7 | 2 | 5 | 126 | 49 | 77 | false | false | false | true |
| 24000072 | 2400007 | 2 | dust2 | 1 | 8297 | 12394 | 0 | 1 | 8297 | 1 | 0 | 1 | 8 | 5 | 3 | 8 | 5 | 3 | false | true | false | false |
| 24000072 | 2400007 | 2 | dust2 | 2 | 8297 | 12394 | 0 | 1 | 8297 | 2 | 0 | 2 | 2 | 1 | 1 | 10 | 6 | 4 | false | false | false | false |