IndexCS2 API documentation

CS2 API tutorials with code that runs.

Every tutorial here starts from a free key and ends with working code: getting match data, quickstarts in Python and Node.js, a Discord score bot, signed webhooks for match alerts, spreadsheets, stream overlays and AI agents. Pick the one closest to what you are building.

  • Complete, runnable code
  • Python, Node.js, curl
  • 500 free requests / month
GET /cs2/matches/results?limit=2200 OK
$ curl "https://api.citoapi.com/api/v1/cs2/matches/results?limit=2" \ -H "x-api-key: $CITO_API_KEY"
{  "success": true,  "data": [    {      "id": "cs2-match-2398974",      "eventName": "ROG JOURNEY Autumn 2026",      "bestOf": 3,      "team1Name": "Ninjas in Pyjamas",      "team2Name": "Eternal Fire",      "score": { "team1": 2, "team2": 0 }    },    {      "id": "cs2-match-2398896",      "eventName": "FOX Legacy Season 1",      "bestOf": 3,      "team1Name": "SAW",      "team2Name": "Lazer Cats",      "score": { "team1": 2, "team2": 0 }    }    ...  ]}

Where should I start?

If you have never called the API, start with How to get CS2 match data: three requests take you from a list of results to per-map player stats. Then pick the quickstart for your language, and add webhooks or the live stream when you need updates pushed.

Frequently asked questions

Something missing? Email support@citoapi.com.

Do the tutorials work on the free plan?

Yes. Every tutorial runs on a free key (500 requests a month, 10 a minute). Webhooks need Pro or Scale, and the webhook tutorial says so up front.

Is there an official CS2 API SDK?

The API is plain REST JSON, so any HTTP client works; the tutorials use requests in Python and fetch in Node.js. AI agents can use the Cito MCP server (npx cito-mcp install).

See pricing

Build CS2 live score apps

Free is for building and testing. Paid plans add commercial use, real-time live data and the full archive.