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
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.
Range
1 <= value <= 10000000000player_id?integer
Only this player's shots (football).
Range
1 <= value <= 10000000000team_id?integer
Basketball: this team's shots grouped by court spot.
Range
1 <= value <= 10000000000curl -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" }}