API documentation

The league has an API for your own tools: a bot, a dashboard, a stats sheet. It is JSON over HTTPS, with one key in one header.

Base URLhttps://gwl.gg/api/v1

Three kinds of key

Test key
Reads invented data from a sandbox. Build with it before you touch anything real.
Team key
Reads your team’s own data. With the scopes for it, it also answers applications and changes the roster.
Personal key
Reads only what is already public.

Get a key

  • Team and test keys

    Team Settings, API access.

    Open My team
  • Personal keys

    Your account, Developer access. It shows once you have played a confirmed match with Steam linked.

    Open your account

Conventions

  • Every address starts /api/v1, and every answer is JSON.
  • Times are UTC, ISO 8601.
  • A team’s id is its slug, as in its address on the site. A match’s id is its number, sent as text.
  • A POST body is JSON with Content-Type: application/json, up to 4,096 bytes.
  • A browser on another site may read only the public routes and the OpenAPI document. Team routes send no CORS headers: call them from a server or a bot.

Reference