HLTVEvery HLTV API guide

The HLTV API alternatives, compared.

HLTV offers no API, and its terms of use forbid scraping the site. The practical alternatives are a documented CS2 API with a free key (32,000+ finished matches, per-map player ratings, rankings, live scores and odds), enterprise feeds such as GRID and PandaScore, Valve's own ranking repository on GitHub, and Steam for your own matchmaking games.

  • 6 options
  • Facts dated 9 Nov 2026
  • We run the CS2 API
GET /cs2/leaderboards/rating?limit=2200 OK
$ curl "https://api.citoapi.com/api/v1/cs2/leaderboards/rating?limit=2" \ -H "x-api-key: $CITO_API_KEY"
{  "success": true,  "data": [    {      "playerName": "ZywOo",      "teamName": "Vitality",      "maps": 652,      "rating": 1.24,      "adr": 87.8    },    {      "playerName": "donk",      "teamName": "Spirit",      "maps": 593,      "rating": 1.22,      "adr": 96.4    },    "__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

Who wrote this comparison?

Cito API, which runs the CS2 API, wrote it. We say where another option is the better fit, use only facts each project or vendor publishes (read on 9 November 2026), and write "not published" rather than guess. CS2 API is independent and not affiliated with HLTV.

How do the HLTV API alternatives compare?

The choice comes down to three questions: do you need live and per-map player data, can you sign a sales contract, and can you live with code that breaks when a website changes.

Scraper rows describe the hltv npm package and the Python HLTV libraries; HLTV's terms (clause 2.2) prohibit scraping its website.
CS2 APIScraper librariesPandaScoreGRIDValve VRS repoSteam Web API
Official / documentedYes, REST + OpenAPINo, parses HTMLYesYesYes (Valve)Yes (Valve)
Self-serve keyYes, free tierNo keyYes, free schedules tierNo, salesNo key neededYes
Results and scheduleYesWhile unblockedYesYesNoNo
Per-map player statsYes: rating, ADR, KAST, opening killsWhile unblockedHistorical plan, from €400/mo per gameNot publishedNoOwn games via demos
Team rankingWorld + VRS, past dates tooWhile unblockedNot publishedNot publishedVRS onlyNo
Live scoresYes, REST, SSE, WebSocketScorebot, often blockedLive plans from €1,000/mo per gameYes, official server dataNoNo
OddsMatch, map and player prop lines (Pro)NoThrough salesThrough salesNoNo
Price to start paying$15/mo (Starter), $59/mo with oddsFree€400/mo per gameNot publishedFreeFree
Main riskPlan limits (published)Cloudflare challenge, markup changesPrice; stats plans exclude betting useSales processParsing Markdown filesOwn games only

1. A documented CS2 API (best for most developers)

Sign up, get a key, and call REST endpoints for the data developers need: results, per-map player ratings, the world ranking and VRS, live scores, teams and transfers. Free covers 500 requests a month; Starter is $15 a month; Pro at $59 a month adds real-time live data, full history, match and map odds, and player prop lines with their price history.

Coverage counts from GET /cs2. Fetched from the production CS2 API on 10 Nov 2026, 13:15 UTC.
EntityCount
Matches33,355
Teams5,149
Players10,392
Tournaments2,465
Match recordings tracked40,192
Roster changes153,892
Teams in the world ranking252
Teams in the VRS377
Method names from the hltv npm package's README. Players and teams take the slugs you already use, such as zywoo or vitality.
If your scraper callsCall this instead
getMatches()GET /cs2/matches/upcoming and /cs2/matches/live
getResults()GET /cs2/matches/results
getMatch({ id })GET /cs2/matches/{matchId}
getMatchStats() / getMatchMapStats()GET /cs2/matches/{matchId}/player-stats and /maps
getPlayer() / getPlayerStats()GET /cs2/players/{slug} and /cs2/players/{slug}/matches
getPlayerRanking()GET /cs2/leaderboards/rating
getTeam() / getTeamStats()GET /cs2/teams/{slug} and /cs2/teams/{slug}/map-stats
getTeamRanking()GET /cs2/rankings/world (add ?date= for a past week) and /cs2/rankings/vrs
getEvents() / getEvent()GET /cs2/events and /cs2/events/{slug}
getStreams()GET /cs2/matches/{matchId}/streams

2. HLTV scraper libraries (free, but blocked and against the terms)

The hltv npm package and the Python HLTV libraries download hltv.org pages and parse them. hltv.org now answers scripted requests with a Cloudflare challenge (403, "Just a moment..."), and HLTV's terms of use, effective 27 January 2025, prohibit data mining or web scraping of the site in clause 2.2.

  • hltv (npm): latest release 3.5.0 on 20 September 2023, about 1,000 downloads a week; it throws "Access denied | www.hltv.org used Cloudflare to restrict access" when challenged.
  • hltv-async-api (PyPI): latest release 0.8.3 on 3 June 2024.
  • hltv-data (PyPI): latest release 0.4.0 on 9 March 2024.
  • Forks that drive a real browser to pass the challenge exist, but they add a browser to your stack and remain subject to the same terms.

Language guides without a scraper: HLTV API in Python and HLTV API in JavaScript.

3. PandaScore (best for many esports at once)

PandaScore covers many esports. Its free plan has schedules, results and context data at 1,000 requests an hour; post-match and historical statistics start at €400 a month per game, and stream-synced live data at €1,000 a month per game. Its pricing page says the stats plans are not available for betting-related products, which go through sales.

Feature by feature, with prices: Cito vs PandaScore vs GRID.

4. GRID (best for official licensed in-play data)

GRID distributes official CS2 data from the game server for the tournaments in its rights agreements, including IEM, ESL Pro League, BLAST and CCT. Every plan goes through sales and no prices are published, which suits sportsbooks, exchanges and broadcasters more than individual developers.

5. Valve's Regional Standings repository (best free source for VRS only)

Valve publishes its Regional Standings on GitHub as Markdown files, with new snapshots on the first Monday of each month. It is official and free, but it is rankings only and you parse the files yourself; GET /cs2/rankings/vrs returns the same kind of table as JSON.

6. Steam Web API (only for your own matchmaking games)

Steam returns the share codes of one account's own matchmaking games, one at a time, with that player's game authentication code; stats then come from the replay demo. It has no professional match data.

How much CS2 data is behind it?

Measured on production, with the date each figure was taken.

  • The CS2 API indexes 33,355 Counter-Strike 2 matches, 5,149 teams and 10,392 players across 2,465 tournaments (as of 10 November 2026).
  • 723,564 per-map player stat lines (kills, deaths, ADR, KAST, rating, opening kills) across 67,149 maps and 8,532 players (as of 9 November 2026).
  • Live CS2 match data on the CS2 API refreshes every 15 seconds at the median, measured over 22,479 live sync runs in the 7 days to 3 October 2026.
  • 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

What the self-serve option covers: results, players, rankings and live.

Results

Finished matches with the series score and winner, every map and its score, and the player lines behind them.

View docs
  • GET/api/v1/cs2/matches/recent

    Finished matches with final series score and winner, newest first.

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

    One match: event, teams, series score, and maps.

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

    Each map: name, score, winner, and the team that picked it.

  • GET/api/v1/cs2/matches/{matchId}/player-stats

    Per-player stats for each map: kills, deaths, ADR, KAST and rating.

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

    One team's finished matches, newest first.

  • GET/api/v1/cs2/events/{eventIdOrSlug}/results

    Final placements and prize money of a tournament.

FAQs

Choosing an HLTV API alternative

Can't find what you're looking for? Contact our customer support team

Read the CS2 docs

Replace HLTV scraping with one API key

Free to test, no sales call.