Players
Shooting zones
GET/v2/leagues/{id}/shooting-zonesAll plans
A league season’s field-goal percentage per court zone: the average and five percentiles, per player or per game — what a player’s shooting by zone is read against.
zone is the source’s court zone 1–9, the same numbers on every chart.
Parameters
id
our numeric id (positive integer)
season
a season id from /v2/leagues/{id}/seasons
type
overall | home | away | regularSeason | playoffs | mainDraw (a tennis tournament’s main draw, without qualifying). Default: the season’s own — overall where it has one (football), else regularSeason (NBA, NHL, …); a tennis tournament’s leaderboards (top-players, top-teams, top-performances) default to mainDraw where it has one, else overall; meta.type says which was used
per
player (default) or game
Response
- data
ShootingZone[]- meta
- season, per, type (the one used)
- errors
- 403 history_not_in_plan — a season before your plan’s history404 no_data — the source has none for this season
Every /v2 call can also answer the common errors.
$ curl -H "Authorization: Bearer sk_live_…" \ "https://api.sportsapi.app/v2/leagues/{id}/shooting-zones?season=…"
Example
{ "data": [ { "zone": 1, "average": 36.44, "percentiles": [32.56, 33.33, 37.75, 43.56, 50] }, … ], "meta": { "season": 100772, "per": "player", "type": "regularSeason" } }