CS2 API guides & tutorials
Build-with-the-API tutorials for Counter-Strike 2 data: quickstart, pulling match data, dashboards, bots, streaming updates, and more. Real, copy-pasteable code.
The latest guides
CS2 team rankings API: pull the board in Python
CS2 team rankings API guide: one GET can return the whole board with value, form and weekly movement. Add rating, trend and history. Python code, real output.
CS2 player stats API: figures, percentiles, maps and weapons
CS2 player stats API guide: pull 12-month figures with percentiles, per-map splits, recent matches, team history and weapon data in Python, with real output.
CS2 match data in JSON: one real match, field by field
What CS2 match data looks like in JSON: one real ESL Pro League match, field by field, from map scores and vetoes to round rows and player stats.
Earlier guides
July 202610 guides
- Read the CS2 market odds line via the API5 min read
- How to pull CS2 match data from the API (filters + pagination)6 min read
- Analysing CS2 stats in Python with pandas5 min read
- Stream CS2 match updates over WebSocket5 min read
- Generate a CS2 match preview (head-to-head, form, rankings)5 min read
- Build a CS2 live-scores dashboard with Next.js5 min read
- Build CS2 fantasy projections from player stats5 min read
- Build a CS2 score bot for Discord (Python)5 min read
- Handle CS2 API rate limits and build a resilient client7 min read
- CS2 API quickstart: your first call in five minutes7 min read