IndexCS2 API documentation

CS2 API errors, explained and fixed.

Each page below takes one error message CS2 developers search for, explains what it means and why it happens, and gives a fix with complete code. Most Steam-side errors go away entirely once pro match data comes from a CS2 API instead.

  • 10 error references
  • Code you can paste
  • 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 }    }    ...  ]}

Which error are you seeing?

Errors from api.steampowered.com (403, 429, empty results, no match history) come from Valve's Steam Web API, which was never built for esports data. Errors with a code like INVALID_API_KEY come from the CS2 API. Demo and share code errors come from your own parsing code.

Message or statusComes fromPage
401 MISSING_API_KEY / INVALID_API_KEYCS2 APIInvalid API key (401)
Blocked by CORS policyYour browserCORS error on browser requests
WebSocket closed during a matchNetwork or clientWebSocket disconnects mid-match
429 Too Many RequestsSteam Web APISteam API 429 Too Many Requests
Over 100,000 calls in a daySteam Web APISteam Web API rate limit exceeded
403 ForbiddenSteam Web APISteam API 403 Forbidden
"n/a" or no match detailsSteam Web APISteam Web API empty match data
No GetMatchHistory for CS2Steam Web APICS2 match history not found
Invalid share codeYour decoderCS2 share code decode failed
UnknownFile / Source1DemoErrorYour demo parserCS2 demo parse failed

Frequently asked questions

Something missing? Email support@citoapi.com.

Why do Steam Web API calls fail for CS2 match data?

The Steam Web API has no endpoints for professional CS2 matches, scores or player stats. Its CS2 interfaces cover share codes for your own games, servers and items, so most CS2 data errors trace back to asking Steam for data it does not have.

Where do I report a CS2 API error that is not listed?

Email support@citoapi.com with the request path and the full JSON error body. Every CS2 API error response includes a code, a message and a docs link.

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.