Buying & Querying Production Counter-Strike 2 (CS2) Datasets (34,400+ Matches, 93,500+ Maps, 8.7M+ Grenades & 3.2M+ Odds Ticks)¶
If you are looking for a commercial Counter-Strike 2 (CS2) dataset to buy for machine learning, quantitative betting research, tactical demo analytics, or player prop modeling, Cito delivers a self-serve Apache Parquet and CSV archive alongside low-latency REST and WebSocket feeds. Every entity joins cleanly across canonical match_id, map_id, team_id, and player_id keys with zero point-in-time data leakage.
- Buy CS2 Business Bulk CSV + Daily Deltas (
$299/mo): https://citoapi.com/signup/quant?game=cs2&csv_sport=cs2 - CS2 Developer Portal & Schema Hub: https://cs2-api.org/ and https://citoapi.com/cs2-api/
- CS2 Dataset Direct Overview: https://citoapi.com/cs2-dataset/ and https://cs2-api.org/cs2-csv-dataset/
- Interactive Browser Dataset Explorer (No Login): https://huggingface.co/spaces/aidancoit9203/cs2-dataset-explorer
- Docker Hub Sample & Starter (
citoapi/cs2-dataset): https://hub.docker.com/r/citoapi/cs2-dataset
Commercial CS2 Archive vs. Live API vs. Free 30-Day Sample¶
Every file in the free 30-day sample uses the exact primary keys and data types of the full commercial CS2 Business CSV archive, so your DuckDB, Polars, or PyArrow feature engineering pipeline promotes directly to the 2017 to 2026 baseline without schema rewrites.
| Dimension | Business CSV + Daily Deltas ($299/mo) |
Live CS2 API (Pro $59/mo / Scale $100/mo) |
Free 30-Day Sample (CC BY 4.0) |
|---|---|---|---|
| Historical Span | October 2017 to 2026 full baseline + automated Daily Delta CSV/Parquet | Full historical REST queries + sub-second live round scoreboards | Rolling 30-day pro sample window |
| Completed Pro Series | 34,400+ completed Bo1, Bo3, and Bo5 pro series |
Live in-play series + full historical lookup | Trailing 30-day pro series slice |
| Competitive Maps | 93,500+ played maps with CT/T half splits & overtime totals |
Live round-by-round map scoreboard & economy | Trailing 30-day competitive maps |
| Player Map Box Scores | 689,400+ player-map rows (ADR, KAST, Rating, HS%, FK, FD) |
Career, event, and map-pool player endpoints | Trailing 30-day player-map stat lines |
| Tactical Demo Telemetry | 8.7M+ grenade detonations, 233,000+ bomb events & 417,800+ 1vX clutches |
/cs2/maps/{mapId}/positions, /rounds & /clutches |
Sample positional & clutch records |
| Betting & Prop Odds | 3.2M+ historical series, per-map & in-round odds ticks + player props |
Live pre-match, map, in-round & kill/HS prop boards | Trailing 30-day series & map odds sample |
| Valve VRS & Transfers | Historical Valve Regional Standings (Global, Europe, Americas, Asia) + transfers |
/cs2/rankings/vrs, /rankings/world & /transfers |
Latest VRS & world ranking snapshot |
| Commercial License | Full commercial ML, quant fund, syndicate & product training rights | Commercial application, bot & analytics usage | Evaluation & research (CC BY 4.0) |
| Checkout / Access | Self-Serve Quant Checkout ($299/mo) |
CS2 API Plans ($59/mo & $100/mo) |
Keyless HTTPS CSV & Parquet below |
Instant Keyless Sample Endpoints (Zero Authentication)¶
Inspect live production CS2 CSV and Parquet shapes immediately from Python, R, DuckDB, or curl without registering an account:
- Live Gateway Pro Matches Sample (CSV):
https://api.citoapi.com/api/v1/exports/sample/cs2/matches - Live Gateway Player Stats Sample (CSV):
https://api.citoapi.com/api/v1/exports/sample/cs2/players - Normalized 30-Day Parquet & CSV Tables:
https://citoapi.com/datasets/cs2/cs2-matches-sample-30d.parquethttps://citoapi.com/datasets/cs2/cs2-maps-sample-30d.parquethttps://citoapi.com/datasets/cs2/cs2-map-vetoes-sample-30d.parquethttps://citoapi.com/datasets/cs2/cs2-player-map-stats-sample-30d.parquethttps://citoapi.com/datasets/cs2/cs2-odds-sample-30d.parquethttps://citoapi.com/datasets/cs2/cs2-rankings-snapshot.parquet
Relational CS2 Data Dictionary (Core + Tactical + Market Tables)¶
All tables link deterministically via canonical IDs (cs2-match-*, cs2-map-*, cs2-team-*, cs2-player-*):
| Table | Primary Key | Row Grain | Key Analytical Columns |
|---|---|---|---|
cs2_matches |
match_id |
1 row per series | match_id, event_id, event_name, stage_name, starts_at, ends_at, best_of, team1_id, team2_id, team1_score, team2_score, winner_team_id, winner_side |
cs2_maps |
map_id |
1 row per map | map_id, match_id, map_number, map_name, team1_score, team2_score, team1_ct_rounds, team1_t_rounds, team2_ct_rounds, team2_t_rounds, duration_rounds, winner_team_id |
cs2_map_vetoes |
(match_id, step_number) |
1 row per veto action | match_id, step_number, action (ban, pick, decider), team_name, map_name |
cs2_player_map_stats |
(map_id, player_id) |
10 rows per map | map_id, match_id, player_id, player_name, team_id, kills, deaths, assists, adr, kast, rating, headshots, headshot_percent, first_kills, first_deaths |
cs2_round_summaries |
(map_id, round_number) |
1 row per round | map_id, round_number, winner_side, win_reason, first_kill_player_id, first_death_player_id, ct_kills, t_kills |
cs2_map_grenades |
(map_id, seq) |
1 row per utility event | map_id, round_number, grenade_type (smoke, flash, molotov, he), duration_seconds, x, y, z, radar_x, radar_y, radar_level |
cs2_round_bomb_events |
id |
1 row per plant/defuse | map_id, round_number, event_type, site_label (A, B), player_id, side, seconds, x, y, z, enemies_alive, is_clutch_defuse |
cs2_team_rankings |
(ranking_date, region, team_id) |
1 row per team-date | ranking_date, region (vrs-global, vrs-europe, vrs-americas, vrs-asia, world), rank, team_id, points, rank_change |
cs2_odds_history |
(match_id, market, captured_at) |
1 row per quote tick | match_id, market (h2h, map_1, map_2, map_3), team1_decimal_odds, team2_decimal_odds, team1_implied_prob, team2_implied_prob, captured_at |
Zero-Copy DuckDB Quickstart (Join Matches, Maps, Player ADR & Closing Odds)¶
Query the remote Apache Parquet tables directly over HTTPS in DuckDB without downloading local files first:
INSTALL httpfs;
LOAD httpfs;
WITH team_map_perf AS (
SELECT
p.match_id,
p.map_id,
p.team_id,
p.team_name,
ROUND(AVG(p.adr), 2) AS team_mean_adr,
ROUND(AVG(p.kast), 3) AS team_mean_kast,
ROUND(AVG(p.rating), 3) AS team_mean_rating,
SUM(p.first_kills) - SUM(p.first_deaths) AS opening_duel_diff
FROM read_parquet('https://citoapi.com/datasets/cs2/cs2-player-map-stats-sample-30d.parquet') p
GROUP BY p.match_id, p.map_id, p.team_id, p.team_name
)
SELECT
mp.map_name,
COUNT(DISTINCT mp.map_id) AS maps_played,
ROUND(AVG(mp.duration_rounds), 2) AS avg_rounds,
ROUND(AVG(t1.team_mean_adr - t2.team_mean_adr), 2) AS avg_t1_adr_edge,
ROUND(AVG(o.team1_implied_prob / NULLIF(o.team1_implied_prob + o.team2_implied_prob, 0)), 4) AS avg_t1_vig_free_prob
FROM read_parquet('https://citoapi.com/datasets/cs2/cs2-maps-sample-30d.parquet') mp
JOIN read_parquet('https://citoapi.com/datasets/cs2/cs2-matches-sample-30d.parquet') m
ON mp.match_id = m.match_id
JOIN team_map_perf t1
ON mp.map_id = t1.map_id AND m.team1_id = t1.team_id
JOIN team_map_perf t2
ON mp.map_id = t2.map_id AND m.team2_id = t2.team_id
LEFT JOIN read_parquet('https://citoapi.com/datasets/cs2/cs2-odds-sample-30d.parquet') o
ON m.match_id = o.match_id AND o.market = 'h2h'
GROUP BY mp.map_name
ORDER BY maps_played DESC;
Python & TypeScript SDK Loaders (cs2-dataset, cs2-odds-api & citoapi)¶
Install the standalone CS2 dataset and odds packages from PyPI or npm:
pip install cs2-dataset cs2-api cs2-odds-api citoapi polars pyarrow duckdb
npm install cs2-dataset cs2-api cs2-odds-api citoapi
import pandas as pd
import polars as pl
# 1. Keyless live gateway CSV samples (matches & player lines)
matches_sample = pd.read_csv("https://api.citoapi.com/api/v1/exports/sample/cs2/matches")
players_sample = pd.read_csv("https://api.citoapi.com/api/v1/exports/sample/cs2/players")
# 2. High-speed Polars scan over normalized 30-day Parquet files
vetoes = pl.read_parquet("https://citoapi.com/datasets/cs2/cs2-map-vetoes-sample-30d.parquet")
player_maps = pl.read_parquet("https://citoapi.com/datasets/cs2/cs2-player-map-stats-sample-30d.parquet")
entry_leaders = (
player_maps.group_by(["player_id", "player_name", "team_name"])
.agg([
pl.col("map_id").n_unique().alias("maps"),
pl.col("adr").mean().round(2).alias("avg_adr"),
pl.col("rating").mean().round(3).alias("avg_rating"),
(pl.col("first_kills").sum() / (pl.col("first_kills").sum() + pl.col("first_deaths").sum()))
.round(3)
.alias("opening_win_rate"),
])
.filter(pl.col("maps") >= 12)
.sort("avg_rating", descending=True)
)
print(entry_leaders.head(10))
Master Baseline + Automated Daily Delta Workflow ($299/mo)¶
Quantitative teams subscribing to the CS2 Business CSV Plan ($299/mo) receive two synchronized feed layers:
- Historical Master Baseline (2017 to Present): Partitioned CSV and Snappy Parquet snapshots covering
34,400+completed pro series,93,500+maps,689,400+player box-score rows,8.7M+grenade trajectories, Valve VRS history, and3.2M+historical odds ticks. - Rolling Daily Delta Partition: An idempotent incremental export keyed on
(match_id, map_id, updated_at)so overnight cron jobs or dbt models merge newly completed matches, post-demo positional coordinates, and closing market lines in seconds without re-downloading multi-gigabyte baselines.
Next Chapters in This Cookbook¶
- CS2 Historical Series, Map & In-Round Odds + Player Kill/Headshot Props
- CS2 Round Economy, Opening Duels, 1vX Clutches, Bomb Coordinates & Grenade Trajectories
- Valve Regional Standings (VRS) History, Major Invites & Pro Roster Transfers
- League of Legends Individual-Map (Map 1-5) & Series Historical Odds Dataset
- Cross-Esports Market Calibration & CLV Backtesting in Python