Catalog/sports-league-table

Data

Football league table API

Football/soccer league table for a league id and season with rank, played/won/drawn/lost, goals, goal difference, points, and form, normalized from the keyless TheSportsDB free API. Answers queries like 'Premier League table', 'La Liga standings 2023-2024', 'who is top of the league'.

Price$0.01per request
MethodPOST
Route/v1/data/sports-league-table
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
sportssoccerfootballleague-tablestandingsthesportsdbpremier-leagueseason
API URLhttps://x402.hexl.dev/v1/data/sports-league-table
Integration docs
Example request
{
  "leagueId": "4328",
  "season": "2023-2024"
}
Example response
{
  "leagueId": "4328",
  "league": "English Premier League",
  "season": "2023-2024",
  "teamCount": 20,
  "standings": [
    {
      "rank": 1,
      "teamId": "133613",
      "team": "Manchester City",
      "played": 38,
      "won": 28,
      "drawn": 7,
      "lost": 3,
      "goalsFor": 96,
      "goalsAgainst": 34,
      "goalDifference": 62,
      "points": 91,
      "form": "WWWWW"
    }
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "leagueId",
    "season"
  ],
  "properties": {
    "leagueId": {
      "type": [
        "string",
        "number"
      ],
      "examples": [
        "4328"
      ]
    },
    "season": {
      "type": "string",
      "examples": [
        "2023-2024"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}