Search⌘ K

Teams Statistics

Explore how to retrieve comprehensive team statistics using the API-Football teams statistics endpoint in Python. This lesson helps you understand how to query data for specific competitions, seasons, and optionally set an end date, enabling you to analyze recent fixtures, goals, clean sheets, and more for any football team.

We can use the teams statistics endpoint to see the statistics of a team. The statistics are shown for the competition and season mentioned in the query parameters. The API returns the statistics of all the games played by the team for the said competition and season by default. The base URI for this endpoint is https://v3.football.api-sports.io/teams/statistics ...