Players
Last 12 months
GET/v2/players/{id}/last-yearPro and up
A player’s last 12 months, oldest first: each match with his rating, minutes, goals, assists and xG; the matches on the bench or missed (and why); injuries and transfers — with the leagues they name. Since 2026-11-22.
type is match, bench, missing, injury or transfer; the match figures are null on the other types. Football and ice hockey where the source keeps it; empty lists otherwise.
Parameters
id
our numeric id (positive integer)
Response
- data
PlayerYearSummary- meta
- count (entries), historyFrom when older entries were cut by your plan
- errors
- 403 endpoint_not_in_plan — Free and Starter404 not_found — an id we never issued
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/players/{id}/last-year"
Example
{ "data": { "entries": [ { "type": "match", "at": "2025-12-02T20:00:00.000Z", "fixtureId": 201554, "playedForId": 4402, "leagueId": 200008, "rating": 5.4, "minutesPlayed": 67, "goals": 0, "assists": 0, "expectedGoals": 1.23, "goalsConceded": 1, "saves": 0, "missingReason": null }, { "type": "missing", "at": "2026-03-03T20:00:00.000Z", "fixtureId": 201990, …, "missingReason": "injury" }, … ], "leagues": [ { "id": 200008, "name": "LaLiga", … } ] }, "meta": { "count": 69 } }