Matches

All endpoints

Upcoming and recent matches

GET/api/v1/team/fixtures

Key
Team key, live or test

Query parameters

  • limitintegeroptional

    How many, up to 100

    Default: 10 · Minimum: 1 · Maximum: 100

Answer, 200

  • upcomingarray of object

    Matches not played yet, soonest first

    19 fields in upcoming
    • numberstring

      The match number, as on the website

    • statusstring

      scheduled (locked, not played), reported (played, nothing counts yet: no result, or one that waits to be confirmed), confirmed (the result counts) or disputed (a team disputed it: nothing counts until league staff settle it). A result read from the game is confirmed as soon as the league reads it, and can still become disputed until disputeUntil

    • ratedboolean

      Whether the result is moving Elo now. False again while the match is disputed

    • regionstring

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

    • mapstring

      Map id, the game’s own: kavkazi, europe, north-america or sabatulo

    • mapNamestring

      The map’s name as the website shows it, for example Zestafona for north-america

    • layerstring or null

      Zone key as stored on the match; null for Random or none

    • zonestring or null

      The zone as the website shows it. "Random zone" when no zone was picked or rolled; null only when the map itself is Random

    • weatherstring or null

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

    • seasonstring or null

      Name of the season the match belongs to; null when none was running

    • startsAtstring (date-time)

      When it starts. UTC, ISO 8601

    • concludedAtstring (date-time) or null

      When the result that counts was confirmed: set with status confirmed, null otherwise (and again while disputed). It moves when league staff settle a dispute. UTC, ISO 8601

    • disputeUntilstring (date-time) or null

      Set while the result already counts and a team can still dispute it: the end of that window. Null otherwise. UTC, ISO 8601

    • durationSecondsinteger or null

      How long it was played, in seconds; null when unknown

    • hoststring or null

      Team slug of the host; null when no team hosts (a GWL official server, or the host team is gone)

    • sidesarray of object

      The three teams, host first

      6 fields in upcoming.sides
      • teamobject

        A team, by slug, name and tag

        3 fields in upcoming.sides.team
        • 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

      • factionstring or null

        Faction code once a moderator assigns one, else null

      • scorenumber or null

        The side’s in-game score, 0 to 100; null before a result

      • placementinteger or null

        1, 2 or 3; null before a result

      • pointsnumber or null

        Placement points for the match: 5 for 1st, 3 for 2nd, 1 for 3rd. They count only while the status is confirmed

      • eloDeltanumber or null

        Elo change from this match as it counts now; null while it is not rated, a disputed match included

    • lockedAtstring (date-time) or null

      When the third team joined and it became a match. UTC, ISO 8601

    • serverPostedboolean

      Whether server details have been posted. This route never returns them: see /team/matches/{number}/server

    • readyTeamsarray of string

      Slugs of the teams that pressed Ready

  • recentarray of object

    Played matches, newest first

    19 fields in recent
    • numberstring

      The match number, as on the website

    • statusstring

      scheduled (locked, not played), reported (played, nothing counts yet: no result, or one that waits to be confirmed), confirmed (the result counts) or disputed (a team disputed it: nothing counts until league staff settle it). A result read from the game is confirmed as soon as the league reads it, and can still become disputed until disputeUntil

    • ratedboolean

      Whether the result is moving Elo now. False again while the match is disputed

    • regionstring

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

    • mapstring

      Map id, the game’s own: kavkazi, europe, north-america or sabatulo

    • mapNamestring

      The map’s name as the website shows it, for example Zestafona for north-america

    • layerstring or null

      Zone key as stored on the match; null for Random or none

    • zonestring or null

      The zone as the website shows it. "Random zone" when no zone was picked or rolled; null only when the map itself is Random

    • weatherstring or null

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

    • seasonstring or null

      Name of the season the match belongs to; null when none was running

    • startsAtstring (date-time)

      When it starts. UTC, ISO 8601

    • concludedAtstring (date-time) or null

      When the result that counts was confirmed: set with status confirmed, null otherwise (and again while disputed). It moves when league staff settle a dispute. UTC, ISO 8601

    • disputeUntilstring (date-time) or null

      Set while the result already counts and a team can still dispute it: the end of that window. Null otherwise. UTC, ISO 8601

    • durationSecondsinteger or null

      How long it was played, in seconds; null when unknown

    • hoststring or null

      Team slug of the host; null when no team hosts (a GWL official server, or the host team is gone)

    • sidesarray of object

      The three teams, host first

      6 fields in recent.sides
      • teamobject

        A team, by slug, name and tag

        3 fields in recent.sides.team
        • 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

      • factionstring or null

        Faction code once a moderator assigns one, else null

      • scorenumber or null

        The side’s in-game score, 0 to 100; null before a result

      • placementinteger or null

        1, 2 or 3; null before a result

      • pointsnumber or null

        Placement points for the match: 5 for 1st, 3 for 2nd, 1 for 3rd. They count only while the status is confirmed

      • eloDeltanumber or null

        Elo change from this match as it counts now; null while it is not rated, a disputed match included

    • lockedAtstring (date-time) or null

      When the third team joined and it became a match. UTC, ISO 8601

    • serverPostedboolean

      Whether server details have been posted. This route never returns them: see /team/matches/{number}/server

    • readyTeamsarray of string

      Slugs of the teams that pressed Ready

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/fixtures
  • 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/fixtures?limit=2" \
  -H "Authorization: Bearer $GWL_API_KEY"
Example answer, 200
{
  "upcoming": [
    {
      "number": "9105",
      "status": "scheduled",
      "rated": false,
      "region": "EU",
      "map": "sabatulo",
      "mapName": "Sabatulo",
      "layer": "Default",
      "zone": "Hospital - Default",
      "weather": "clear",
      "season": "Sandbox Season",
      "startsAt": "2027-01-17T19:00:00.000Z",
      "concludedAt": null,
      "disputeUntil": null,
      "durationSeconds": null,
      "host": "test-team",
      "sides": [
        {
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": "lonestar",
          "score": null,
          "placement": null,
          "points": null,
          "eloDelta": null
        },
        {
          "team": {
            "slug": "example-eagles",
            "name": "Example Eagles",
            "tag": "EXEG"
          },
          "faction": null,
          "score": null,
          "placement": null,
          "points": null,
          "eloDelta": null
        },
        {
          "team": {
            "slug": "sample-sappers",
            "name": "Sample Sappers",
            "tag": "SMPL"
          },
          "faction": null,
          "score": null,
          "placement": null,
          "points": null,
          "eloDelta": null
        }
      ],
      "lockedAt": "2027-01-14T19:00:00.000Z",
      "serverPosted": false,
      "readyTeams": [
        "test-team"
      ]
    },
    {
      "number": "9106",
      "status": "scheduled",
      "rated": false,
      "region": "EU",
      "map": "kavkazi",
      "mapName": "Bakurani",
      "layer": "Farmland",
      "zone": "Farmland",
      "weather": null,
      "season": "Sandbox Season",
      "startsAt": "2027-01-20T19:00:00.000Z",
      "concludedAt": null,
      "disputeUntil": null,
      "durationSeconds": null,
      "host": "stub-strikers",
      "sides": [
        {
          "team": {
            "slug": "stub-strikers",
            "name": "Stub Strikers",
            "tag": "STUB"
          },
          "faction": "lonestar",
          "score": null,
          "placement": null,
          "points": null,
          "eloDelta": null
        },
        {
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": null,
          "score": null,
          "placement": null,
          "points": null,
          "eloDelta": null
        },
        {
          "team": {
            "slug": "mock-mortars",
            "name": "Mock Mortars",
            "tag": "MOCK"
          },
          "faction": null,
          "score": null,
          "placement": null,
          "points": null,
          "eloDelta": null
        }
      ],
      "lockedAt": "2027-01-17T19:00:00.000Z",
      "serverPosted": true,
      "readyTeams": []
    }
  ],
  "recent": [
    {
      "number": "9104",
      "status": "reported",
      "rated": false,
      "region": "EU",
      "map": "europe",
      "mapName": "Ozeti",
      "layer": "River",
      "zone": "River",
      "weather": null,
      "season": "Sandbox Season",
      "startsAt": "2027-01-14T19:00:00.000Z",
      "concludedAt": null,
      "disputeUntil": null,
      "durationSeconds": 3360,
      "host": "lorem-lancers",
      "sides": [
        {
          "team": {
            "slug": "lorem-lancers",
            "name": "Lorem Lancers",
            "tag": "LORM"
          },
          "faction": "lonestar",
          "score": 74,
          "placement": 2,
          "points": 3,
          "eloDelta": null
        },
        {
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": "valkyra",
          "score": 100,
          "placement": 1,
          "points": 5,
          "eloDelta": null
        },
        {
          "team": {
            "slug": "ipsum-infantry",
            "name": "Ipsum Infantry",
            "tag": "IPSM"
          },
          "faction": "manticore",
          "score": 38,
          "placement": 3,
          "points": 1,
          "eloDelta": null
        }
      ],
      "lockedAt": "2027-01-11T19:00:00.000Z",
      "serverPosted": true,
      "readyTeams": [
        "lorem-lancers",
        "test-team",
        "ipsum-infantry"
      ]
    },
    {
      "number": "9103",
      "status": "confirmed",
      "rated": true,
      "region": "EU",
      "map": "north-america",
      "mapName": "Zestafona",
      "layer": "Houses",
      "zone": "Houses",
      "weather": "rain",
      "season": "Sandbox Season",
      "startsAt": "2027-01-11T19:00:00.000Z",
      "concludedAt": "2027-01-11T21:59:00.000Z",
      "disputeUntil": null,
      "durationSeconds": 3540,
      "host": "test-team",
      "sides": [
        {
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": "lonestar",
          "score": 65,
          "placement": 2,
          "points": 3,
          "eloDelta": 0
        },
        {
          "team": {
            "slug": "dummy-dragoons",
            "name": "Dummy Dragoons",
            "tag": "DUMY"
          },
          "faction": "valkyra",
          "score": 100,
          "placement": 1,
          "points": 5,
          "eloDelta": 18
        },
        {
          "team": {
            "slug": "fixture-falcons",
            "name": "Fixture Falcons",
            "tag": "FIXT"
          },
          "faction": "manticore",
          "score": 34,
          "placement": 3,
          "points": 1,
          "eloDelta": -16
        }
      ],
      "lockedAt": "2027-01-08T19:00:00.000Z",
      "serverPosted": true,
      "readyTeams": [
        "test-team",
        "dummy-dragoons",
        "fixture-falcons"
      ]
    }
  ]
}

