Slots
GET
Query parameters
scopestringoptionalmine: slots your team posted or joined. open: every open slot you could see, anyone’s, including invitation only slots made for your team
One of: mine, open · Default: mine
teamstringoptionalOnly slots this team (a slug) posted or joined. Works with either scope
Longest: 80 characters
Answer, 200
slotsarray of objectOpen slots, soonest first. Once a third team joins, a slot becomes a match and appears in /team/fixtures instead
15 fields in slots
idstringSlot id; /matches?slot=<id> on the site
startsAtstring (date-time)When the match would start. UTC, ISO 8601
regionstringCompetitive region code: EU, NA, SA, ASIA, OCE or MEA
mapstringMap id, the game’s own, or random
mapNamestringThe map’s name as the website shows it; Random for a random map
layerstring or nullZone key; null for none
zonestring or nullThe zone as the website shows it ("Random zone" when none was picked); null for a random map
weatherstring or nullWeather key (clear, overcast, rain, fog, storm), or null for any
seatsFilledintegerTeams in it so far, of three
seatsFreeintegerSeats still open, of three
hoststringSlug of the team that posted it
teamsarray of objectThe teams in it so far, the poster first, with names and tags
3 fields in slots.teams
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
yoursbooleanWhether your team is one of the teams in it
privatebooleanWhether it is an invitation only slot. You only see one you posted or were invited to
joinedTeamstring or nullSlug of the second team; null while that seat is free
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/slots
- 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/slots?scope=open" \
-H "Authorization: Bearer $GWL_API_KEY"{
"slots": [
{
"id": "test-slot-01",
"startsAt": "2027-01-18T19:00:00.000Z",
"region": "EU",
"map": "sabatulo",
"mapName": "Sabatulo",
"layer": "Default",
"zone": "Hospital - Default",
"weather": "fog",
"seatsFilled": 1,
"seatsFree": 2,
"host": "test-team",
"teams": [
{
"slug": "test-team",
"name": "Test Team",
"tag": "TEST"
}
],
"yours": true,
"private": false,
"joinedTeam": null
},
{
"id": "test-slot-02",
"startsAt": "2027-01-21T19:00:00.000Z",
"region": "EU",
"map": "europe",
"mapName": "Ozeti",
"layer": "Church",
"zone": "Church",
"weather": null,
"seatsFilled": 2,
"seatsFree": 1,
"host": "stub-strikers",
"teams": [
{
"slug": "stub-strikers",
"name": "Stub Strikers",
"tag": "STUB"
},
{
"slug": "test-team",
"name": "Test Team",
"tag": "TEST"
}
],
"yours": true,
"private": false,
"joinedTeam": "test-team"
},
{
"id": "test-slot-03",
"startsAt": "2027-01-23T19:00:00.000Z",
"region": "EU",
"map": "random",
"mapName": "Random",
"layer": null,
"zone": null,
"weather": null,
"seatsFilled": 1,
"seatsFree": 2,
"host": "test-team",
"teams": [
{
"slug": "test-team",
"name": "Test Team",
"tag": "TEST"
}
],
"yours": true,
"private": false,
"joinedTeam": null
},
{
"id": "test-slot-04",
"startsAt": "2027-01-24T19:00:00.000Z",
"region": "EU",
"map": "kavkazi",
"mapName": "Bakurani",
"layer": "Default",
"zone": "Default",
"weather": null,
"seatsFilled": 2,
"seatsFree": 1,
"host": "test-team",
"teams": [
{
"slug": "test-team",
"name": "Test Team",
"tag": "TEST"
},
{
"slug": "sample-sappers",
"name": "Sample Sappers",
"tag": "SMPL"
}
],
"yours": true,
"private": false,
"joinedTeam": "sample-sappers"
},
{
"id": "test-slot-05",
"startsAt": "2027-01-25T19:00:00.000Z",
"region": "EU",
"map": "north-america",
"mapName": "Zestafona",
"layer": "Houses",
"zone": "Houses",
"weather": null,
"seatsFilled": 2,
"seatsFree": 1,
"host": "lorem-lancers",
"teams": [
{
"slug": "lorem-lancers",
"name": "Lorem Lancers",
"tag": "LORM"
},
{
"slug": "test-team",
"name": "Test Team",
"tag": "TEST"
}
],
"yours": true,
"private": false,
"joinedTeam": "test-team"
}
]
}