This skill should be used when the user asks about "FPL", "Fantasy Premier League", "my FPL team", "captain pick", "who should I captain", "transfer suggestions", "best transfers", "FPL player stats", "fixture difficulty", "gameweek", "FPL points", "wildcard", "free hit", "bench boost", "triple captain", or any fantasy football related queries for the English Premier League.
Comprehensive Fantasy Premier League assistant providing team analysis, transfer suggestions, captain picks, fixture planning, and player statistics using the official FPL API.
The official FPL API is publicly accessible at https://fantasy.premierleague.com/api/. No authentication required for public endpoints.
| Endpoint | Description |
|---|---|
/bootstrap-static/ | All players, teams, gameweeks, game settings |
/entry/{team_id}/ | Manager info and overall stats |
/entry/{team_id}/event/{gw}/picks/ | Team picks for a gameweek |
/entry/{team_id}/transfers/ | Transfer history |
/entry/{team_id}/history/ | Season history and past seasons |
/element-summary/{player_id}/ | Individual player detailed stats |
/fixtures/ | All fixtures (add ?event={gw} for specific gameweek) |
/event/{gw}/live/ | Live gameweek data with bonus points |
The user's team ID is found in their FPL URL: https://fantasy.premierleague.com/entry/{TEAM_ID}/event/{GW}
Always start by fetching bootstrap data for current game state:
curl -s "https://fantasy.premierleague.com/api/bootstrap-static/" | jq .
Key data in bootstrap response:
elements - All players with stats, prices, ownershipteams - All 20 Premier League teamsevents - All 38 gameweeks with deadlineselement_types - Position types (GKP, DEF, MID, FWD)/entry/{team_id}/event/{gw}/picks/elements for player detailsEvaluate captain options based on:
Use the team_h_difficulty and team_a_difficulty from fixtures endpoint. Scale is 1-5:
a - Availabled - Doubtful (yellow flag)i - Injured (red flag)s - Suspendedu - Unavailableform - Average points over last 30 dayspoints_per_game - Season averageselected_by_percent - Ownership percentagenow_cost - Current price (divide by 10 for actual price)cost_change_event - Price change this gameweekict_index - Influence + Creativity + Threat combinedWhen user asks "how's my team doing" or "analyze my team":
When user asks "who should I transfer" or "best transfers":
When user asks about upcoming gameweek:
references/api-guide.md - Detailed API endpoint documentationreferences/metrics.md - Player metrics and what they meanscripts/fetch-team.sh - Fetch and format team datascripts/fetch-fixtures.sh - Get upcoming fixtures with FDR