One of the team’s matches, with its player stats

GET/api/v1/team/matches/{number}

Key
Team key, live or test

The result and playerStats of all three teams. Ask again when you hear match.stats, match.confirmed, match.disputed or match.settled.

Path parameters

  • numberstringrequired

    The match number, as on the website

Answer, 200

  • numberstring

    The match number, as on the website

  • statusstring

    scheduled (locked, not played), reported (played, nothing counts yet: no result, or one that waits to be confirmed), confirmed (the result counts) or disputed (a team disputed it: nothing counts until league staff settle it). A result read from the game is confirmed as soon as the league reads it, and can still become disputed until disputeUntil

  • ratedboolean

    Whether the result is moving Elo now. False again while the match is disputed

  • regionstring

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

  • mapstring

    Map id, the game’s own: kavkazi, europe, north-america or sabatulo

  • mapNamestring

    The map’s name as the website shows it, for example Zestafona for north-america

  • layerstring or null

    Zone key as stored on the match; null for Random or none

  • zonestring or null

    The zone as the website shows it. "Random zone" when no zone was picked or rolled; null only when the map itself is Random

  • weatherstring or null

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

  • seasonstring or null

    Name of the season the match belongs to; null when none was running

  • startsAtstring (date-time)

    When it starts. UTC, ISO 8601

  • concludedAtstring (date-time) or null

    When the result that counts was confirmed: set with status confirmed, null otherwise (and again while disputed). It moves when league staff settle a dispute. UTC, ISO 8601

  • disputeUntilstring (date-time) or null

    Set while the result already counts and a team can still dispute it: the end of that window. Null otherwise. UTC, ISO 8601

  • durationSecondsinteger or null

    How long it was played, in seconds; null when unknown

  • hoststring or null

    Team slug of the host; null when no team hosts (a GWL official server, or the host team is gone)

  • sidesarray of object

    The three teams, host first

    6 fields in sides
    • teamobject

      A team, by slug, name and tag

      3 fields in sides.team
      • 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

    • factionstring or null

      Faction code once a moderator assigns one, else null

    • scorenumber or null

      The side’s in-game score, 0 to 100; null before a result

    • placementinteger or null

      1, 2 or 3; null before a result

    • pointsnumber or null

      Placement points for the match: 5 for 1st, 3 for 2nd, 1 for 3rd. They count only while the status is confirmed

    • eloDeltanumber or null

      Elo change from this match as it counts now; null while it is not rated, a disputed match included

  • lockedAtstring (date-time) or null

    When the third team joined and it became a match. UTC, ISO 8601

  • serverPostedboolean

    Whether server details have been posted. This route never returns them: see /team/matches/{number}/server

  • readyTeamsarray of string

    Slugs of the teams that pressed Ready

  • playerStatsarray of object

    Each team’s players, in the order of sides, most kills first. There as soon as the league has built the match file from its game server; empty before that, and for a match with no file or called off. The same privacy rules as the public match page: nobody who hid their stats, team kills and suicides never counted as kills, and never a Steam or Discord ID

    5 fields in playerStats
    • namestring

      Their name in the game, as the match page shows it

    • teamobject

      The team they played for in this match

      3 fields in playerStats.team
      • 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

    • killsinteger

      Kills

    • deathsinteger

      Deaths

    • headshotsinteger or null

      Headshot kills; null when the match file does not say

