Live
get_cup_player_aggregates
fotmob.comReturns players from up to 25 recent finished cup matches on https://fotmob.com with appearances, team history, identity fields, and cumulative match statistics.
Parameters4
Runs7
Updated3d ago
Operational7 runs · 100% succeeded
30 days ago90 days agoranfailednot checkedtoday
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_cup_player_aggregates?
Returns players from up to 25 recent finished cup matches on https://fotmob.com with appearances, team history, identity fields, and cumulative match statistics. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass league_id, season, max_matches, timeout_seconds and get the result back without maintaining a scraper.
Response
{
"source": "<string>",
"matches": [
{}
],
"players": [
{
"id": 0,
"name": "<string>",
"goals": 0,
"stats": {},
"teams": [
{}
],
"starts": 0,
"assists": 0,
"minutes": 0,
"profile": {},
"appearances": 0,
"average_rating": 0,
"substitute_appearances": 0
}
],
"competition": {},
"failed_matches": [
{}
],
"upstream_calls": 0,
"selected_season": "<string>",
"matches_processed": 0,
"matches_requested": 0,
"finished_matches_available": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/b6566b3d-45e5-42e1-8994-2e9eb48f1941/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "b6566b3d-45e5-42e1-8994-2e9eb48f1941",
"variables": {
"league_id": 132,
"season": "2025/2026",
"max_matches": 25,
"timeout_seconds": 20
}
}'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="b6566b3d-45e5-42e1-8994-2e9eb48f1941") — the "get_cup_player_aggregates" function, which returns players from up to 25 recent finished cup matches on https://fotmob.com with appearances, team history, identity fields, and cumulative match statistics.. It takes league_id (int), season (str), max_matches (int), timeout_seconds (int). Return the result as structured JSON.