Matches
GET
Query parameters
limitintegeroptionalHow many, up to 100
Default: 10 · Minimum: 1 · Maximum: 100
Answer, 200
upcomingarray of objectMatches not played yet, soonest first
19 fields in upcoming
numberstringThe match number, as on the website
statusstringscheduled (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
ratedbooleanWhether the result is moving Elo now. False again while the match is disputed
regionstringCompetitive region code: EU, NA, SA, ASIA, OCE or MEA
mapstringMap id, the game’s own: kavkazi, europe, north-america or sabatulo
mapNamestringThe map’s name as the website shows it, for example Zestafona for north-america
layerstring or nullZone key as stored on the match; null for Random or none
zonestring or nullThe 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 nullWeather key (clear, overcast, rain, fog, storm), or null for any
seasonstring or nullName 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 nullWhen 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 nullSet while the result already counts and a team can still dispute it: the end of that window. Null otherwise. UTC, ISO 8601
durationSecondsinteger or nullHow long it was played, in seconds; null when unknown
hoststring or nullTeam slug of the host; null when no team hosts (a GWL official server, or the host team is gone)
sidesarray of objectThe three teams, host first
6 fields in upcoming.sides
teamobjectA team, by slug, name and tag
3 fields in upcoming.sides.team
slugstringThe team’s address on the site (/teams/<slug>): its id here
namestring or nullTeam name; null if it is gone
tagstring or nullTeam tag; null if it is gone
factionstring or nullFaction code once a moderator assigns one, else null
scorenumber or nullThe side’s in-game score, 0 to 100; null before a result
placementinteger or null1, 2 or 3; null before a result
pointsnumber or nullPlacement points for the match: 5 for 1st, 3 for 2nd, 1 for 3rd. They count only while the status is confirmed
eloDeltanumber or nullElo change from this match as it counts now; null while it is not rated, a disputed match included
lockedAtstring (date-time) or nullWhen the third team joined and it became a match. UTC, ISO 8601
serverPostedbooleanWhether server details have been posted. This route never returns them: see /team/matches/{number}/server
readyTeamsarray of stringSlugs of the teams that pressed Ready
recentarray of objectPlayed matches, newest first
19 fields in recent
numberstringThe match number, as on the website
statusstringscheduled (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
ratedbooleanWhether the result is moving Elo now. False again while the match is disputed
regionstringCompetitive region code: EU, NA, SA, ASIA, OCE or MEA
mapstringMap id, the game’s own: kavkazi, europe, north-america or sabatulo
mapNamestringThe map’s name as the website shows it, for example Zestafona for north-america
layerstring or nullZone key as stored on the match; null for Random or none
zonestring or nullThe 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 nullWeather key (clear, overcast, rain, fog, storm), or null for any
seasonstring or nullName 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 nullWhen 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 nullSet while the result already counts and a team can still dispute it: the end of that window. Null otherwise. UTC, ISO 8601
durationSecondsinteger or nullHow long it was played, in seconds; null when unknown
hoststring or nullTeam slug of the host; null when no team hosts (a GWL official server, or the host team is gone)
sidesarray of objectThe three teams, host first
6 fields in recent.sides
teamobjectA team, by slug, name and tag
3 fields in recent.sides.team
slugstringThe team’s address on the site (/teams/<slug>): its id here
namestring or nullTeam name; null if it is gone
tagstring or nullTeam tag; null if it is gone
factionstring or nullFaction code once a moderator assigns one, else null
scorenumber or nullThe side’s in-game score, 0 to 100; null before a result
placementinteger or null1, 2 or 3; null before a result
pointsnumber or nullPlacement points for the match: 5 for 1st, 3 for 2nd, 1 for 3rd. They count only while the status is confirmed
eloDeltanumber or nullElo change from this match as it counts now; null while it is not rated, a disputed match included
lockedAtstring (date-time) or nullWhen the third team joined and it became a match. UTC, ISO 8601
serverPostedbooleanWhether server details have been posted. This route never returns them: see /team/matches/{number}/server
readyTeamsarray of stringSlugs of the teams that pressed Ready
Errors
- 400
invalid_requestA query parameter or body field is missing, of the wrong type or out of range.
- 403
missing_scopeThe key was made without the scope the route needs. The message names it.
- 403
scope_lostThe scope is ticked, but the key’s maker no longer holds the team permission behind it.
- 403
wrong_key_typeA 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_keyNo Authorization header, or not a bearer token.
- 401
invalid_keyNot a key, a mistyped one, or a key used in the wrong mode.
- 401
key_revokedThe key was revoked, by its team, by league staff or because its team is gone.
- 401
key_expiredThe key passed the expiry chosen when it was made.
- 403
team_suspendedLeague staff suspended the team. Its keys work again when it is restored.
- 403
key_maker_leftThe person who made or last rotated the key left the team. Rotating starts it again.
- 403
key_maker_no_accessThe person who made or last rotated the key no longer holds Manage API keys. Rotating starts it again.
- 429
rate_limitedOver the per-minute limit for the key or the address. Wait for Retry-After.
- 429
daily_limitA personal or test key used its requests for the day.
- 429
too_many_bad_keysToo many wrong keys from one address. Wait for Retry-After.
- 500
internal_errorA fault on the league’s side. Try again later.
curl "https://gwl.gg/api/v1/team/fixtures?limit=2" \
-H "Authorization: Bearer $GWL_API_KEY"{
"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"
]
}
]
}GET
The result and playerStats of all three teams. Ask again when you hear match.stats, match.confirmed, match.disputed or match.settled.
Path parameters
numberstringrequiredThe match number, as on the website
Answer, 200
numberstringThe match number, as on the website
statusstringscheduled (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
ratedbooleanWhether the result is moving Elo now. False again while the match is disputed
regionstringCompetitive region code: EU, NA, SA, ASIA, OCE or MEA
mapstringMap id, the game’s own: kavkazi, europe, north-america or sabatulo
mapNamestringThe map’s name as the website shows it, for example Zestafona for north-america
layerstring or nullZone key as stored on the match; null for Random or none
zonestring or nullThe 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 nullWeather key (clear, overcast, rain, fog, storm), or null for any
seasonstring or nullName 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 nullWhen 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 nullSet while the result already counts and a team can still dispute it: the end of that window. Null otherwise. UTC, ISO 8601
durationSecondsinteger or nullHow long it was played, in seconds; null when unknown
hoststring or nullTeam slug of the host; null when no team hosts (a GWL official server, or the host team is gone)
sidesarray of objectThe three teams, host first
6 fields in sides
teamobjectA team, by slug, name and tag
3 fields in sides.team
slugstringThe team’s address on the site (/teams/<slug>): its id here
namestring or nullTeam name; null if it is gone
tagstring or nullTeam tag; null if it is gone
factionstring or nullFaction code once a moderator assigns one, else null
scorenumber or nullThe side’s in-game score, 0 to 100; null before a result
placementinteger or null1, 2 or 3; null before a result
pointsnumber or nullPlacement points for the match: 5 for 1st, 3 for 2nd, 1 for 3rd. They count only while the status is confirmed
eloDeltanumber or nullElo change from this match as it counts now; null while it is not rated, a disputed match included
lockedAtstring (date-time) or nullWhen the third team joined and it became a match. UTC, ISO 8601
serverPostedbooleanWhether server details have been posted. This route never returns them: see /team/matches/{number}/server
readyTeamsarray of stringSlugs of the teams that pressed Ready
playerStatsarray of objectEach 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
namestringTheir name in the game, as the match page shows it
teamobjectThe team they played for in this match
3 fields in playerStats.team
slugstringThe team’s address on the site (/teams/<slug>): its id here
namestring or nullTeam name; null if it is gone
tagstring or nullTeam tag; null if it is gone
killsintegerKills
deathsintegerDeaths
headshotsinteger or nullHeadshot kills; null when the match file does not say
Errors
- 403
missing_scopeThe key was made without the scope the route needs. The message names it.
- 403
scope_lostThe scope is ticked, but the key’s maker no longer holds the team permission behind it.
- 403
wrong_key_typeA personal key on a team route, or a team live key on a public route.
- 404
not_foundNothing 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_keyNo Authorization header, or not a bearer token.
- 401
invalid_keyNot a key, a mistyped one, or a key used in the wrong mode.
- 401
key_revokedThe key was revoked, by its team, by league staff or because its team is gone.
- 401
key_expiredThe key passed the expiry chosen when it was made.
- 403
team_suspendedLeague staff suspended the team. Its keys work again when it is restored.
- 403
key_maker_leftThe person who made or last rotated the key left the team. Rotating starts it again.
- 403
key_maker_no_accessThe person who made or last rotated the key no longer holds Manage API keys. Rotating starts it again.
- 429
rate_limitedOver the per-minute limit for the key or the address. Wait for Retry-After.
- 429
daily_limitA personal or test key used its requests for the day.
- 429
too_many_bad_keysToo many wrong keys from one address. Wait for Retry-After.
- 500
internal_errorA fault on the league’s side. Try again later.
curl "https://gwl.gg/api/v1/team/matches/9103" \
-H "Authorization: Bearer $GWL_API_KEY"{
"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
}
]
}GET
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
numberstringrequiredThe number of a match that has not finished
Answer, 200
numberstringThe match number
startsAtstring (date-time)When the match starts. UTC, ISO 8601
hoststring or nullSlug of the team hosting the match; null on a GWL official server
yourTeamHostsbooleanYour team hosts, so every team is listed
teamsarray of objectThe teams in the match, yours first
4 fields in teams
teamobjectA team, by slug, name and tag
3 fields in teams.team
slugstringThe team’s address on the site (/teams/<slug>): its id here
namestring or nullTeam name; null if it is gone
tagstring or nullTeam tag; null if it is gone
factionstring or nullThe faction the team plays; null until it is drawn
yoursbooleanThis is your own team
playersarray of objectMembers of the team, Leader first
5 fields in teams.players
namestringDisplay name
rolestringowner, manager or player
teamobjectThe team they play for in this match
3 fields in teams.players.team
slugstringThe team’s address on the site (/teams/<slug>): its id here
namestring or nullTeam name; null if it is gone
tagstring or nullTeam tag; null if it is gone
factionstring or nullTheir team’s faction; null until it is drawn
steamIdstring or nullmay be absentSteamID64. 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_scopeThe key was made without the scope the route needs. The message names it.
- 403
scope_lostThe scope is ticked, but the key’s maker no longer holds the team permission behind it.
- 403
wrong_key_typeA personal key on a team route, or a team live key on a public route.
- 404
not_foundNothing 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_keyNo Authorization header, or not a bearer token.
- 401
invalid_keyNot a key, a mistyped one, or a key used in the wrong mode.
- 401
key_revokedThe key was revoked, by its team, by league staff or because its team is gone.
- 401
key_expiredThe key passed the expiry chosen when it was made.
- 403
team_suspendedLeague staff suspended the team. Its keys work again when it is restored.
- 403
key_maker_leftThe person who made or last rotated the key left the team. Rotating starts it again.
- 403
key_maker_no_accessThe person who made or last rotated the key no longer holds Manage API keys. Rotating starts it again.
- 429
rate_limitedOver the per-minute limit for the key or the address. Wait for Retry-After.
- 429
daily_limitA personal or test key used its requests for the day.
- 429
too_many_bad_keysToo many wrong keys from one address. Wait for Retry-After.
- 500
internal_errorA fault on the league’s side. Try again later.
curl "https://gwl.gg/api/v1/team/matches/9105/players" \
-H "Authorization: Bearer $GWL_API_KEY"{
"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.
GET
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
numberstringrequiredThe match number, as on the website
Answer, 200
numberstringThe match number
serverobject or nullNull when there is nothing to join
4 fields in server
namestringThe server’s name, as it reads in the game’s server list
joinCodestring or nullThe code to join with; null when none was given
notestringThe notes posted with it, which can hold the password
postedAtstring (date-time)When these details were posted. UTC, ISO 8601
Errors
- 403
missing_scopeThe key was made without the scope the route needs. The message names it.
- 403
scope_lostThe scope is ticked, but the key’s maker no longer holds the team permission behind it.
- 403
wrong_key_typeA personal key on a team route, or a team live key on a public route.
- 404
not_foundNothing 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_keyNo Authorization header, or not a bearer token.
- 401
invalid_keyNot a key, a mistyped one, or a key used in the wrong mode.
- 401
key_revokedThe key was revoked, by its team, by league staff or because its team is gone.
- 401
key_expiredThe key passed the expiry chosen when it was made.
- 403
team_suspendedLeague staff suspended the team. Its keys work again when it is restored.
- 403
key_maker_leftThe person who made or last rotated the key left the team. Rotating starts it again.
- 403
key_maker_no_accessThe person who made or last rotated the key no longer holds Manage API keys. Rotating starts it again.
- 429
rate_limitedOver the per-minute limit for the key or the address. Wait for Retry-After.
- 429
daily_limitA personal or test key used its requests for the day.
- 429
too_many_bad_keysToo many wrong keys from one address. Wait for Retry-After.
- 500
internal_errorA fault on the league’s side. Try again later.
curl "https://gwl.gg/api/v1/team/matches/9105/server" \
-H "Authorization: Bearer $GWL_API_KEY"{
"number": "9105",
"server": {
"name": "Sandbox match server",
"joinCode": "SANDBOX-CODE",
"note": "Password: sandbox-only",
"postedAt": "2027-01-15T12:00:00.000Z"
}
}GET
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
numberstringrequiredThe match number, as on the website
Answer, 200
idstringThe file’s id
mapstringThe 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 nullWhen the game said the match ended; null when it did not. UTC, ISO 8601
reasonstring or nullWhy it started; usually null
endReasonstring or nullHow 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
eventCountintegerNumber of events
eventsarray of objectEvery kill, suicide and death, in order
17 fields in events
idstringThe game’s id for the event
typestringA kill, a suicide, or a death with no killer
One of: player_killed, player_suicide, player_died
sequenceintegerPosition in the file, from 0
atstring (date-time)When it happened. UTC, ISO 8601
victimSteamIdstringSteamID64 of the player who died
victimNamestringmay be absentTheir name in the game
victimFactionstringmay be absentTheir faction, when the server said
killerSteamIdstringmay be absentSteamID64 of the killer; absent for a death
killerNamestringmay be absentThe killer’s name in the game
killerFactionstringmay be absentThe killer’s faction, when the server said
causestringmay be absentWhat killed them, as the game names it
weaponIdstringmay be absentThe weapon, when the cause is one
mapNamestringThe map the game reported
matchIdstringThe game’s own match id: not one of ours
distancenumbermay be absentKill distance in centimetres, when the game said
eventTimeintegerThe game’s time for it, seconds since 1970
contextTagsarray of stringThe game’s tags, such as headshot
scoresarray of objectFaction 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
sequenceintegerPosition, from 0
observedAtstring (date-time)When it was seen. UTC, ISO 8601
mapstringThe map
scoresarray of objectOne entry per faction
3 fields in scores.scores
namestringFaction name
scorenumberIts score
colorstringIts colour
noticestring or nullA note about how the file was made
Errors
- 403
missing_scopeThe key was made without the scope the route needs. The message names it.
- 403
scope_lostThe scope is ticked, but the key’s maker no longer holds the team permission behind it.
- 403
wrong_key_typeA personal key on a team route, or a team live key on a public route.
- 404
not_foundNothing 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_keyNo Authorization header, or not a bearer token.
- 401
invalid_keyNot a key, a mistyped one, or a key used in the wrong mode.
- 401
key_revokedThe key was revoked, by its team, by league staff or because its team is gone.
- 401
key_expiredThe key passed the expiry chosen when it was made.
- 403
team_suspendedLeague staff suspended the team. Its keys work again when it is restored.
- 403
key_maker_leftThe person who made or last rotated the key left the team. Rotating starts it again.
- 403
key_maker_no_accessThe person who made or last rotated the key no longer holds Manage API keys. Rotating starts it again.
- 429
rate_limitedOver the per-minute limit for the key or the address. Wait for Retry-After.
- 429
daily_limitA personal or test key used its requests for the day.
- 429
too_many_bad_keysToo many wrong keys from one address. Wait for Retry-After.
- 500
internal_errorA fault on the league’s side. Try again later.
curl "https://gwl.gg/api/v1/team/matches/9103/file" \
-H "Authorization: Bearer $GWL_API_KEY"{
"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."
}