API-FOOTBALL

FREEMIUM
Verified
By API-SPORTS | Updated 8 days ago | Sports
Popularity

10 / 10

Latency

365ms

Service Level

99%

Health Check

N/A

Back to All Discussions

Getting results for a previous season

Rapid account: Muto 717
Muto717
5 years ago

Is there anyway I can get the results for a previous season i.e. 2016/2017 results for the premier league?

Rapid account: Api Sports
api-sports Commented 5 years ago

😃

Rapid account: Muto 717
Muto717 Commented 5 years ago

Perfect! I had not realised each new season meant a new league.

Thanks for the help.

Rapid account: Api Sports
api-sports Commented 5 years ago

Hello, You have the endpoint: https://rapidapi.com/api-sports/api/api-football?endpoint=5b5b2e41e41e4e4b0dd41a6194252 Which allows you to retrieve the list of leagues for a season with the possibility to filter by country, you can then retrieve all the matches of your choice.
Example for the premier league

2016-2017 => league_id : 56
2017-2018 => league_id : 37
2018-2019 => league_id : 2

Join in the discussion - add comment below:

Login / Signup to post new comments