GET
/
v1
/
{league}
/
games
/
{id}
/
shot-chart
Get a game's shot chart (NBA only)
curl --request GET \
  --url http://localhost:8082/v1/{league}/games/{id}/shot-chart \
  --header 'Authorization: Bearer <token>'

Authorizations

Authorization
string
header
default:tok_public_demo
required

Send a workspace API token in the Authorization: Bearer <token> header.

Path Parameters

league
string
required

League identifier from the /v1/leagues catalog (e.g. mlb, nba, epl). Unknown values return 404 unsupported_league.

id
string
required

Query Parameters

limit
integer
default:500
Required range: 1 <= x <= 2000

Response

Shot-chart response for the requested NBA game.