Marketplace
No threads yet
Live

get_match_xg_breakdown

fotmob.com

Returns full-match, first-half, and second-half xG breakdowns from https://fotmob.com, including open-play, set-play, non-penalty xG and xGOT for both teams.

Parameters2
Runs9
Updated3d ago
Operational9 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_match_xg_breakdown?

Returns full-match, first-half, and second-half xG breakdowns from https://fotmob.com, including open-play, set-play, non-penalty xG and xGOT for both teams. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass match_id, timeout_seconds and get the result back without maintaining a scraper.

Response

{
  "league": {},
  "periods": [
    {}
  ],
  "started": true,
  "finished": true,
  "match_id": 0,
  "away_team": {},
  "home_team": {},
  "match_name": "<string>",
  "xg_available": true,
  "coverage_level": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/412263f2-c525-45a3-ad22-8b87b9027aea/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "412263f2-c525-45a3-ad22-8b87b9027aea",
    "variables": {
        "match_id": 5793186,
        "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="412263f2-c525-45a3-ad22-8b87b9027aea") — the "get_match_xg_breakdown" function, which returns full-match, first-half, and second-half xG breakdowns from https://fotmob.com, including open-play, set-play, non-penalty xG and xGOT for both teams..

It takes match_id (int), timeout_seconds (int). Return the result as structured JSON.