fpl_get_league_standings
Retrieve league standings including manager rankings, points, team names, and rank changes. Supports pagination for large leagues.
Instructions
Get standings for a specific Fantasy Premier League league.
Returns manager rankings, points, team names, and rank changes within the league. Supports pagination for large leagues. Find league ID in the FPL website URL (e.g., for /leagues/12345/standings/ use league_id=12345).
Args: params (GetLeagueStandingsInput): Validated input parameters containing: - league_id (int): League ID from FPL URL - page (int): Page number for pagination (default: 1) - response_format (ResponseFormat): 'markdown' or 'json' (default: markdown)
Returns: str: League standings with rankings and pagination info
Examples: - View league: league_id=12345 - Next page: league_id=12345, page=2 - Get as JSON: league_id=12345, response_format="json"
Error Handling: - Returns error if league not found - Returns error if page number invalid - Returns formatted error message if API fails
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |