ToolzerHub Docs

Get a player's touch heatmap (v1)

Returns a football player's touch points in the event (x, y on a 0-100 scale). No data returns data: null.

1 credit / requestBilled only on success
GET
/v1/sofascore/event/player/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
player_id_or_url*string

Player id, from a lineup, a squad or Search Sports. Or the player's Sofascore link, such as https://www.sofascore.com/football/player/bukayo-saka/934235, or its name (the best Sofascore search match is used).

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