The Standings API returns the live league table for the Futsal League Manager. Standings are organised by competition group and are automatically recalculated every time a match is finalised. Results are cached in Redis for up to one hour; the cache is invalidated immediately when match data changes.Documentation 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.
Points system
| Result | Points |
|---|---|
| Win | 3 |
| Draw | 1 |
| Loss | 0 |
Tiebreaker order
When two or more teams finish on equal points, the following criteria are applied in order:- Head-to-head points between the tied teams
- Overall goal difference (
goals_for − goals_against) - Fair-play penalty score (
yellow_cards + red_cards × 3), lowest wins - Goals scored
- Goals conceded (fewest wins)
- Team ID (deterministic fallback)
Get standings
Query parameters
Season to retrieve standings for. Defaults to the currently active season when omitted.
Response
A map of group names to sorted arrays of team standing objects.
Team ID of the highest-ranked fourth-place team across all groups.
null when no group has four or more teams.Sorted array of all fourth-place teams with their adjusted stats (excluding matches against the weakest opponent in unequal-size groups). Uses the same standing object shape as the entries in
groups.Example
Example response
Caching behaviour
Standings responses are cached in Redis under the keystandings (or standings:<season_id> for season-scoped requests) with a TTL of 3600 seconds. The cache is invalidated automatically when a match is set to finalizado, so the table always reflects the latest finalised results within one request cycle.
If Redis is unavailable, the API falls back to querying the database directly on every request.