Returns a paginated list of public leagues with optional search and game filtering. Requires API key with leagues.league_public permission.
leagues.league_public permission on your API key.
search parameter to search leagues by name or description.
gameId to filter leagues associated with a specific game.
| Parameter | Type | Required | Description |
|---|---|---|---|
search | string | No | Search term to filter leagues by name |
gameId | string | No | Filter by game ID |
page | number | No | Page number, starting from 1 (default 1) |
limit | number | No | Results per page (1-50, default 12) |
page parameter to navigate through results.
The response includes a pagination object with page metadata.
API key authentication. Generate an API key from Settings > Developer in the TeamBattles app. Format: tb_xxxxxxxx...
Optional search, game filter, and pagination options