Public data

All endpoints

The league table

GET/api/v1/standings

Key
Personal key, or a test key

Query parameters

  • periodstringoptional

    season (the Friendly League) or all-time

    One of: season, all-time · Default: season

  • regionstringoptional

    all, or one region code

    One of: all, EU, NA, SA, ASIA, OCE, MEA · Default: all

  • limitintegeroptional

    Page size, up to 50

    Default: 25 · Minimum: 1 · Maximum: 50

  • pageintegeroptional

    Page, up to 10

    Default: 1 · Minimum: 1 · Maximum: 10

Answer, 200

  • itemsarray of object

    This page

    13 fields in items
    • rankinteger

      Place in this table

    • teamstring

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

    • namestring

      Team name

    • tagstring

      Team tag

    • regionstring

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

    • playedinteger

      Matches played in the period

    • winsinteger

      1st places in the period

    • placementsobject

      How often the team finished 1st, 2nd and 3rd

      3 fields in items.placements
      • firstinteger

        Times finished 1st

      • secondinteger

        Times finished 2nd

      • thirdinteger

        Times finished 3rd

    • scorenumber

      In-game score summed over the period

    • eloRatinginteger

      The Elo Rating: one ongoing all-time number, as on every page

    • formarray of integer

      Last five finishes, oldest first

    • reputationnumber

      Reputation, 0 to 100

    • mainFactionstring or null

      Faction code the team played most; null when none

  • pageinteger

    This page’s number, from 1

  • limitinteger

    Page size asked for

  • totalinteger

    How many there are in all

  • hasMoreboolean

    Whether there is a next page

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.

  • 503
    public_api_off

    The league switched the public tier off for now. Team routes still work.

And any request (11) to GET /standings
  • 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/standings?period=season&region=all&limit=3" \
  -H "Authorization: Bearer $GWL_API_KEY"
Example answer, 200
{
  "items": [
    {
      "rank": 1,
      "team": "fixture-falcons",
      "name": "Fixture Falcons",
      "tag": "FIXT",
      "region": "MEA",
      "played": 6,
      "wins": 4,
      "placements": {
        "first": 4,
        "second": 2,
        "third": 0
      },
      "score": 524,
      "eloRating": 1554,
      "form": [
        1,
        2,
        1,
        2,
        1
      ],
      "reputation": 86,
      "mainFaction": "lonestar"
    },
    {
      "rank": 2,
      "team": "lorem-lancers",
      "name": "Lorem Lancers",
      "tag": "LORM",
      "region": "NA",
      "played": 7,
      "wins": 4,
      "placements": {
        "first": 4,
        "second": 1,
        "third": 2
      },
      "score": 545,
      "eloRating": 1546,
      "form": [
        3,
        3,
        1,
        1,
        1
      ],
      "reputation": 68,
      "mainFaction": "lonestar"
    },
    {
      "rank": 3,
      "team": "placeholder-pioneers",
      "name": "Placeholder Pioneers",
      "tag": "PLCH",
      "region": "OCE",
      "played": 8,
      "wins": 2,
      "placements": {
        "first": 2,
        "second": 2,
        "third": 4
      },
      "score": 476,
      "eloRating": 1458,
      "form": [
        3,
        3,
        3,
        1,
        3
      ],
      "reputation": 81,
      "mainFaction": "manticore"
    }
  ],
  "page": 1,
  "limit": 3,
  "total": 10,
  "hasMore": true
}

Every active team

GET/api/v1/teams

Key
Personal key, or a test key

Query parameters

  • limitintegeroptional

    Page size, up to 50

    Default: 25 · Minimum: 1 · Maximum: 50

  • pageintegeroptional

    Page, up to 10

    Default: 1 · Minimum: 1 · Maximum: 10

