Public data
GET
Query parameters
periodstringoptionalseason (the Friendly League) or all-time
One of: season, all-time · Default: season
regionstringoptionalall, or one region code
One of: all, EU, NA, SA, ASIA, OCE, MEA · Default: all
limitintegeroptionalPage size, up to 50
Default: 25 · Minimum: 1 · Maximum: 50
pageintegeroptionalPage, up to 10
Default: 1 · Minimum: 1 · Maximum: 10
Answer, 200
itemsarray of objectThis page
13 fields in items
rankintegerPlace in this table
teamstringThe team’s address on the site (/teams/<slug>): its id here
namestringTeam name
tagstringTeam tag
regionstringCompetitive region code: EU, NA, SA, ASIA, OCE or MEA
playedintegerMatches played in the period
winsinteger1st places in the period
placementsobjectHow often the team finished 1st, 2nd and 3rd
3 fields in items.placements
firstintegerTimes finished 1st
secondintegerTimes finished 2nd
thirdintegerTimes finished 3rd
scorenumberIn-game score summed over the period
eloRatingintegerThe Elo Rating: one ongoing all-time number, as on every page
formarray of integerLast five finishes, oldest first
reputationnumberReputation, 0 to 100
mainFactionstring or nullFaction code the team played most; null when none
pageintegerThis page’s number, from 1
limitintegerPage size asked for
totalintegerHow many there are in all
hasMorebooleanWhether there is a next page
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.
- 503
public_api_offThe league switched the public tier off for now. Team routes still work.
And any request (11) to GET /standings
- 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/standings?period=season®ion=all&limit=3" \
-H "Authorization: Bearer $GWL_API_KEY"{
"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
}GET
Query parameters
limitintegeroptionalPage size, up to 50
Default: 25 · Minimum: 1 · Maximum: 50
pageintegeroptionalPage, up to 10
Default: 1 · Minimum: 1 · Maximum: 10
Answer, 200
itemsarray of objectThis page
17 fields in items
slugstringThe team’s address on the site (/teams/<slug>): its id here
namestringTeam name
tagstringTeam tag
regionstringCompetitive region code: EU, NA, SA, ASIA, OCE or MEA
flagstring or nullThe 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 stringThe 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
eloRatingintegerThe Elo Rating: one ongoing all-time number, as on every page
reputationScorenumberReputation, 0 to 100
safetyBandstringExcellent, Good, Fair or Poor: the band of the Safety part of the reputation score
provisionalbooleanToo few rated matches for the reputation to settle
ratedMatchesintegerRated matches, all time
seasonMatchesintegerMatches this season
placementsobjectHow often the team finished 1st, 2nd and 3rd
3 fields in items.placements
firstintegerTimes finished 1st
secondintegerTimes finished 2nd
thirdintegerTimes finished 3rd
rosterCountintegerPeople on the active roster
mainFactionstring or nullFaction code the team played most; null when none
openSlotsintegerOpen slots it has posted or joined
rankinteger or nullPlace in the Elo Global Rankings; null when unranked
pageintegerThis page’s number, from 1
limitintegerPage size asked for
totalintegerHow many there are in all
hasMorebooleanWhether there is a next page
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.
- 503
public_api_offThe league switched the public tier off for now. Team routes still work.
And any request (11) to GET /teams
- 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/teams?limit=2" \
-H "Authorization: Bearer $GWL_API_KEY"{
"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
}GET
Path parameters
slugstringrequiredThe team’s address on the site (/teams/<slug>)
Answer, 200
slugstringThe team’s address on the site (/teams/<slug>): its id here
namestringTeam name
tagstringTeam tag
regionstringCompetitive region code: EU, NA, SA, ASIA, OCE or MEA
descriptionstringWhat the team wrote about itself; may be empty
flagstring or nullThe 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 stringThe 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
eloRatingintegerThe Elo Rating: one ongoing all-time number, as on every page
ratedMatchesintegerRated matches, all time
placementsobjectHow often the team finished 1st, 2nd and 3rd
3 fields in placements
firstintegerTimes finished 1st
secondintegerTimes finished 2nd
thirdintegerTimes finished 3rd
reputationScorenumberReputation, 0 to 100
safetyBandstringExcellent, Good, Fair or Poor: the band of the Safety part of the reputation score
rosterCountintegerPeople on the active roster
rankinteger or nullPlace in the league table; null when unranked
foundersarray of stringNames of the Team Leader and Co-founders, Leader first
rosterarray of objectThe public roster
4 fields in roster
namestringDisplay name
rolestringowner (Team Leader), manager (Team Rep) or player
playerIdstringmay be absentTheir player page id (/players/<id>), when they have one
countrystringmay be absentISO 3166-1 alpha-2 country the person chose to show
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).
- 503
public_api_offThe league switched the public tier off for now. Team routes still work.
And any request (11) to GET /teams/{slug}
- 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/teams/test-team" \
-H "Authorization: Bearer $GWL_API_KEY"{
"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"
}
]
}GET
Query parameters
statusstringoptionalupcoming, or results (newest first)
One of: upcoming, results · Default: results
limitintegeroptionalPage size, up to 50
Default: 25 · Minimum: 1 · Maximum: 50
pageintegeroptionalPage, up to 10
Default: 1 · Minimum: 1 · Maximum: 10
Answer, 200
itemsarray of objectThis page
16 fields in items
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 items.sides
teamobjectA team, by slug, name and tag
3 fields in items.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
pageintegerThis page’s number, from 1
limitintegerPage size asked for
totalintegerHow many there are in all
hasMorebooleanWhether there is a next page
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.
- 503
public_api_offThe league switched the public tier off for now. Team routes still work.
And any request (11) to GET /matches
- 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/matches?status=results&limit=2" \
-H "Authorization: Bearer $GWL_API_KEY"{
"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
}GET
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
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
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).
- 503
public_api_offThe league switched the public tier off for now. Team routes still work.
And any request (11) to GET /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/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
}
],
"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
Players on a team. A player on no team is not listed.
Query parameters
limitintegeroptionalPage size, up to 50
Default: 25 · Minimum: 1 · Maximum: 50
pageintegeroptionalPage, up to 10
Default: 1 · Minimum: 1 · Maximum: 10
Answer, 200
itemsarray of objectThis page
10 fields in items
rankinteger or nullPlace 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
playerIdstringPlayer page id (/players/<id>)
namestringDisplay name
teamobjectTheir team
3 fields in items.team
slugstringThe team’s address on the site (/teams/<slug>): its id here
namestringTeam name
tagstringTeam tag
regionstringCompetitive region code: EU, NA, SA, ASIA, OCE or MEA
eloRatingintegerThe player’s Elo Rating. The league does not rate players, so expect the starting 1500
matchesintegerRated matches played in player Elo
winsinteger1st places
winRatenumber or nullWins divided by matches, 0 to 1; null before a match
countrystringmay be absentISO 3166-1 alpha-2 country the person chose to show
pageintegerThis page’s number, from 1
limitintegerPage size asked for
totalintegerHow many there are in all
hasMorebooleanWhether there is a next page
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.
- 503
public_api_offThe league switched the public tier off for now. Team routes still work.
And any request (11) to GET /players/leaderboard
- 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/players/leaderboard?limit=3" \
-H "Authorization: Bearer $GWL_API_KEY"{
"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
}