CS2 Prediction APIPrediction model guide

CS2 Prediction API: leak-free pre-match features for win and map models.

Feed Elo, gradient-boosted trees, or neural match predictors with clean pre-match signals: active 5-player lineup ADR and rating, 90-day map win% and CT/T economy splits, map veto order, date-pinned VRS rankings, and historical closing odds.

  • Active 5-man lineup-stats
  • Point-in-time VRS ?before=
  • 34,150+ matches to backtest
GET /cs2/matches/cs2-match-2400244/lineup-stats?windowDays=90200 OK
$ curl "https://api.citoapi.com/api/v1/cs2/matches/cs2-match-2400244/lineup-stats?windowDays=90" \ -H "x-api-key: $CITO_API_KEY"
{  "success": true,  "data": {    "matchId": "cs2-match-2400244",    "windowDays": 90,    "dataAvailable": true,    "team1": {      "players": [        {          "nickname": "stefienson",          "adr": 70.8,          "kdRatio": 1.04,          "rating": 1.08,          "MORE": "__more__"        }      ]    }  }}

Seamless Integration with our MCP Server

Give Claude, Cursor and ChatGPT the CS2 data. One command writes the MCP config; agents call live scoreboard, team map stat, opening duel and transfer tools instead of inventing match IDs, and your key stays on your machine.

MCPInstall the Cito MCP server
Claude
Cursor
OpenAI
Python
Cito API
Next.js
Discord
Slack
GitHub

High-signal features without look-ahead leakage

Every feature endpoint supports rolling windows or date cutoffs so backtests match live inference.

Active 5-man lineup form

GET /cs2/matches/{id}/lineup-stats aggregates ADR, KAST, K/D, and rating for the exact 5 players starting today.

90-day map & side splits

GET /cs2/teams/{id}/map-stats?windowDays=90 returns per-map win%, pick%, CT/T round win%, pistol, and force-buy rates.

Veto ban/pick order

Structured vetoOrder arrays let two-stage models re-compute series win probability right after map vetoes finish.

Date-pinned VRS ranks

GET /cs2/rankings/vrs?before=YYYY-MM-DD prevents future ranking points from leaking into historical training rows.

Opening & clutch rates

Entry kill success rates and 1vX clutch conversions separate high-impact rosters from empty-stat teams.

Closing-line calibration

Benchmark your predicted probabilities against /cs2/matches/{id}/odds/history closing prices on Pro+.

Core feature endpoints for a CS2 prediction pipeline

Feature groupEndpointKey signals returned
Starting roster strengthGET /cs2/matches/{id}/lineup-stats?windowDays=90Per-starter rating, ADR, K/D, KAST over rolling window
Map pool & CT/T economyGET /cs2/teams/{id}/map-stats?windowDays=90Map win%, pick%, CT/T half win%, pistol & eco win%
Series head-to-headGET /cs2/h2h/{team1}/{team2}Historical series tally, map-level meetings, recent form
Point-in-time strengthGET /cs2/rankings/vrs?before=YYYY-MM-DDExact Valve Regional Standings points & rank before match start
Market benchmark (Pro+)GET /cs2/matches/{id}/odds/historyOpening to closing decimal odds for CLV evaluation

Assemble pre-match prediction features in Python

Combine starting lineup form, 90-day map pools, and head-to-head history in three clean calls.

build_match_features.py (Python)
import os
import requests

BASE = "https://api.citoapi.com/api/v1"
HEADERS = {"x-api-key": os.environ["CITO_API_KEY"]}

def fetch_features(match_id: str, team1: str, team2: str) -> dict:
    lineup = requests.get(f"{BASE}/cs2/matches/{match_id}/lineup-stats", params={"windowDays": 90}, headers=HEADERS, timeout=15).json()["data"]
    t1_maps = requests.get(f"{BASE}/cs2/teams/{team1}/map-stats", params={"windowDays": 90}, headers=HEADERS, timeout=15).json()["data"]
    h2h = requests.get(f"{BASE}/cs2/h2h/{team1}/{team2}", headers=HEADERS, timeout=15).json()["data"]
    return {"lineup": lineup, "team1_map_pool": t1_maps, "h2h": h2h}

features = fetch_features("cs2-match-2400244", "vitality", "faze")
print("Loaded lineup available:", features["lineup"].get("dataAvailable"))

Archive scale & latency

Measured on the production CS2 database.

  • The CS2 API indexes 34,424 Counter-Strike 2 matches, 5,204 teams and 10,668 players across 2,507 tournaments (as of 28 November 2026).
  • The CS2 API answered 197,791 requests in the 24 hours to 3 October 2026 with a median server response time of 227 ms.
  • The free CS2 API plan includes 500 requests a month, 10 requests a minute and live data on a 60-second delay, with no credit card.

Endpoints you can ship with

Browse odds, team form, map-stats, and H2H endpoints.

Odds & models

Match and map winner prices with implied probability, liquidity and spread, every price change since the market opened, and the team form, map stats and head-to-head a model needs next to them.

View docs
  • GET/api/v1/cs2/matches/upcoming?include=odds

    Upcoming matches with each one's current market prices attached.

  • GET/api/v1/cs2/matches/{matchId}/odds

    Match and map winner odds: decimal price, implied probability, liquidity, spread, status.

  • GET/api/v1/cs2/matches/{matchId}/odds/history

    Every captured price change for the match and each map, oldest first.

  • GET/api/v1/cs2/teams/{teamIdOrSlug}/form

    A team's recent results and win rate.

  • GET/api/v1/cs2/teams/{teamIdOrSlug}/map-stats

    Win rate and matches played on each map.

  • GET/api/v1/cs2/h2h/{teamIdOrSlug}/{opponentIdOrSlug}

    Head-to-head record and the meetings behind it.

Frequently asked questions

Model training, look-ahead bias, and bulk datasets

Something missing? Email support@citoapi.com.

How do I prevent data leakage when training a CS2 prediction model?

Query historical VRS rankings with ?before=YYYY-MM-DD on /cs2/rankings/vrs, compute rolling player and map features strictly from completed matches prior to startsAt, and handle roster transfers via /cs2/transfers or lineup-stats.

Does the CS2 Prediction API predict winners directly or supply raw model features?

It supplies clean, structured pre-match features (5-man lineup stats, 90-day map pools, vetoes, point-in-time VRS rankings, H2H) plus market-implied probabilities on /cs2/matches/{id}/odds so you own your model weights and edge.

Can I download all 34,150+ historical matches as CSVs instead of paging REST?

Yes. Business CSV ($299/month) provides matches-master.csv.gz, players-master.csv.gz, and Daily Delta CSV files at 0 REST credits; see the CS2 CSV Dataset page.

See pricing

Predict series winners

Prototype your feature pipeline free, then train on the full 2017+ archive.