Answer, 200

  • itemsarray of object

    This page

    17 fields in items
    • slugstring

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

    • namestring

      Team name

    • tagstring

      Team tag

    • regionstring

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

    • flagstring or null

      The team’s primary flag, the one lists show: an ISO country code (GB, DE) or region:<code> for a region flag; null when none is chosen

    • flagsarray of string

      The team’s profile flags in order, primary first, up to three: each an ISO country code (GB, DE) or region:<code> for a region flag; empty when none is chosen

    • eloRatinginteger

      The Elo Rating: one ongoing all-time number, as on every page

    • reputationScorenumber

      Reputation, 0 to 100

    • safetyBandstring

      Excellent, Good, Fair or Poor: the band of the Safety part of the reputation score

    • provisionalboolean

      Too few rated matches for the reputation to settle

    • ratedMatchesinteger

      Rated matches, all time

    • seasonMatchesinteger

      Matches this season

    • placementsobject

      How often the team finished 1st, 2nd and 3rd

      3 fields in items.placements
      • firstinteger

        Times finished 1st

      • secondinteger

        Times finished 2nd

      • thirdinteger

        Times finished 3rd

    • rosterCountinteger

      People on the active roster

    • mainFactionstring or null

      Faction code the team played most; null when none

    • openSlotsinteger

      Open slots it has posted or joined

    • rankinteger or null

      Place in the Elo Global Rankings; null when unranked

  • pageinteger

    This page’s number, from 1

  • limitinteger

    Page size asked for

  • totalinteger

    How many there are in all

  • hasMoreboolean

    Whether there is a next page

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.

  • 503
    public_api_off

    The league switched the public tier off for now. Team routes still work.

And any request (11) to GET /teams
  • 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/teams?limit=2" \
  -H "Authorization: Bearer $GWL_API_KEY"
Example answer, 200
{
  "items": [
    {
      "slug": "stub-strikers",
      "name": "Stub Strikers",
      "tag": "STUB",
      "region": "EU",
      "flag": "PL",
      "flags": [
        "PL"
      ],
      "eloRating": 1645,
      "reputationScore": 82,
      "safetyBand": "Excellent",
      "provisional": false,
      "ratedMatches": 18,
      "seasonMatches": 5,
      "placements": {
        "first": 10,
        "second": 7,
        "third": 1
      },
      "rosterCount": 3,
      "mainFaction": "valkyra",
      "openSlots": 0,
      "rank": 1
    },
    {
      "slug": "fixture-falcons",
      "name": "Fixture Falcons",
      "tag": "FIXT",
      "region": "MEA",
      "flag": "ZA",
      "flags": [
        "ZA"
      ],
      "eloRating": 1554,
      "reputationScore": 86,
      "safetyBand": "Fair",
      "provisional": false,
      "ratedMatches": 10,
      "seasonMatches": 6,
      "placements": {
        "first": 5,
        "second": 4,
        "third": 1
      },
      "rosterCount": 3,
      "mainFaction": "lonestar",
      "openSlots": 2,
      "rank": 2
    }
  ],
  "page": 1,
  "limit": 2,
  "total": 10,
  "hasMore": true
}

One team’s public page

GET/api/v1/teams/{slug}

Key
Personal key, or a test key

Path parameters

  • slugstringrequired

    The team’s address on the site (/teams/<slug>)

Answer, 200

  • slugstring

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

  • namestring

    Team name

  • tagstring

    Team tag

  • regionstring

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

  • descriptionstring

    What the team wrote about itself; may be empty

  • flagstring or null

    The team’s primary flag, the one lists show: an ISO country code (GB, DE) or region:<code> for a region flag; null when none is chosen

  • flagsarray of string

    The team’s profile flags in order, primary first, up to three: each an ISO country code (GB, DE) or region:<code> for a region flag; empty when none is chosen

  • eloRatinginteger

    The Elo Rating: one ongoing all-time number, as on every page

  • ratedMatchesinteger

    Rated matches, all time

  • placementsobject

    How often the team finished 1st, 2nd and 3rd

    3 fields in placements
    • firstinteger

      Times finished 1st

    • secondinteger

      Times finished 2nd

    • thirdinteger

      Times finished 3rd

  • reputationScorenumber

    Reputation, 0 to 100

  • safetyBandstring

    Excellent, Good, Fair or Poor: the band of the Safety part of the reputation score

  • rosterCountinteger

    People on the active roster

  • rankinteger or null

    Place in the league table; null when unranked

  • foundersarray of string

    Names of the Team Leader and Co-founders, Leader first

  • rosterarray of object

    The public roster

    4 fields in roster
    • namestring

      Display name

    • rolestring

      owner (Team Leader), manager (Team Rep) or player

    • playerIdstringmay be absent

      Their player page id (/players/<id>), when they have one

    • countrystringmay be absent

      ISO 3166-1 alpha-2 country the person chose to show

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

  • 503
    public_api_off

    The league switched the public tier off for now. Team routes still work.

And any request (11) to GET /teams/{slug}
  • 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/teams/test-team" \
  -H "Authorization: Bearer $GWL_API_KEY"