Errors

  • 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.

  • 404
    not_found

    Nothing at that address, or another team’s match or application (so their existence does not leak).

And any request (11) to GET /team/matches/{number}
  • 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/matches/9103" \
  -H "Authorization: Bearer $GWL_API_KEY"
Example answer, 200
{
  "number": "9103",
  "status": "confirmed",
  "rated": true,
  "region": "EU",
  "map": "north-america",
  "mapName": "Zestafona",
  "layer": "Houses",
  "zone": "Houses",
  "weather": "rain",
  "season": "Sandbox Season",
  "startsAt": "2027-01-11T19:00:00.000Z",
  "concludedAt": "2027-01-11T21:59:00.000Z",
  "disputeUntil": null,
  "durationSeconds": 3540,
  "host": "test-team",
  "sides": [
    {
      "team": {
        "slug": "test-team",
        "name": "Test Team",
        "tag": "TEST"
      },
      "faction": "lonestar",
      "score": 65,
      "placement": 2,
      "points": 3,
      "eloDelta": 0
    },
    {
      "team": {
        "slug": "dummy-dragoons",
        "name": "Dummy Dragoons",
        "tag": "DUMY"
      },
      "faction": "valkyra",
      "score": 100,
      "placement": 1,
      "points": 5,
      "eloDelta": 18
    },
    {
      "team": {
        "slug": "fixture-falcons",
        "name": "Fixture Falcons",
        "tag": "FIXT"
      },
      "faction": "manticore",
      "score": 34,
      "placement": 3,
      "points": 1,
      "eloDelta": -16
    }
  ],
  "lockedAt": "2027-01-08T19:00:00.000Z",
  "serverPosted": true,
  "readyTeams": [
    "test-team",
    "dummy-dragoons",
    "fixture-falcons"
  ],
  "playerStats": [
    {
      "name": "Sandbox Four",
      "team": {
        "slug": "test-team",
        "name": "Test Team",
        "tag": "TEST"
      },
      "kills": 1,
      "deaths": 1,
      "headshots": 0
    },
    {
      "name": "Sandbox Two",
      "team": {
        "slug": "test-team",
        "name": "Test Team",
        "tag": "TEST"
      },
      "kills": 1,
      "deaths": 2,
      "headshots": 0
    },
    {
      "name": "Sandbox One",
      "team": {
        "slug": "dummy-dragoons",
        "name": "Dummy Dragoons",
        "tag": "DUMY"
      },
      "kills": 2,
      "deaths": 1,
      "headshots": 1
    },
    {
      "name": "Sandbox Three",
      "team": {
        "slug": "fixture-falcons",
        "name": "Fixture Falcons",
        "tag": "FIXT"
      },
      "kills": 1,
      "deaths": 1,
      "headshots": 0
    }
  ]
}

Who is playing in a match that has not finished

GET/api/v1/team/matches/{number}/players

Key
Team key, live or test

