NBA shot chart API

Use the NBA shot chart API to retrieve shot data and published summaries as structured JSON from NBA. Choose player selector, team selector and event identifier as optional query conditions to select the source records or view required for your request. Use these results to compare performance measures on the same competition and period basis or prepare statistical summaries. The documented source-page link form identifies the requested entry directly and lets you reuse an existing source-page reference. Continue with the returned next_page as page; a null value marks the last page. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

Selected price
$0.002 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (21)
Player id (or nba.com player link).
Team abbreviation (`LAL`, `BOS` ...) or nickname.
Only this game.
Season as `2025-26` or its first year `2025`; the current season by default.
`regular` (default), `playoffs`, `preseason`, `play-in`, `cup` (NBA Cup) or `all-star`.
`FGA` (default), `FGM`, `FG3A`, `FG3M` or `PTS`.
Only against this team.
`home` or `road`.
`W` or `L`.
Only this period.
Month of the season (1 = October).
Only the last N games.
From date (YYYY-MM-DD).
To date (YYYY-MM-DD).
Page number, from 1.
Shots per page (1-2000, default 500).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

{
  "applied_filters": {
    "context_measure": "FGA",
    "end_date": null,
    "game_id": null,
    "location": null,
    "outcome": null,
    "period": null,
    "player": 2544,
    "season": "2025-26",
    "season_type": "Regular Season",
    "start_date": null,
    "team": null
  },
  "cached": false,
  "count": 1,
  "credits_used": 1,
  "fetched_at": "2026-11-19T12:22:29.997Z",
  "league_averages": [
    {
      "fg_pct": 0.667,
      "fga": 9,
      "fgm": 6,
      "grid_type": "League Averages",
      "shot_zone_area": "Back Court(BC)",
      "shot_zone_basic": "Above the Break 3",
      "shot_zone_range": "Back Court Shot"
    },
    {
      "fg_pct": 0.352,
      "fga": 17226,
      "fgm": 6062,
      "grid_type": "League Averages",
      "shot_zone_area": "Center(C)",
      "shot_zone_basic": "Above the Break 3",
      "shot_zone_range": "24+ ft."
    },
    {
      "fg_pct": 0.352,
      "fga": 26514,
      "fgm": 9342,
      "grid_type": "League Averages",
      "shot_zone_area": "Left Side Center(LC)",
      "shot_zone_basic": "Above the Break 3",
      "shot_zone_range": "24+ ft."
    },
    {
      "fg_pct": 0.346,
      "fga": 23626,
      "fgm": 8175,
      "grid_type": "League Averages",
      "shot_zone_area": "Right Side Center(RC)",
      "shot_zone_basic": "Above the Break 3",
      "shot_zone_range": "24+ ft."
    },
    {
      "fg_pct": 0.517,
      "fga": 29,
      "fgm": 15,
      "grid_type": "League Averages",
      "shot_zone_area": "Back Court(BC)",
      "shot_zone_basic": "Backcourt",
      "shot_zone_range": "Back Court Shot"
    },
    {
      "fg_pct": 0.461,
      "fga": 13546,
      "fgm": 6248,
      "grid_type": "League Averages",
      "shot_zone_area": "Center(C)",
      "shot_zone_basic": "In The Paint (Non-RA)",
      "shot_zone_range": "8-16 ft."
    },
    {
      "fg_pct": 0.44,
      "fga": 25595,
      "fgm": 11253,
      "grid_type": "League Averages",
      "shot_zone_area": "Center(C)",
      "shot_zone_basic": "In The Paint (Non-RA)",
      "shot_zone_range": "Less Than 8 ft."
    },
    {
      "fg_pct": 0.429,
      "fga": 2253,
      "fgm": 967,
      "grid_type": "League Averages",
      "shot_zone_area": "Left Side(L)",
      "shot_zone_basic": "In The Paint (Non-RA)",
      "shot_zone_range": "8-16 ft."
    },
    {
      "fg_pct": 0.436,
      "fga": 2514,
      "fgm": 1097,
      "grid_type": "League Averages",
      "shot_zone_area": "Right Side(R)",
      "shot_zone_basic": "In The Paint (Non-RA)",
      "shot_zone_range": "8-16 ft."
    },
    {
      "fg_pct": 0.387,
      "fga": 12210,
      "fgm": 4729,
      "grid_type": "League Averages",
      "shot_zone_area": "Left Side(L)",
      "shot_zone_basic": "Left Corner 3",
      "shot_zone_range": "24+ ft."
    },
    {
      "fg_pct": 0.453,
      "fga": 1880,
      "fgm": 852,
      "grid_type": "League Averages",
      "shot_zone_area": "Center(C)",
      "shot_zone_basic": "Mid-Range",
      "shot_zone_range": "8-16 ft."
    },
    {
      "fg_pct": 0.411,
      "fga": 2838,
      "fgm": 1166,
      "grid_type": "League Averages",
      "shot_zone_area": "Center(C)",
      "shot_zone_basic": "Mid-Range",
      "shot_zone_range": "16-24 ft."
    },
    {
      "fg_pct": 0.396,
      "fga": 2862,
      "fgm": 1133,
      "grid_type": "League Averages",
      "shot_zone_area": "Left Side Center(LC)",
      "shot_zone_basic": "Mid-Range",
      "shot_zone_range": "16-24 ft."
    },
    {
      "fg_pct": 0.416,
      "fga": 4634,
      "fgm": 1928,
      "grid_type": "League Averages",
      "shot_zone_area": "Left Side(L)",
      "shot_zone_basic": "Mid-Range",
      "shot_zone_range": "8-16 ft."
    },
    {
      "fg_pct": 0.394,
      "fga": 1188,
      "fgm": 468,
      "grid_type": "League Averages",
      "shot_zone_area": "Left Side(L)",
      "shot_zone_basic": "Mid-Range",
      "shot_zone_range": "16-24 ft."
    },
    {
      "fg_pct": 0.4,
      "fga": 2806,
      "fgm": 1122,
      "grid_type": "League Averages",
      "shot_zone_area": "Right Side Center(RC)",
      "shot_zone_basic": "Mid-Range",
      "shot_zone_range": "16-24 ft."
    },
    {
      "fg_pct": 0.439,
      "fga": 4756,
      "fgm": 2089,
      "grid_type": "League Averages",
      "shot_zone_area": "Right Side(R)",
      "shot_zone_basic": "Mid-Range",
      "shot_zone_range": "8-16 ft."
    },
    {
      "fg_pct": 0.397,
      "fga": 1061,
      "fgm": 421,
      "grid_type": "League Averages",
      "shot_zone_area": "Right Side(R)",
      "shot_zone_basic": "Mid-Range",
      "shot_zone_range": "16-24 ft."
    },
    {
      "fg_pct": 0.671,
      "fga": 62253,
      "fgm": 41768,
      "grid_type": "League Averages",
      "shot_zone_area": "Center(C)",
      "shot_zone_basic": "Restricted Area",
      "shot_zone_range": "Less Than 8 ft."
    },
    {
      "fg_pct": 0.386,
      "fga": 11360,
      "fgm": 4386,
      "grid_type": "League Averages",
      "shot_zone_area": "Right Side(R)",
      "shot_zone_basic": "Right Corner 3",
      "shot_zone_range": "24+ ft."
    }
  ],
  "next_page": 2,
  "page": 1,
  "shots": [
    {
      "action_type": "Jump Shot",
      "event_type": "Missed Shot",
      "game_date": "20251225",
      "game_event_id": 58,
      "game_id": "0022500012",
      "grid_type": "Shot Chart Detail",
      "htm": "LAL",
      "loc_x": 176,
      "loc_y": 200,
      "minutes_remaining": 7,
      "period": 1,
      "player_id": 2544,
      "player_name": "LeBron James",
      "seconds_remaining": 5,
      "shot_attempted_flag": 1,
      "shot_distance": 26,
      "shot_made_flag": 0,
      "shot_type": "3PT Field Goal",
      "shot_zone_area": "Right Side Center(RC)",
      "shot_zone_basic": "Above the Break 3",
      "shot_zone_range": "24+ ft.",
      "team_id": 1610612747,
      "team_name": "Los Angeles Lakers",
      "vtm": "HOU"
    }
  ],
  "summary": {
    "attempts": 919,
    "fg_pct": 0.515,
    "made": 473
  },
  "total": 919
}