Example answer, 200
{
  "slug": "test-team",
  "name": "Test Team",
  "tag": "TEST",
  "region": "EU",
  "description": "An invented team for building against the API. Nothing here is real.",
  "flag": "GB",
  "flags": [
    "GB"
  ],
  "eloRating": 1482,
  "ratedMatches": 12,
  "placements": {
    "first": 2,
    "second": 7,
    "third": 3
  },
  "reputationScore": 79,
  "safetyBand": "Excellent",
  "rosterCount": 8,
  "rank": 6,
  "founders": [
    "Ada Example",
    "Bram Sample"
  ],
  "roster": [
    {
      "name": "Ada Example",
      "role": "owner",
      "playerId": "test-player-01",
      "country": "GB"
    },
    {
      "name": "Bram Sample",
      "role": "manager",
      "playerId": "test-player-02",
      "country": "NL"
    },
    {
      "name": "Cleo Placeholder",
      "role": "manager",
      "playerId": "test-player-03",
      "country": "FR"
    },
    {
      "name": "Dmitri Mock",
      "role": "player",
      "playerId": "test-player-04",
      "country": "PL"
    },
    {
      "name": "Eun-ji Testcase",
      "role": "player",
      "playerId": "test-player-05",
      "country": "KR"
    },
    {
      "name": "Femi Dummy",
      "role": "player",
      "playerId": "test-player-06",
      "country": "NG"
    },
    {
      "name": "Gustav Stub",
      "role": "player",
      "playerId": "test-player-07"
    },
    {
      "name": "Hana Fixture",
      "role": "player",
      "playerId": "test-player-08",
      "country": "JP"
    }
  ]
}

Upcoming matches or results

GET/api/v1/matches

Key
Personal key, or a test key

Query parameters

  • statusstringoptional

    upcoming, or results (newest first)

    One of: upcoming, results · Default: results

  • limitintegeroptional

    Page size, up to 50

    Default: 25 · Minimum: 1 · Maximum: 50

  • pageintegeroptional

    Page, up to 10

    Default: 1 · Minimum: 1 · Maximum: 10

Answer, 200

  • itemsarray of object

    This page

    16 fields in items
    • 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 items.sides
      • teamobject

        A team, by slug, name and tag

        3 fields in items.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

  • pageinteger

    This page’s number, from 1

  • limitinteger

    Page size asked for

  • totalinteger

    How many there are in all

  • hasMoreboolean

    Whether there is a next page

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.

  • 503
    public_api_off

    The league switched the public tier off for now. Team routes still work.

And any request (11) to GET /matches
  • 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/matches?status=results&limit=2" \
  -H "Authorization: Bearer $GWL_API_KEY"
Example answer, 200
{
  "items": [
    {
      "number": "9090",
      "status": "confirmed",
      "rated": true,
      "region": "EU",
      "map": "kavkazi",
      "mapName": "Bakurani",
      "layer": "Default",
      "zone": "Default",
      "weather": null,
      "season": "Sandbox Season",
      "startsAt": "2027-01-13T19:00:00.000Z",
      "concludedAt": "2027-01-13T21:57:00.000Z",
      "disputeUntil": "2027-01-15T21:57:00.000Z",
      "durationSeconds": 3420,
      "host": "example-eagles",
      "sides": [
        {
          "team": {
            "slug": "example-eagles",
            "name": "Example Eagles",
            "tag": "EXEG"
          },
          "faction": "lonestar",
          "score": 100,
          "placement": 1,
          "points": 5,
          "eloDelta": 15
        },
        {
          "team": {
            "slug": "mock-mortars",
            "name": "Mock Mortars",
            "tag": "MOCK"
          },
          "faction": "valkyra",
          "score": 72,
          "placement": 2,
          "points": 3,
          "eloDelta": 6
        },
        {
          "team": {
            "slug": "stub-strikers",
            "name": "Stub Strikers",
            "tag": "STUB"
          },
          "faction": "manticore",
          "score": 41,
          "placement": 3,
          "points": 1,
          "eloDelta": -17
        }
      ]
    },
    {
      "number": "9089",
      "status": "confirmed",
      "rated": true,
      "region": "EU",
      "map": "europe",
      "mapName": "Ozeti",
      "layer": "Default",
      "zone": "Default",
      "weather": null,
      "season": "Sandbox Season",
      "startsAt": "2027-01-12T07:00:00.000Z",
      "concludedAt": "2027-01-12T09:58:30.000Z",
      "disputeUntil": null,
      "durationSeconds": 3510,
      "host": "sample-sappers",
      "sides": [
        {
          "team": {
            "slug": "sample-sappers",
            "name": "Sample Sappers",
            "tag": "SMPL"
          },
          "faction": "lonestar",
          "score": 100,
          "placement": 1,
          "points": 5,
          "eloDelta": 14
        },
        {
          "team": {
            "slug": "placeholder-pioneers",
            "name": "Placeholder Pioneers",
            "tag": "PLCH"
          },
          "faction": "valkyra",
          "score": 61,
          "placement": 2,
          "points": 3,
          "eloDelta": 0
        },
        {
          "team": {
            "slug": "fixture-falcons",
            "name": "Fixture Falcons",
            "tag": "FIXT"
          },
          "faction": "manticore",
          "score": 29,
          "placement": 3,
          "points": 1,
          "eloDelta": -16
        }
      ]
    }
  ],
  "page": 1,
  "limit": 2,
  "total": 11,
  "hasMore": true
}

