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.
Authorization
ApiKeyAuth In: header
Query Parameters
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.
1 <= length <= 500Only 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).
1 <= length <= 500Basketball: 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).
1 <= length <= 500curl -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" }}