api_football_standings

Pack: api-football · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/api_football_standings for the schema, then POST the same URL with its arguments for the data.

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

Arguments

{
  "league": 39,
  "season": 2024
}

curl

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":"api_football_standings","arguments":{"league":39,"season":2024}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('api_football_standings', {
  "league": 39,
  "season": 2024
});

More examples

{
  "league": 140,
  "season": 2024
}

Response shape

Full JSON Schema
{
  "type": "object",
  "oneOf": [
    {
      "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"
        },
        "found": {
          "type": "boolean",
          "enum": [
            true
          ],
          "description": "Present and true on an answer; a miss is the found:false branch."
        }
      },
      "required": [
        "league_id",
        "season",
        "groups"
      ]
    },
    {
      "type": "object",
      "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
      "properties": {
        "found": {
          "type": "boolean",
          "enum": [
            false
          ]
        }
      },
      "required": [
        "found"
      ]
    }
  ]
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the api-football pack
{
  "mcpServers": {
    "api-football": {
      "url": "https://gateway.pipeworx.io/api-football/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build November 15, 2026