Team statistics

It’s possible to request statistics per team. This could be really interesting if you want to build a football application showing all the statistics of your favorite team. Requesting team statistics is easy!

Simply, use the team by id endpoint and once again use the include stats. For this example, we’ll request the team statistics of Real Madrid (team id: 3468):

https://soccer.sportmonks.com/api/v2.0/teams/3468?api_token={API_TOKEN}&include=stats

Be aware that this request will give you all the team statistics of the seasons the team has played or is active in. Therefore, it might be useful to add a filter to only request the team statistics of the season you’re interested in.

For example, the request below will return all the team statistics of Real Madrid, but only for the Spanish La Liga 2019/2020 season (season id: 16326).

https://soccer.sportmonks.com/api/v2.0/teams/3468?api_token={API_TOKEN}&include=stats&seasons=16326

Last updated