Slots

All endpoints

Open slots: your team’s, or everyone’s

GET/api/v1/team/slots

Key
Team key, live or test

Query parameters

  • scopestringoptional

    mine: slots your team posted or joined. open: every open slot you could see, anyone’s, including invitation only slots made for your team

    One of: mine, open · Default: mine

  • teamstringoptional

    Only slots this team (a slug) posted or joined. Works with either scope

    Longest: 80 characters

Answer, 200

  • slotsarray of object

    Open slots, soonest first. Once a third team joins, a slot becomes a match and appears in /team/fixtures instead

    15 fields in slots
    • idstring

      Slot id; /matches?slot=<id> on the site

    • startsAtstring (date-time)

      When the match would start. UTC, ISO 8601

    • regionstring

      Competitive region code: EU, NA, SA, ASIA, OCE or MEA

    • mapstring

      Map id, the game’s own, or random

    • mapNamestring

      The map’s name as the website shows it; Random for a random map

    • layerstring or null

      Zone key; null for none

    • zonestring or null

      The zone as the website shows it ("Random zone" when none was picked); null for a random map

    • weatherstring or null

      Weather key (clear, overcast, rain, fog, storm), or null for any

    • seatsFilledinteger

      Teams in it so far, of three

    • seatsFreeinteger

      Seats still open, of three

    • hoststring

      Slug of the team that posted it

    • teamsarray of object

      The teams in it so far, the poster first, with names and tags

      3 fields in slots.teams
      • slugstring

        The team’s address on the site (/teams/<slug>): its id here

      • namestring or null

        Team name; null if it is gone

      • tagstring or null

        Team tag; null if it is gone

    • yoursboolean

      Whether your team is one of the teams in it

    • privateboolean

      Whether it is an invitation only slot. You only see one you posted or were invited to

    • joinedTeamstring or null

      Slug of the second team; null while that seat is free

Errors

  • 400
    invalid_request

    A query parameter or body field is missing, of the wrong type or out of range.

  • 403
    missing_scope

    The key was made without the scope the route needs. The message names it.

  • 403
    scope_lost

    The scope is ticked, but the key’s maker no longer holds the team permission behind it.

  • 403
    wrong_key_type

    A personal key on a team route, or a team live key on a public route.

And any request (11) to GET /team/slots
  • 401
    missing_key

    No Authorization header, or not a bearer token.

  • 401
    invalid_key

    Not a key, a mistyped one, or a key used in the wrong mode.

  • 401
    key_revoked

    The key was revoked, by its team, by league staff or because its team is gone.

  • 401
    key_expired

    The key passed the expiry chosen when it was made.

  • 403
    team_suspended

    League staff suspended the team. Its keys work again when it is restored.

  • 403
    key_maker_left

    The person who made or last rotated the key left the team. Rotating starts it again.

  • 403
    key_maker_no_access

    The person who made or last rotated the key no longer holds Manage API keys. Rotating starts it again.

  • 429
    rate_limited

    Over the per-minute limit for the key or the address. Wait for Retry-After.

  • 429
    daily_limit

    A personal or test key used its requests for the day.

  • 429
    too_many_bad_keys

    Too many wrong keys from one address. Wait for Retry-After.

  • 500
    internal_error

    A fault on the league’s side. Try again later.

Request, curl
curl "https://gwl.gg/api/v1/team/slots?scope=open" \
  -H "Authorization: Bearer $GWL_API_KEY"
Example answer, 200
{
  "slots": [
    {
      "id": "test-slot-01",
      "startsAt": "2027-01-18T19:00:00.000Z",
      "region": "EU",
      "map": "sabatulo",
      "mapName": "Sabatulo",
      "layer": "Default",
      "zone": "Hospital - Default",
      "weather": "fog",
      "seatsFilled": 1,
      "seatsFree": 2,
      "host": "test-team",
      "teams": [
        {
          "slug": "test-team",
          "name": "Test Team",
          "tag": "TEST"
        }
      ],
      "yours": true,
      "private": false,
      "joinedTeam": null
    },
    {
      "id": "test-slot-02",
      "startsAt": "2027-01-21T19:00:00.000Z",
      "region": "EU",
      "map": "europe",
      "mapName": "Ozeti",
      "layer": "Church",
      "zone": "Church",
      "weather": null,
      "seatsFilled": 2,
      "seatsFree": 1,
      "host": "stub-strikers",
      "teams": [
        {
          "slug": "stub-strikers",
          "name": "Stub Strikers",
          "tag": "STUB"
        },
        {
          "slug": "test-team",
          "name": "Test Team",
          "tag": "TEST"
        }
      ],
      "yours": true,
      "private": false,
      "joinedTeam": "test-team"
    },
    {
      "id": "test-slot-03",
      "startsAt": "2027-01-23T19:00:00.000Z",
      "region": "EU",
      "map": "random",
      "mapName": "Random",
      "layer": null,
      "zone": null,
      "weather": null,
      "seatsFilled": 1,
      "seatsFree": 2,
      "host": "test-team",
      "teams": [
        {
          "slug": "test-team",
          "name": "Test Team",
          "tag": "TEST"
        }
      ],
      "yours": true,
      "private": false,
      "joinedTeam": null
    },
    {
      "id": "test-slot-04",
      "startsAt": "2027-01-24T19:00:00.000Z",
      "region": "EU",
      "map": "kavkazi",
      "mapName": "Bakurani",
      "layer": "Default",
      "zone": "Default",
      "weather": null,
      "seatsFilled": 2,
      "seatsFree": 1,
      "host": "test-team",
      "teams": [
        {
          "slug": "test-team",
          "name": "Test Team",
          "tag": "TEST"
        },
        {
          "slug": "sample-sappers",
          "name": "Sample Sappers",
          "tag": "SMPL"
        }
      ],
      "yours": true,
      "private": false,
      "joinedTeam": "sample-sappers"
    },
    {
      "id": "test-slot-05",
      "startsAt": "2027-01-25T19:00:00.000Z",
      "region": "EU",
      "map": "north-america",
      "mapName": "Zestafona",
      "layer": "Houses",
      "zone": "Houses",
      "weather": null,
      "seatsFilled": 2,
      "seatsFree": 1,
      "host": "lorem-lancers",
      "teams": [
        {
          "slug": "lorem-lancers",
          "name": "Lorem Lancers",
          "tag": "LORM"
        },
        {
          "slug": "test-team",
          "name": "Test Team",
          "tag": "TEST"
        }
      ],
      "yours": true,
      "private": false,
      "joinedTeam": "test-team"
    }
  ]
}