ToolzerHub Docs

Get a team's touch heatmap (v1)

Returns a football team's touch points (x, y on a 0-100 scale), outfield and goalkeeper separately. team_id_or_url must be one of the two teams. Nothing found returns data: null.

1 credit / requestBilled only on success
GET
/v1/sofascore/event/heatmap

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

event_id_or_url*string

Event id: the id of any event in a list, such as Get Sports Live Events. Or the match page's link, such as https://www.sofascore.com/football/match/arsenal-chelsea/RsU#id:12437786.

Length1 <= length <= 500
team_id_or_url*string

Team id (homeTeam.id or awayTeam.id on an event). Or the team's Sofascore link, such as https://www.sofascore.com/football/team/arsenal/42, or its name (the best Sofascore search match is used).

Length1 <= length <= 500
curl -X GET "https://example.com/v1/sofascore/event/heatmap?event_id_or_url=16363652&team_id_or_url=43" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "property1": null,    "property2": null  },  "details": {    "reason": "string",    "message": "string"  }}