API-Sports provides comprehensive sports data APIs covering over 2,000 competitions with more than 15 years of historical data, offering real-time updates and easy integration for developers.
Tool to fetch coaches and their career history. use when you need coach info by id, team filter, or name search.
Tool to fetch available countries for league queries. use when filtering by name, code, or search string before retrieving leagues.
Tool to retrieve football fixtures/matches. use when filtering fixtures by id, date, league, season, team, or date ranges to get upcoming or past matches.
Tool to get events (goals, cards, substitutions, var, etc.) from a fixture. use when you need detailed event data after confirming the fixture id.
Tool to get head-to-head fixtures between two teams. use after determining team ids to compare their direct match history.
Tool to retrieve starting xi and substitutes for a fixture. use after confirming fixture id; optionally filter by team, player, or section (startxi/substitutes). lineups appear ~20-40 minutes before kickoff for supported competitions.