SofaScore
SofaScore event player heatmap
Returns one player's touch locations in a football match as points, each an x and y on SofaScore's 0-100 pitch scale. Get player_id from event-lineups. Returns 404 when SofaScore has no heatmap for that player in that match, which includes players who did not play, unstarted matches and sports other than football.
get/sofascore/event-player-heatmap
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/sofascore/event-player-heatmap
- Auth: API key in header x-api-key
Query parameters
idstring required
Numeric SofaScore event (match) id
player_idstring required
Numeric SofaScore player id that played in the match
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"event_id": 16363867,
"player_id": 839956,
"points": [
{
"x": 47.6,
"y": 55.9
}
]
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.