The Standings API provides the group-stage classification table for any season. Results are sorted using the official tie-breaking sequence: head-to-head points → overall goal difference → goals scored → goals conceded → disciplinary points. When groups have unequal sizes, fourth-placed teams are ranked across groups using adjusted statistics (the result against the last-placed team is excluded) to determine which fourth place advances to the knockout bracket.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Danielsl4/TFG_DAM_2526/llms.txt
Use this file to discover all available pages before exploring further.
Get standings
GET /standings
Returns the sorted group tables, the ID of the best fourth-placed team (used to seed the knockout draw), and the full ranking of all fourth-placed teams.
Season to retrieve. Defaults to the currently active season when omitted.
Keys are group names (e.g.
"Grupo A"). Each value is an array of team standing objects sorted by classification position.ID of the top-ranked fourth-placed team across all groups.
null if no group has reached four teams.Ranked list of all fourth-placed teams, using adjusted statistics for cross-group comparison.
Standings are cached in Redis for 1 hour. The cache is invalidated automatically when a match is finalized via
PUT /matches/:id/finish.Tie-breaking rules
When two or more teams are level on points, the API applies the following sequence:- Head-to-head points between the tied teams.
- Overall goal difference (when more than two teams are tied, head-to-head goal difference is used instead).
- Goals scored.
- Goals conceded (fewer is better).
- Disciplinary points — calculated as
yellow_cards + red_cards × 3(fewer is better). - Team ID as a final deterministic tiebreaker.