For a server that lets people in by Steam ID before the match. If your team hosts the match you get all three teams, so you can open the server to everyone playing; if you do not, only your own team. Each player carries their team and its faction, so a server can put them on the right side. Adds steamId on each player with the members.steam_id scope (absent without it). Only people with a site account and a linked Steam account are listed with an ID: a roster entry nobody has proved reads null, and a mercenary is not listed. 404 for a match your team is not in and for one that has finished.

Path parameters

  • numberstringrequired

    The number of a match that has not finished

Answer, 200

  • numberstring

    The match number

  • startsAtstring (date-time)

    When the match starts. UTC, ISO 8601

  • hoststring or null

    Slug of the team hosting the match; null on a GWL official server

  • yourTeamHostsboolean

    Your team hosts, so every team is listed

  • teamsarray of object

    The teams in the match, yours first

    4 fields in teams
    • teamobject

      A team, by slug, name and tag

      3 fields in teams.team
      • 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

    • factionstring or null

      The faction the team plays; null until it is drawn

    • yoursboolean

      This is your own team

    • playersarray of object

      Members of the team, Leader first

      5 fields in teams.players
      • namestring

        Display name

      • rolestring

        owner, manager or player

      • teamobject

        The team they play for in this match

        3 fields in teams.players.team
        • 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

      • factionstring or null

        Their team’s faction; null until it is drawn

      • steamIdstring or nullmay be absent

        SteamID64. Only with the members.steam_id scope (absent without it); null when the person has no linked Steam account

        Pattern: ^7656119\d{10}$

Errors

  • 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.

  • 404
    not_found

    Nothing at that address, or another team’s match or application (so their existence does not leak).

And any request (11) to GET /team/matches/{number}/players
  • 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/matches/9105/players" \
  -H "Authorization: Bearer $GWL_API_KEY"
Example answer, 200
{
  "number": "9105",
  "startsAt": "2027-01-17T19:00:00.000Z",
  "host": "test-team",
  "yourTeamHosts": true,
  "teams": [
    {
      "team": {
        "slug": "test-team",
        "name": "Test Team",
        "tag": "TEST"
      },
      "faction": "lonestar",
      "yours": true,
      "players": [
        {
          "name": "Ada Example",
          "role": "owner",
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": "lonestar",
          "steamId": "76561190000000001"
        },
        {
          "name": "Bram Sample",
          "role": "manager",
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": "lonestar",
          "steamId": "76561190000000002"
        },
        {
          "name": "Cleo Placeholder",
          "role": "manager",
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": "lonestar",
          "steamId": "76561190000000003"
        },
        {
          "name": "Dmitri Mock",
          "role": "player",
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": "lonestar",
          "steamId": "76561190000000004"
        },
        {
          "name": "Eun-ji Testcase",
          "role": "player",
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": "lonestar",
          "steamId": "76561190000000005"
        },
        {
          "name": "Femi Dummy",
          "role": "player",
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": "lonestar",
          "steamId": "76561190000000006"
        },
        {
          "name": "Gustav Stub",
          "role": "player",
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": "lonestar",
          "steamId": "76561190000000007"
        },
        {
          "name": "Hana Fixture",
          "role": "player",
          "team": {
            "slug": "test-team",
            "name": "Test Team",
            "tag": "TEST"
          },
          "faction": "lonestar",
          "steamId": "76561190000000008"
        }
      ]
    },
    {
      "team": {
        "slug": "example-eagles",
        "name": "Example Eagles",
        "tag": "EXEG"
      },
      "faction": null,
      "yours": false,
      "players": [
        {
          "name": "Sandbox example-eagles 1",
          "role": "owner",
          "team": {
            "slug": "example-eagles",
            "name": "Example Eagles",
            "tag": "EXEG"
          },
          "faction": null,
          "steamId": "76561190000000101"
        },
        {
          "name": "Sandbox example-eagles 2",
          "role": "player",
          "team": {
            "slug": "example-eagles",
            "name": "Example Eagles",
            "tag": "EXEG"
          },
          "faction": null,
          "steamId": "76561190000000102"
        },
        {
          "name": "Sandbox example-eagles 3",
          "role": "player",
          "team": {
            "slug": "example-eagles",
            "name": "Example Eagles",
            "tag": "EXEG"
          },
          "faction": null,
          "steamId": "76561190000000103"
        }
      ]
    },
    {
      "team": {
        "slug": "sample-sappers",
        "name": "Sample Sappers",
        "tag": "SMPL"
      },
      "faction": null,
      "yours": false,
      "players": [
        {
          "name": "Sandbox sample-sappers 1",
          "role": "owner",
          "team": {
            "slug": "sample-sappers",
            "name": "Sample Sappers",
            "tag": "SMPL"
          },
          "faction": null,
          "steamId": "76561190000000201"
        },
        {
          "name": "Sandbox sample-sappers 2",
          "role": "player",
          "team": {
            "slug": "sample-sappers",
            "name": "Sample Sappers",
            "tag": "SMPL"
          },
          "faction": null,
          "steamId": "76561190000000202"
        },
        {
          "name": "Sandbox sample-sappers 3",
          "role": "player",
          "team": {
            "slug": "sample-sappers",
            "name": "Sample Sappers",
            "tag": "SMPL"
          },
          "faction": null,
          "steamId": "76561190000000203"
        }
      ]
    }
  ]
}

