Returns penalties and/or cooldowns for a specific league with optional filtering by type, team, and game. Requires API key with leagues.league_admin permission. The user must have MANAGER+ role in the league or be TB staff.
leagues.league_admin permission on your API key.
403 error.
{identifier} path parameter accepts the league slug - the URL-friendly league name (e.g., my-league).
penalties and cooldowns arrays - use the type parameter to control which data is fetched.
leagues.league_admin permission and MANAGER+ league role.| Parameter | Type | Required | Description |
|---|---|---|---|
type | string | No | Data type to fetch: penalties, cooldowns, or all (default) |
teamId | string | No | Filter penalties by a specific team ID |
gameId | string | No | Filter penalties by a specific game ID |
limit | number | No | Maximum results to return (1-100, default 50) |
| Value | Description |
|---|---|
penalties | Returns only point penalties |
cooldowns | Returns only match cooldowns |
all | Returns both penalties and cooldowns (default) |
teamId to filter penalties for a specific team.
gameId to filter penalties related to a specific game.
teamId and gameId filters only apply to penalties, not cooldowns.API key authentication. Generate an API key from Settings > Developer in the TeamBattles app. Format: tb_xxxxxxxx...
League slug
Optional type, team, game filters, and limit
Data type to fetch: penalties, cooldowns, or all
penalties, cooldowns, all Filter penalties by a specific team ID
Filter penalties by a specific game ID
Maximum number of results to return (1-100)
1 <= x <= 100