toolzerhub API 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 narrows to one player; team_id 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

id*integer

Event id: the id of any event in a list, such as Get Sports Live Events.

Range1 <= value <= 10000000000
player_id?integer

Only this player's shots (football).

Range1 <= value <= 10000000000
team_id?integer

Basketball: this team's shots grouped by court spot.

Range1 <= value <= 10000000000
curl -X GET "https://example.com/v1/sofascore/event/shotmap?id=16363867" \  -H "x-api-key: YOUR_API_KEY"
{  "data": {    "property1": null,    "property2": null  },  "details": {    "reason": "string",    "message": "string"  }}