Returns the public profile for a specific league. The identifier is the league slug. Requires API key with leagues.league_public permission.
leagues.league_public permission on your API key.
{identifier} path parameter accepts the league slug - the URL-friendly league name (e.g., my-league).
| Field | Type | Description |
|---|---|---|
id | string | League ID |
name | string | League display name |
slug | string | URL-friendly league identifier |
description | string | League description |
avatarUrl | string | League avatar image URL |
bannerUrl | string | League banner image URL |
status | string | League status (e.g., active, inactive) |
isVerified | boolean | Whether the league is verified |
isFeatured | boolean | Whether the league is featured |
teamCount | number | Number of teams in the league |
staffCount | number | Number of staff members |
games | array | Games associated with the league |
activeSeasons | array | Currently active seasons |
socials | object | Social media links |
createdAt | string | Creation timestamp (ISO 8601) |
API key authentication. Generate an API key from Settings > Developer in the TeamBattles app. Format: tb_xxxxxxxx...
League slug