Home

Awesome

Football Standings API

1. All Leagues Available

[ENDPOINT] /leagues

[GET] https://api-football-standings.azharimm.site/leagues

Sample Response

{
  "status": true,
  "data": [
    {
      "id": "arg.1",
      "name": "Argentine Liga Profesional de Fútbol",
      "slug": "argentine-liga-profesional-de-futbol",
      "abbr": "Prim A",
      "logos": {
        "light": "https://a.espncdn.com/i/leaguelogos/soccer/500/1.png",
        "dark": "https://a.espncdn.com/i/leaguelogos/soccer/500-dark/1.png"
      }
    },
    ...
  ]
}

2. League Detail

[ENDPOINT] /leagues/{id}

[GET] https://api-football-standings.azharimm.site/leagues/eng.1

Sample Response

{
  "status": true,
  "data": {
      "id": "arg.1",
      "name": "Argentine Liga Profesional de Fútbol",
      "slug": "argentine-liga-profesional-de-futbol",
      "abbr": "Prim A",
      "logos": {
        "light": "https://a.espncdn.com/i/leaguelogos/soccer/500/1.png",
        "dark": "https://a.espncdn.com/i/leaguelogos/soccer/500-dark/1.png"
      }
    },
}

3. Seasons Available

[ENDPOINT] /leagues/{id}/seasons

[GET] https://api-football-standings.azharimm.site/leagues/eng.1/seasons

Sample Response

{
  "status": true,
  "data": {
      "name": "English Premier League",
      "desc": "Available seasons standings data",
      "abbreviation": "Prem",
      "seasons": []
    },
}

4. Standings

[ENDPOINT] /leagues/{id}/standings

[GET] https://api-football-standings.azharimm.site/leagues/eng.1/standings?season=2020&sort=asc

Sample Response

{
  "status": true,
  "data": {
      "name": "English Premier League",
      "abbreviation": "Prem",
      "seasonDisplay": "2020-2021",
      "season": 2020,
      "standings": []
   },
}