Datasets

Every dataset is one endpoint, /v1/data/<dataset>, with the same filters, column choice (fields and preset), paging and json, csv or parquet output. Pick one to build a query and preview it. Column definitions: docs.

tournaments

One row is one tournament (HLTV event). Key: tournament_id.

Columns (6; none ticked = all, key columns always included)
ResetCSV
Request
curl -H "Authorization: Bearer $CS2API_KEY" \
  "https://api.granuleux.com/v1/data/tournaments"
Python (all pages, as a DataFrame)
import io, os, requests, pandas as pd

url = "https://api.granuleux.com/v1/data/tournaments"
params = {"limit": 1000,"format": "parquet"}
params = {k: v for k, v in params.items() if v is not None}
headers = {"Authorization": f"Bearer {os.environ['CS2API_KEY']}"}
frames = []
while True:
    r = requests.get(url, params=params, headers=headers)
    r.raise_for_status()
    frames.append(pd.read_parquet(io.BytesIO(r.content)))
    cursor = r.headers.get("X-Next-Cursor")
    if not cursor:
        break
    params["cursor"] = cursor
df = pd.concat(frames, ignore_index=True)
MCP (query_dataset arguments)
{"dataset":"tournaments"}
Preview (first 5 rows)
tournament_idnamematchesstart_timeend_timemax_stars
9465CCT 2026 Europe Series 13202026-11-04T12:00:00Z2026-11-11T18:15:00Z0
9480European Pro League Series 1082026-11-06T09:00:00Z2026-11-11T11:45:00Z0
8251BLAST Rivals 2026 Season 242026-11-11T02:00:00Z2026-11-11T09:30:00Z3
9471CCT 2026 Europe Series 14 Closed Qualifier202026-11-04T09:00:00Z2026-11-09T18:10:00Z0
9377ESL Challenger League Season 52 Europe Cup 11282026-11-07T14:00:00Z2026-11-09T18:00:00Z0