Team vs TeamCS2 Team API hub

CS2 Head-to-Head (H2H) API: series history, map-pool overlap, and veto edge.

Compare any two Counter-Strike 2 rosters in two calls: pull all-time or Bo3-filtered series and map records via /cs2/h2h/{team1}/{team2}, then call /cs2/teams/{team1}/map-pool/vs/{team2} for a 180-day Active Duty map-by-map breakdown of win rates, average round differentials, pick/ban/decider rates, and computed map edge.

  • GET /cs2/h2h/{team1}/{team2}
  • 180d /map-pool/vs/ edge matrix
  • 500 free calls / month ($0)
GET /cs2/teams/vitality/map-pool/vs/spirit200 OK
$ curl "https://api.citoapi.com/api/v1/cs2/teams/vitality/map-pool/vs/spirit" \ -H "x-api-key: $CITO_API_KEY"
{  "success": true,  "data": {    "entityType": "cs2_team_map_pool_vs",    "team": { "id": "cs2-team-9565", "name": "Vitality" },    "opponent": { "id": "cs2-team-7020", "name": "Spirit" },    "window": { "days": 180, "defaultApplied": true },    "maps": [      {        "mapName": "Dust2",        "inPool": true,        "team": {          "played": 21,          "winRate": 71.4,          "avgRoundDiff": 3.8,          "veto": { "pickRate": 38.2, "banRate": 0 }        },        "opponent": {          "played": 21,          "winRate": 61.9,          "avgRoundDiff": 2.3,          "veto": { "pickRate": 51.4, "banRate": 0 }        },        "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

Built for match previews, veto simulators, and pre-match models

Go beyond raw series tallies with sample-weighted Active Duty map-pool comparisons.

Map-by-map edge matrix

GET /cs2/teams/{team}/map-pool/vs/{opp} compares winRate, avgRoundDiff, and direct H2H maps on every Active Duty map.

Veto pick, ban & decider %

Each map includes picks, bans, deciders, pickRate, banRate, and deciderRate over matches where that map was in the pool.

Computed edge & sample flags

edge surfaces team, opponent, even, or insufficient_sample alongside sample size buckets (none, low <5, medium <15, high).

Series & Bo3 H2H records

GET /cs2/h2h/{team1}/{team2}?bestOf=3 returns matchRecord, mapRecord, and past series meetings.

Match-id H2H shortcut

Have an upcoming matchId? Call GET /cs2/matches/{matchId}/head-to-head without looking up team slugs first.

Lineup-aware context

Pair org H2H with GET /cs2/matches/{matchId}/lineup-stats so roster rebuilds never mislead historical H2H records.

CS2 Head-to-Head & map-pool comparison endpoints

EndpointKey query paramsReturns
GET /cs2/teams/{team}/map-pool/vs/{opp}windowDays (default 180), from, to, inPoolActive Duty map-by-map winRate, avgRoundDiff, veto rates, H2H maps & edge
GET /cs2/h2h/{team1}/{team2}bestOf (1, 3, 5), limitOverall matchRecord, mapRecord, and past series list (alias: /teams/{t1}/vs/{t2})
GET /cs2/h2h?team1=...&team2=...team1, team2, bestOf, limitIdentical H2H payload passed via query parameters
GET /cs2/matches/{matchId}/head-to-headlimitDirect H2H lookup for the two teams scheduled in {matchId}

Simulate permabans and comfort picks between two CS2 teams in Python

Inspect banRate and winRateDiff across the Active Duty pool on a Free ($0/mo) key.

compare_map_pools.py (Python)
import os
import requests

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

cmp_data = requests.get(
    f"{BASE}/cs2/teams/vitality/map-pool/vs/spirit",
    params={"windowDays": 180, "inPool": "true"},
    headers=HEADERS,
    timeout=15,
).json()["data"]

for m in cmp_data.get("maps", []):
    edge = (m.get("edge") or {}).get("summary") or "even"
    print(m["mapName"], "T1 win%:", m["team"]["winRate"], "T2 win%:", m["opponent"]["winRate"], "|", edge)

Endpoints you can ship with

Open teams, rosters, map stats, and H2H routes.

Teams & rosters

Team profiles with the current roster, every past lineup, player moves between teams, and how each team plays each map.

View docs
  • GET/api/v1/cs2/teams/{teamIdOrSlug}

    Name, logo, country, region, world ranking and current roster.

  • GET/api/v1/cs2/teams/{teamIdOrSlug}/roster-history

    Every player who has played for the team, with start and end dates.

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

    Per-map win rate, rounds and pick/ban tendencies.

  • GET/api/v1/cs2/teams/{teamIdOrSlug}/vs/{opponentIdOrSlug}

    Record and past matches between two teams.

  • GET/api/v1/cs2/roster-changes/recent

    Players joining and leaving teams, newest first.

  • GET/api/v1/cs2/transfers/recent

    Player moves between teams, newest first.

Frequently asked questions

H2H counting rules, veto denominators, and roster changes

Something missing? Email support@citoapi.com.

How does /map-pool/vs/ handle forfeited or unplayed maps?

Only finished maps with real round scores are counted; forfeits, defaulted maps, and unplayed deciders are excluded so winRate and avgRoundDiff stay clean.

Can I filter CS2 head-to-head records to Best-of-3 series only?

Yes. Pass ?bestOf=3 on GET /cs2/h2h/{team1}/{team2} (or ?bestOf=3,5 to exclude Bo1 group games).

Are H2H and map-pool comparison endpoints included on the Free plan?

Yes. All /cs2/h2h and /cs2/teams/{team}/map-pool/vs/{opp} routes work on Free ($0/mo, 500 calls), Starter ($15/mo, 10k calls), Pro ($59/mo, 250k calls), and above.

See pricing

Compareย Active Duty pools

Run your first two-team map-pool comparison with a Free ($0/mo) key.