Skip to content

Reference

CS2 API documentation

Public paid endpoints cover played and upcoming matches, per-map scores and player box scores, teams, events, maps, players, and countries. Start with the free quickstart, then open an area. Building a Discord bot or tracker? See the CS2 Match Data API guide. Looking for an HLTV API? Read what this product is and is not.

Quick start

1. Get a free API key from the login or cabinet page. 2. Send it in the X-API-Key header. 3. Call a public endpoint — pick your stack:

curl -sS 'https://ggscore.net/api/v2/matches?page=1&limit=5' \
  -H "X-API-Key: YOUR_API_KEY"

Prefer TypeScript shapes? See request & response types..

Authorizations

API key from the GGScore cabinet. Do not send this key as Authorization: Bearer. Bearer is a cabinet session token.

X-API-Keyheader · apiKey

Paid endpoints require this header. GET /api/v2/ping does not, and it does not count toward the daily cap.

Full endpoint reference

Each area has its own page, with parameters, code samples, and Try it.

Endpoints

The public routes. Open one for parameters, code samples, and Try it.

Plans

The free key and the paid plans call the same results, schedule, and player box score endpoints. See pricing.