ToolzerHub Docs

Get every shot in an event (v1)

Returns shots with type, situation, body part, xG, player and coordinates in football and ice hockey. player_id_or_url narrows to one player; team_id_or_url gives basketball shot areas. Nothing found returns data: null.

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

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

Only this player's shots (football). 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
team_id_or_url?string

Basketball: this team's shots grouped by court spot. 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/shotmap?event_id_or_url=16363867" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "property1": null,    "property2": null  },  "details": {    "reason": "string",    "message": "string"  }}