This sample’s key holds matches.read, members.steam_id.

How to join the server of one of the team’s matches

GET/api/v1/team/matches/{number}/server

Key
Team key, live or test

The details posted for the match, the same ones its teams see on the match page. server is null until they are posted, and again once the match has a result, is called off or is more than 4 hours past its start. Poll it while the match is coming up (once a minute is plenty): the join details can change. 404 for a match your team is not in. Keep the answer out of public channels and logs.

Path parameters

  • numberstringrequired

    The match number, as on the website

Answer, 200

  • numberstring

    The match number

  • serverobject or null

    Null when there is nothing to join

    4 fields in server
    • namestring

      The server’s name, as it reads in the game’s server list

    • joinCodestring or null

      The code to join with; null when none was given

    • notestring

      The notes posted with it, which can hold the password

    • postedAtstring (date-time)

      When these details were posted. UTC, ISO 8601

Errors

  • 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.

  • 404
    not_found

    Nothing at that address, or another team’s match or application (so their existence does not leak).

And any request (11) to GET /team/matches/{number}/server
  • 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/matches/9105/server" \
  -H "Authorization: Bearer $GWL_API_KEY"
Example answer, 200
{
  "number": "9105",
  "server": {
    "name": "Sandbox match server",
    "joinCode": "SANDBOX-CODE",
    "note": "Password: sandbox-only",
    "postedAt": "2027-01-15T12:00:00.000Z"
  }
}

The raw match file of one of the team’s matches

GET/api/v1/team/matches/{number}/file

Key
Team key, live or test

Built from the league server’s live feed after the match, in the format the league reads. Includes Steam IDs. 404 until the file exists, and for a match the team was not in.

Path parameters

  • numberstringrequired

    The match number, as on the website

Answer, 200

  • idstring

    The file’s id

  • mapstring

    The map

  • startedAtstring (date-time)

    When the game said play began. When the feed carried no such message, the first kill, so it can be later than the real start (with no kill, the scheduled start). UTC, ISO 8601

  • endedAtstring (date-time) or null

    When the game said the match ended; null when it did not. UTC, ISO 8601

  • reasonstring or null

    Why it started; usually null

  • endReasonstring or null

    How it ended, when the game said

  • coveragestring

    "observed": built by the league from the live feed, so its end and any final score are unconfirmed

  • eventCountinteger

    Number of events

  • eventsarray of object

    Every kill, suicide and death, in order

    17 fields in events
    • idstring

      The game’s id for the event

    • typestring

      A kill, a suicide, or a death with no killer

      One of: player_killed, player_suicide, player_died

    • sequenceinteger

      Position in the file, from 0

    • atstring (date-time)

      When it happened. UTC, ISO 8601

    • victimSteamIdstring

      SteamID64 of the player who died

    • victimNamestringmay be absent

      Their name in the game

    • victimFactionstringmay be absent

      Their faction, when the server said

    • killerSteamIdstringmay be absent

      SteamID64 of the killer; absent for a death

    • killerNamestringmay be absent

      The killer’s name in the game

    • killerFactionstringmay be absent

      The killer’s faction, when the server said

    • causestringmay be absent

      What killed them, as the game names it

    • weaponIdstringmay be absent

      The weapon, when the cause is one

    • mapNamestring

      The map the game reported

    • matchIdstring

      The game’s own match id: not one of ours

    • distancenumbermay be absent

      Kill distance in centimetres, when the game said

    • eventTimeinteger

      The game’s time for it, seconds since 1970

    • contextTagsarray of string

      The game’s tags, such as headshot

  • scoresarray of object

    Faction scores in time order. The last is the final score; any before it are readings taken while the match ran, about one a minute, and there can be gaps. Empty when the game gave no final score

    4 fields in scores
    • sequenceinteger

      Position, from 0

    • observedAtstring (date-time)

      When it was seen. UTC, ISO 8601

    • mapstring

      The map

    • scoresarray of object

      One entry per faction

      3 fields in scores.scores
      • namestring

        Faction name

      • scorenumber

        Its score

      • colorstring

        Its colour

  • noticestring or null

    A note about how the file was made

