Match2Fan • API-Football
Explore leagues by season, standings, fixtures, and player rankings.
Use /competition/[leagueId]?season=YYYY&tab=...&round=... to jump straight into any league. Start with a known league like the Premier League (id 39) or update the URL with your league id.
URL contract
/competition/<leagueId>?season=2024&tab=matches&round=...
- season defaults to the current season when omitted
- tab: overview | standings | matches | rankings
- round: only for matches tab
- metric: rankings tab metric selector
What's included
- LeagueSeasonSelector with league meta + season dropdown
- Standings table via API-Football standings endpoint
- Matches by round with a round selector
- Player rankings (goals, assists, minutes, shots, cards, duels, and more)