Skip to content

API

Developers

Read GamingCube’s ladders, matches, teams, players, stats and tournaments from your own bot, overlay or site.

How it works

  • Every endpoint is under /api/v1 and described in the API docs.
  • Without a key you get 120 requests a minute per address. With a key: free 60/min, partner 600/min, internal 3000/min.
  • Send the key as X-Api-Key: gck_… (or Authorization: Bearer gck_…). Keys read; they can’t change anything.
  • GET /api/v1/events?after=… (scope read:events) lists public events as they happen: results, crowns, tournaments, streams.

Getting started

Full API reference
  1. 1. Submit your app. Say what you’re building. Staff review it, and you get a notification with the answer.
  2. 2. Make a key. It’s shown once, so copy it somewhere safe. Never put it in a page or an app other people can open.
  3. 3. Call the API. Everything answers JSON:
    curl -H "X-Api-Key: <your key>" \
         https://gamingcube.net/api/v1/ladders/switcher

Good places to start

  • GET /api/v1/ladders/switcherEvery game and its ladders
  • GET /api/v1/ladders/{id}/pageA ladder with its standings
  • GET /api/v1/scoreboardLive matches, what’s next and the latest results
  • GET /api/v1/teams/{id}A team: roster, record and rating
  • GET /api/v1/players/{id}A player’s profile
  • GET /api/v1/pickupsOpen pickups
  • GET /api/v1/tournamentsTournaments
  • GET /api/v1/events?after=…Public events as they happen (scope read:events)

Going over the limit answers 429 with a Retry-After header: wait that long and try again. Times are UTC.

Sign in to submit an app