Response result

Response structure

Inferred from examples
  • applied_filtersobject
    • context_measurestring
    • end_datenull
    • game_idnull
    • locationnull
    • outcomenull
    • periodnull
    • playerinteger
    • seasonstring
    • season_typestring
    • start_datenull
    • teamnull
  • cachedboolean
  • countinteger
  • credits_usedinteger
  • fetched_atstring
  • league_averagesobject[]
    • fg_pctnumber
    • fgainteger
    • fgminteger
    • grid_typestring
    • shot_zone_areastring
    • shot_zone_basicstring
    • shot_zone_rangestring
  • next_pageinteger
  • pageinteger
  • shotsobject[]
    • action_typestring
    • event_typestring
    • game_datestring
    • game_event_idinteger
    • game_idstring
    • grid_typestring
    • htmstring
    • loc_xinteger
    • loc_yinteger
    • minutes_remaininginteger
    • periodinteger
    • player_idinteger
    • player_namestring
    • seconds_remaininginteger
    • shot_attempted_flaginteger
    • shot_distanceinteger
    • shot_made_flaginteger
    • shot_typestring
    • shot_zone_areastring
    • shot_zone_basicstring
    • shot_zone_rangestring
    • team_idinteger
    • team_namestring
    • vtmstring
  • summaryobject
    • attemptsinteger
    • fg_pctnumber
    • madeinteger
  • totalinteger

Loading related APIs…

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use NBA shot chart API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.