One match, with its player stats

GET/api/v1/matches/{number}

Key
Personal key, or a test key

A league match as the public match page shows it. 404 for a match that is not listed there, such as a cancelled one.

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

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

  • 503
    public_api_off

    The league switched the public tier off for now. Team routes still work.

And any request (11) to GET /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/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
    }
  ],
  "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
    }
  ]
}

Players by Elo Rating

GET/api/v1/players/leaderboard

Key
Personal key, or a test key

Players on a team. A player on no team is not listed.

Query parameters

  • limitintegeroptional

    Page size, up to 50

    Default: 25 · Minimum: 1 · Maximum: 50

  • pageintegeroptional

    Page, up to 10

    Default: 1 · Minimum: 1 · Maximum: 10

Answer, 200

  • itemsarray of object

    This page

    10 fields in items
    • rankinteger or null

      Place by player Elo Rating (not the website’s leaderboard by kills); null before a rated match. The league does not rate players, so expect null

    • playerIdstring

      Player page id (/players/<id>)

    • namestring

      Display name

    • teamobject

      Their team

      3 fields in items.team
      • slugstring

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

      • namestring

        Team name

      • tagstring

        Team tag

    • regionstring

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

    • eloRatinginteger

      The player’s Elo Rating. The league does not rate players, so expect the starting 1500

    • matchesinteger

      Rated matches played in player Elo

    • winsinteger

      1st places

    • winRatenumber or null

      Wins divided by matches, 0 to 1; null before a match

    • countrystringmay be absent

      ISO 3166-1 alpha-2 country the person chose to show

  • pageinteger

    This page’s number, from 1

  • limitinteger

    Page size asked for

  • totalinteger

    How many there are in all

  • hasMoreboolean

    Whether there is a next page

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.

  • 503
    public_api_off

    The league switched the public tier off for now. Team routes still work.

And any request (11) to GET /players/leaderboard
  • 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/players/leaderboard?limit=3" \
  -H "Authorization: Bearer $GWL_API_KEY"
Example answer, 200
{
  "items": [
    {
      "rank": 1,
      "playerId": "test-player-53",
      "name": "Bea Sapper",
      "team": {
        "slug": "sample-sappers",
        "name": "Sample Sappers",
        "tag": "SMPL"
      },
      "region": "EU",
      "eloRating": 1708,
      "matches": 28,
      "wins": 9,
      "winRate": 0.321,
      "country": "DE"
    },
    {
      "rank": 2,
      "playerId": "test-player-58",
      "name": "Bea Mortar",
      "team": {
        "slug": "mock-mortars",
        "name": "Mock Mortars",
        "tag": "MOCK"
      },
      "region": "ASIA",
      "eloRating": 1695,
      "matches": 17,
      "wins": 9,
      "winRate": 0.529
    },
    {
      "rank": 3,
      "playerId": "test-player-64",
      "name": "Dana Dragoon",
      "team": {
        "slug": "dummy-dragoons",
        "name": "Dummy Dragoons",
        "tag": "DUMY"
      },
      "region": "SA",
      "eloRating": 1682,
      "matches": 3,
      "wins": 1,
      "winRate": 0.333
    }
  ],
  "page": 1,
  "limit": 3,
  "total": 34,
  "hasMore": true
}