Marketplace
No threads yet
Live

get_league_standings

statshub.com

Returns every team in a league table from https://statshub.com with the selected or latest season, xG, xGA, possession, shots, big chances, corners, form, and the full statistical breakdown.

Parameters2
Runs10
Updated10d ago
Operational10 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_league_standings?

Returns every team in a league table from https://statshub.com with the selected or latest season, xG, xGA, possession, shots, big chances, corners, form, and the full statistical breakdown. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass tournament_id, season_id and get the result back without maintaining a scraper.

Response

{
  "teams": [
    {}
  ],
  "season": {},
  "source": "<string>",
  "team_count": 0,
  "tournament_id": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/cdb73935-8454-4221-951a-a970b4c4d562/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "cdb73935-8454-4221-951a-a970b4c4d562",
    "variables": {
        "tournament_id": 1,
        "season_id": null
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="cdb73935-8454-4221-951a-a970b4c4d562") — the "get_league_standings" function, which returns every team in a league table from https://statshub.com with the selected or latest season, xG, xGA, possession, shots, big chances, corners, form, and the full statistical breakdown..

It takes tournament_id (int), season_id (int | None). Return the result as structured JSON.