standings

Pack: api-football · Endpoint: https://gateway.pipeworx.io/api-football/mcp

Current standings table for a league. Returns rank, team, points, goal difference, form. Use league=1 for World Cup.

Parameters

NameTypeRequiredDescription
leaguenumberyesLeague ID (required)
seasonnumberyesSeason year (required, e.g. 2026)
_apiKeystringno

Example call

curl -X POST https://gateway.pipeworx.io/api-football/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"standings","arguments":{}}}'

Response shape

Always returns: league_id, season, groups

FieldTypeDescription
league_idnumberLeague identifier
seasonnumberSeason year
groupsarrayLeague standings organized by group
Full JSON Schema
{
  "type": "object",
  "properties": {
    "league_id": {
      "type": "number",
      "description": "League identifier"
    },
    "season": {
      "type": "number",
      "description": "Season year"
    },
    "groups": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "rank": {
              "type": "number",
              "description": "League position/rank"
            },
            "team": {
              "type": "string",
              "description": "Team name"
            },
            "team_id": {
              "type": "number",
              "description": "Team identifier"
            },
            "points": {
              "type": "number",
              "description": "Total league points"
            },
            "goal_diff": {
              "type": "number",
              "description": "Goal difference (for/against)"
            },
            "form": {
              "type": "string",
              "description": "Recent form (e.g., WWDLL)"
            },
            "played": {
              "type": "number",
              "description": "Matches played"
            },
            "won": {
              "type": "number",
              "description": "Matches won"
            },
            "drawn": {
              "type": "number",
              "description": "Matches drawn"
            },
            "lost": {
              "type": "number",
              "description": "Matches lost"
            }
          }
        },
        "description": "Group standings (array of teams)"
      },
      "description": "League standings organized by group"
    }
  },
  "required": [
    "league_id",
    "season",
    "groups"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "api-football": {
      "url": "https://gateway.pipeworx.io/api-football/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026