Public API endpoints for tournament data, pick/bans, and leaderboard integration.
Returns all admin-created tournaments.
Append ?format=json or ?format=xml to control response format (default: JSON).
[
{
"id": "string",
"name": "string",
"description": "string | null",
"date": "string | null",
"playersPerTeam": "number",
"subsPerTeam": "number",
"registerByDate": "string | null",
"rules": "string | null",
"brackets": "array",
"createdBy": "string | null",
"isAdminCreated": "boolean",
"createdAt": "string",
"updatedAt": "string"
}
]Returns a tournament by its ID.
Append ?format=json or ?format=xml to control response format (default: JSON).
{
"id": "string",
"name": "string",
"description": "string | null",
"date": "string | null",
"playersPerTeam": "number",
"brackets": [
{
"id": "string",
"name": "string",
"rounds": [
{
"id": "string",
"name": "string",
"format": "string | null",
"notes": "string | null",
"scorePrefix": "string | null",
"linkedBracketId": "string | null",
"advance": "winner | loser | null",
"matches": [
{
"id": "string",
"teams": [
{
"id": "string",
"name": "string",
"score": "number"
},
{
"id": "string",
"name": "string",
"score": "number"
}
]
}
]
}
]
}
],
"createdAt": "string"
}Returns 404 with {"error":"not found"} if the tournament does not exist.
Returns all accepted (approved) teams registered for a tournament.
Append ?format=json or ?format=xml to control response format (default: JSON).
[
{
"id": "string",
"name": "string",
"captainId": "string",
"createdAt": "string",
"members": [
{
"id": "string",
"userId": "string | null",
"discordId": "string | null",
"embarkid": "string | null",
"isSub": "boolean",
"joinedAt": "string | null"
}
]
}
]Returns 404 with {"error":"not found"} if the tournament does not exist.
Returns the pick/ban (veto) state for a match series.
Append ?format=json or ?format=xml to control response format (default: JSON).
{
"title": "string",
"status": "pending | active | completed",
"teams": [
"string",
"string"
],
"picks": [
{
"map": "string",
"image": "string | null",
"variant": "string | null",
"by": "string"
}
],
"bans": [
{
"map": "string",
"image": "string | null",
"by": "string"
}
],
"available": [
{
"name": "string",
"image": "string"
}
],
"decider": "{ name: 'string', image: 'string' } | null"
}Returns 404 with {"error":"Match not found"} if the match does not exist.
Competitive rankings are sourced from the independent leaderboard API.
api.the-finals-leaderboard.com