Errors

  • 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.

  • 404
    not_found

    Nothing at that address, or another team’s match or application (so their existence does not leak).

And any request (11) to GET /team/matches/{number}/file
  • 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/matches/9103/file" \
  -H "Authorization: Bearer $GWL_API_KEY"
Example answer, 200
{
  "id": "gwl-9103",
  "map": "north-america",
  "startedAt": "2027-01-11T19:10:00.000Z",
  "endedAt": null,
  "reason": null,
  "endReason": null,
  "coverage": "observed",
  "eventCount": 5,
  "events": [
    {
      "id": "sandbox-9103-0",
      "type": "player_killed",
      "sequence": 0,
      "at": "2027-01-11T19:10:00.000Z",
      "victimSteamId": "76561190000000002",
      "victimName": "Sandbox Two",
      "killerSteamId": "76561190000000001",
      "killerName": "Sandbox One",
      "cause": "AK74",
      "weaponId": "AK74",
      "mapName": "north-america",
      "matchId": "9103",
      "distance": 14200,
      "eventTime": 1799694600,
      "contextTags": []
    },
    {
      "id": "sandbox-9103-1",
      "type": "player_killed",
      "sequence": 1,
      "at": "2027-01-11T19:17:00.000Z",
      "victimSteamId": "76561190000000004",
      "victimName": "Sandbox Four",
      "killerSteamId": "76561190000000003",
      "killerName": "Sandbox Three",
      "cause": "M4A1",
      "weaponId": "M4A1",
      "mapName": "north-america",
      "matchId": "9103",
      "distance": 3100,
      "eventTime": 1799695020,
      "contextTags": []
    },
    {
      "id": "sandbox-9103-2",
      "type": "player_killed",
      "sequence": 2,
      "at": "2027-01-11T19:24:00.000Z",
      "victimSteamId": "76561190000000003",
      "victimName": "Sandbox Three",
      "killerSteamId": "76561190000000001",
      "killerName": "Sandbox One",
      "cause": "SVD",
      "weaponId": "SVD",
      "mapName": "north-america",
      "matchId": "9103",
      "distance": 30500,
      "eventTime": 1799695440,
      "contextTags": [
        "Meta.Progression.Context.Player.KillContext.Headshot"
      ]
    },
    {
      "id": "sandbox-9103-3",
      "type": "player_killed",
      "sequence": 3,
      "at": "2027-01-11T19:31:00.000Z",
      "victimSteamId": "76561190000000001",
      "victimName": "Sandbox One",
      "killerSteamId": "76561190000000002",
      "killerName": "Sandbox Two",
      "cause": "AK74",
      "weaponId": "AK74",
      "mapName": "north-america",
      "matchId": "9103",
      "distance": 1800,
      "eventTime": 1799695860,
      "contextTags": []
    },
    {
      "id": "sandbox-9103-4",
      "type": "player_killed",
      "sequence": 4,
      "at": "2027-01-11T19:38:00.000Z",
      "victimSteamId": "76561190000000002",
      "victimName": "Sandbox Two",
      "killerSteamId": "76561190000000004",
      "killerName": "Sandbox Four",
      "cause": "M4A1",
      "weaponId": "M4A1",
      "mapName": "north-america",
      "matchId": "9103",
      "distance": 7700,
      "eventTime": 1799696280,
      "contextTags": []
    }
  ],
  "scores": [],
  "notice": "Built by the league from the server's live feed."
}