Fixtures

Team heatmap

GET/v2/fixtures/{id}/heatmapAll plans

Where one side was active during the match: its outfield players’ samples and its goalkeeper’s (football, covered leagues), in the frame of a player heatmap.

Empty lists (200) when the source has no heatmap for the match.

Parameters

id
pathrequired
our numeric id (positive integer)
team
queryrequired
home or away

Response

data
TeamHeatmap
meta
team, count (outfield samples)
errors
400 bad_request — team missing or not home / away403 history_not_in_plan — a match before your plan’s history404 not_found — a fixture id we never issued

Every /v2 call can also answer the common errors.

Try it →
$ curl -H "Authorization: Bearer sk_live_…" \
    "https://api.sportsapi.app/v2/fixtures/{id}/heatmap?team=…"
Example
{ "data": { "points": [ { "x": 58.5, "y": 92.4 }, { "x": 40.1, "y": 82.6 }, … ], "goalkeeperPoints": [ { "x": 4.2, "y": 50.1 }, … ] }, "meta": { "team": "home", "count": 882 } }