cs2-dataset / README.md
aidancoit9203's picture
Initial verified 30-day rolling schema preview (CSV + Apache Parquet)
e6b789f
|
Raw History Blame Contribute Delete
10.6 kB
---
license: cc-by-4.0
pretty_name: "Counter-Strike 2 (CS2) Pro Esports Dataset (Matches, Maps, Player Stats, VRS & Odds)"
size_categories:
- 1K<n<10K
language:
- en
tags:
- cs2
- counter-strike-2
- esports
- sports-analytics
- betting-odds
- tabular
- parquet
---
# Counter-Strike 2 (CS2) Pro Esports Dataset (Matches, Maps, Player Stats, Vetoes, VRS & Odds)
Relational, machine-learning-ready **Counter-Strike 2 (CS2) pro esports dataset** in **CSV** and **Apache Parquet** formats covering the top **`100` Tier-1 & Tier-2 completed pro CS2 series (`207` maps, `2,070` player box-score lines, `700` map vetoes, `100` global rankings, and `238` pre-match/pre-map closing odds rows)** from the trailing 30-day window (`PGL Major Singapore 2026`, `BLAST`, `IEM`, `ESL`, `CCT`).
## Commercial CS2 Dataset Acquisition & Full Historical Archive (`2017` to `2026`)
Looking to **buy a complete Counter-Strike 2 (CS2) dataset** for quantitative betting models, sportsbook pricing, player prop projections, or machine learning research?
- **Self-Serve CS2 Business CSV & Quant Warehouse (`$299/mo`):** [https://citoapi.com/signup/quant?game=cs2&csv_sport=cs2](https://citoapi.com/signup/quant?game=cs2&csv_sport=cs2) (`34,400+` matches, `93,500+` maps, `689,000+` player-map ADR/KAST/Rating lines, `431,000+` rounds, `8.7M+` grenade trajectories, `3.2M+` odds ticks, `174,000+` VRS rankings + automated daily delta CSVs)
- **CS2 Dedicated Developer Portal:** [https://cs2-api.org/](https://cs2-api.org/)
- **Cito CS2 REST & WebSocket API:** [https://citoapi.com/cs2-api/](https://citoapi.com/cs2-api/)
- **CS2 Pre-Match, Map & Live Odds API:** [https://citoapi.com/cs2-odds-api/](https://citoapi.com/cs2-odds-api/)
- **Custom Historical Research Exports:** Contact `support@citoapi.com` for bespoke one-off historical Parquet/CSV research drops.
> **Rolling 30-Day Schema Preview Policy (`CC BY 4.0`):** This public repository is strictly scoped to a verified **trailing 30-day preview (`<= 100` matches / `<= 250` maps or rounds / `<= 300` utility events)** so data scientists and quants can validate exact schemas, primary/foreign keys, and `pandas` / `polars` / `duckdb` pipelines immediately before unlocking the full `2017-2026` archive.
---
## Archive Scale vs Rolling 30-Day Preview
| Metric | Full Commercial Archive ([CS2 Business CSV `$299/mo`](https://citoapi.com/signup/quant?game=cs2&csv_sport=cs2)) | Free 30-Day Preview (This Repo) |
| --- | --- | --- |
| **Temporal Coverage** | **October 2017 to November 2026** + automated daily delta CSVs | Trailing 30-day window (`2026-10-30` to `2026-11-28`) |
| **Completed Pro Series** | `34,400+` completed Bo1, Bo3 & Bo5 series | `100` Tier-1 / Tier-2 completed series |
| **Competitive Maps** | `93,500+` played maps with CT/T round splits & ticks | `207` completed maps (`<= 250` cap) |
| **Player Map Box Scores** | `689,000+` player-map ADR, KAST, Rating, HS% & entry lines | `2,070` player-map stat lines (`10` per map) |
| **Rounds & Utility** | `431,000+` rounds & `8.7M+` smoke/flash/molotov trajectories | Linked spoke previews (`<= 250` rounds, `<= 300` grenades) |
| **Betting Odds & VRS** | `3.2M+` historical odds ticks & `174,000+` VRS ranking rows | `238` pre-match/map closing rows & `100` rankings |
---
## Quick Start in Python (`pandas` / `pyarrow` / `duckdb`)
```python
import pandas as pd
matches = pd.read_parquet("cs2_matches_30d.parquet")
players = pd.read_parquet("cs2_player_map_stats_30d.parquet")
odds = pd.read_parquet("cs2_odds_sample_30d.parquet")
leaders = (
players.groupby(["player_id", "player_name", "team_name"])
.agg(maps=("map_id", "nunique"), rating=("rating", "mean"), adr=("adr", "mean"), kast=("kast", "mean"))
.query("maps >= 5")
.sort_values("rating", ascending=False)
.head(10)
)
print(leaders.to_string(index=False))
```
---
## Complete Column Dictionary
### `cs2_matches_30d.csv` / `cs2_matches_30d.parquet` (`100` rows, `16` columns)
Top 100 completed 30-day Tier-1 and Tier-2 pro CS2 series (PGL Major Singapore 2026, BLAST, IEM, ESL, CCT) with clean canonical cs2-match-* and cs2-team-* identifiers.
| Column | Type | Description |
| --- | --- | --- |
| `match_id` | `string` | Canonical CS2 match identifier (cs2-match-*). |
| `event_id` | `string` | Canonical tournament identifier (cs2-event-*). |
| `event_name` | `string` | Official CS2 tournament name. |
| `stage_name` | `string` | Bracket round or Swiss stage name. |
| `starts_at` | `datetime` | Series start timestamp in UTC (ISO 8601). |
| `ends_at` | `datetime` | Series completion timestamp in UTC (ISO 8601). |
| `best_of` | `integer` | Scheduled series format (1, 3, or 5 maps). |
| `status` | `string` | Series completion state (completed). |
| `team1_id` | `string` | Team 1 canonical identifier (cs2-team-*). |
| `team1_name` | `string` | Team 1 official display name. |
| `team2_id` | `string` | Team 2 canonical identifier (cs2-team-*). |
| `team2_name` | `string` | Team 2 official display name. |
| `team1_score` | `integer` | Maps won in the series by Team 1. |
| `team2_score` | `integer` | Maps won in the series by Team 2. |
| `winner_team_id` | `string` | Winning team canonical identifier (cs2-team-*). |
| `winner_side` | `string` | Winning team slot (team1 or team2). |
### `cs2_maps_30d.csv` / `cs2_maps_30d.parquet` (`207` rows, `13` columns)
207 completed competitive maps played inside the 100 30-day CS2 series with round totals and CT/T side splits.
| Column | Type | Description |
| --- | --- | --- |
| `map_id` | `string` | Canonical CS2 map identifier (cs2-map-*). |
| `match_id` | `string` | Foreign key to cs2_matches_30d.match_id. |
| `map_number` | `integer` | 1-indexed map order within the series. |
| `map_name` | `string` | Competitive CS2 map name (Mirage, Inferno, Nuke, Ancient, Dust2, Anubis, Cache). |
| `status` | `string` | Map completion status (completed). |
| `team1_score` | `integer` | Total rounds won on this map by Team 1. |
| `team2_score` | `integer` | Total rounds won on this map by Team 2. |
| `team1_ct_rounds` | `numeric` | Counter-Terrorist side rounds won by Team 1 when demo round summary is present. |
| `team1_t_rounds` | `numeric` | Terrorist side rounds won by Team 1 when demo round summary is present. |
| `team2_ct_rounds` | `numeric` | Counter-Terrorist side rounds won by Team 2 when demo round summary is present. |
| `team2_t_rounds` | `numeric` | Terrorist side rounds won by Team 2 when demo round summary is present. |
| `duration_rounds` | `integer` | Total rounds played on the map including overtime. |
| `winner_team_id` | `string` | Canonical ID of the team that won this map. |
### `cs2_player_map_stats_30d.csv` / `cs2_player_map_stats_30d.parquet` (`2,070` rows, `17` columns)
2,070 player-map box-score rows (10 players per map) with Kills, Deaths, Assists, ADR, KAST, Rating, Headshots, and Opening Duels.
| Column | Type | Description |
| --- | --- | --- |
| `map_id` | `string` | Foreign key to cs2_maps_30d.map_id. |
| `match_id` | `string` | Foreign key to cs2_matches_30d.match_id. |
| `player_id` | `string` | Canonical CS2 player identifier (cs2-player-*). |
| `player_name` | `string` | Player competitive in-game nickname. |
| `team_id` | `string` | Player team identifier on this map (cs2-team-*). |
| `team_name` | `string` | Player team display name on this map. |
| `kills` | `integer` | Total kills recorded on the map. |
| `deaths` | `integer` | Total deaths recorded on the map. |
| `assists` | `integer` | Total assists recorded on the map. |
| `plus_minus` | `integer` | Kill minus death differential on the map. |
| `adr` | `numeric` | Average Damage per Round (ADR). |
| `kast` | `numeric` | Fraction of rounds with a Kill, Assist, Survival, or Traded death (0 to 1). |
| `rating` | `numeric` | Composite multi-kill, survival, and impact player rating. |
| `headshots` | `integer` | Total headshot kills on the map. |
| `headshot_percent` | `numeric` | Headshot share of total kills (0 to 1). |
| `first_kills` | `integer` | Opening duel kills (entry frags) on the map. |
| `first_deaths` | `integer` | Opening duel deaths on the map. |
### `cs2_map_vetoes_30d.csv` / `cs2_map_vetoes_30d.parquet` (`700` rows, `5` columns)
700 sequential map ban, pick, and decider steps for the 100 completed 30-day CS2 series.
| Column | Type | Description |
| --- | --- | --- |
| `match_id` | `string` | Foreign key to cs2_matches_30d.match_id. |
| `step_number` | `integer` | 1-indexed step order in the series map veto sequence. |
| `action` | `string` | Veto action type (ban, pick, or decider). |
| `team_name` | `string` | Team executing the ban or pick (or Decider). |
| `map_name` | `string` | Map banned, picked, or left over. |
### `cs2_rankings_snapshot.csv` / `cs2_rankings_snapshot.parquet` (`100` rows, `7` columns)
Top 100 global CS2 team standings snapshot from the trailing 30-day window.
| Column | Type | Description |
| --- | --- | --- |
| `ranking_date` | `datetime` | Snapshot date in ISO YYYY-MM-DD format. |
| `region` | `string` | Ranking scope (Global). |
| `rank` | `integer` | Global standing position (1 to 100). |
| `team_id` | `string` | Canonical CS2 team identifier (cs2-team-*). |
| `team_name` | `string` | Official CS2 team name. |
| `points` | `integer` | Standing points total. |
| `rank_change` | `integer` | Week-over-week rank delta. |
### `cs2_odds_sample_30d.csv` / `cs2_odds_sample_30d.parquet` (`238` rows, `7` columns)
238 pre-match series (h2h) and individual map (map_h2h_1, map_h2h_2) closing decimal odds and implied probabilities.
| Column | Type | Description |
| --- | --- | --- |
| `match_id` | `string` | Foreign key to cs2_matches_30d.match_id. |
| `market` | `string` | Market identifier (h2h, map_h2h_1, map_h2h_2). |
| `team1_decimal_odds` | `numeric` | Closing pre-start decimal odds on Team 1. |
| `team2_decimal_odds` | `numeric` | Closing pre-start decimal odds on Team 2. |
| `team1_implied_prob` | `numeric` | Raw implied probability on Team 1 (1 / decimal_odds). |
| `team2_implied_prob` | `numeric` | Raw implied probability on Team 2 (1 / decimal_odds). |
| `captured_at` | `datetime` | UTC timestamp of the closing pre-start quote. |
---
## License & Attribution
Released under **Creative Commons Attribution 4.0 International (`CC BY 4.0`)**. Please cite **[Cito API](https://citoapi.com/)**, **[cs2-api.org](https://cs2-api.org/)**, and **[lolesportsapi.com](https://lolesportsapi.com/)**. For full multi-year historical archives and daily delta CSVs, subscribe at **[citoapi.com/pricing](https://citoapi.com/pricing/)** or contact `support@citoapi.com`.