get_player_history
Retrieve a player's match-by-match FPL stats this season, filtered by opponent or recent N matches, plus past-season totals to assess form and matchups.
Instructions
A player's match-by-match record this season (minutes, goals, assists, clean sheets, bonus, xG/xA, points), optionally only against one opponent or the last N matches, plus their season totals for past seasons. Live from the FPL API. Use it for 'how has Saka done against Spurs this season' or 'is his form real'. FPL provides match-level data for the current season only; past seasons are totals, so opponent splits for earlier seasons do not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_n | No | Only the most recent N matches. | |
| player | Yes | Player name, e.g. 'Saka' or 'Bukayo Saka'. | |
| opponent | No | Only matches against this team. |