The Statistics API aggregates all match and player data for a season into a single response. It covers global league totals (matches played, goals, cards, clean sheets), individual player rankings (top scorers, most yellow and red cards), and team performance rankings across five categories. When noDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Danielsl4/TFG_DAM_2526_Consulta2/llms.txt
Use this file to discover all available pages before exploring further.
season_id is supplied, statistics are scoped to the active season automatically.
Get statistics
Query parameters
Season to retrieve statistics for. Defaults to the currently active season when omitted.
Response
- Player stats
- Team stats
The
individualRankings object contains three lists, each capped at the top 5 entries.Global stats fields
Aggregate totals for all finalised matches in the season.
Examples
Example response
Get user ranking
Query parameters
Season to rank users for. Defaults to the active season.
Response
Get user prediction stats
Requires user authentication. Include a valid
Authorization: Bearer <token> header.Query parameters
Season to retrieve stats for. Defaults to the active season.
Response
Total prediction points earned in the season.
User’s rank among all users with points in the season.
0 if the user has no points.Last 20 match predictions, ordered by match date descending.