Get league shooting by court area (v1)
Returns the league's average shooting percentage and five percentiles per court area, to compare a player, team or game. Basketball only. Nothing found returns data: null.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
id*integer
Tournament id (uniqueTournament.id), such as 17 for the Premier League. Find one with Search Sports.
Range
1 <= value <= 10000000000season_id*integer
Season id. List seasons with Get Sports Tournament (seasons).
Range
1 <= value <= 10000000000entity?string
Compare a player, a team or one event against the league.
Default
"player"Value in
- "player"
- "team"
- "event"
split?string
Statistics split. overall covers every match; regularSeason, playoffs and top16 apply only where the season has them.
Default
"overall"Value in
- "overall"
- "regularSeason"
- "playoffs"
- "top16"
curl -X GET "https://example.com/v1/sofascore/tournament/season/shot-areas?id=132&season_id=65360" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "property1": null, "property2": null }, "details": { "reason": "string", "message": "string" }}