{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"54193cee-5c62-48e7-b051-9cf6a103c53f","catalogType":"api","categories":["data"],"dataPlatform":"nba","dataPlatformLogoUrl":"https://api.sh/logos/nba.png","dataPlatformTranslations":{},"dataProduct":"sports","description":"Get NBA Shot Chart data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as limit, output, player, and retrieve structured data including shooter display name, action type, court zone classification, court horizontal coordinate, and court vertical coordinate to render interactive court heatmaps, and audit single-game shot selection.","descriptionTranslations":{"ar":"احصل على بيانات خريطة تصويبات NBA على مستوى الإحداثيات عبر OpenAny REST لرسم خرائط حرارية وتحليل اختيار التصويب ومقارنته بمتوسطات الدوري. صفّ حسب اللاعب والفريق ومعرف المباراة والموسم والمنافس والمكان والربع لاسترجاع الإحداثيات والمسافات والمناطق ونسب النجاح بتنسيق JSON.","ja":"OpenAny REST で座標レベルの NBA ショットチャートデータを取得し、コートヒートマップ描画やエリア別効率分析に活用できます。選手、チーム、試合 ID、シーズン、対戦相手、ホーム・アウェイ、ピリオド、期間で絞り込み、x/y 座標、距離、ゾーン、成否、リーグ平均を JSON で取得できます。","zh":"通过 OpenAny REST 获取坐标级 NBA 投篮数据，用于绘制球场热图、分析出手选择并与联盟分区命中率基准对比。可按球员、球队、比赛 ID、赛季、统计口径、对手、主客场、节次与日期范围筛选，返回投篮坐标、距离、区域标签、命中标记及汇总统计。"},"effectContentHtml":"","executionMode":"sync","id":"d28d90bf-b89c-483f-b5e1-0baea1255d4d","includedContentHtml":"","inputs":[{"description":"Player id (or nba.com player link).","location":"query","name":"player","nullable":false,"required":false,"type":"string"},{"description":"Team abbreviation (`LAL`, `BOS` ...) or nickname.","location":"query","name":"team","nullable":false,"required":false,"type":"string"},{"description":"Only this game.","location":"query","name":"game_id","nullable":false,"required":false,"type":"string"},{"description":"Season as `2025-26` or its first year `2025`; the current season by default.","location":"query","name":"season","nullable":false,"required":false,"type":"string"},{"description":"`regular` (default), `playoffs`, `preseason`, `play-in`, `cup` (NBA Cup) or `all-star`.","enum_values":["regular","playoffs","preseason","play-in","cup","all-star"],"location":"query","name":"season_type","nullable":false,"required":false,"type":"string"},{"description":"`FGA` (default), `FGM`, `FG3A`, `FG3M` or `PTS`.","enum_values":["FGA","FGM","FG3A","FG3M","PTS"],"location":"query","name":"context_measure","nullable":false,"required":false,"type":"string"},{"description":"Only against this team.","location":"query","name":"opponent","nullable":false,"required":false,"type":"string"},{"description":"`home` or `road`.","enum_values":["home","road"],"location":"query","name":"location","nullable":false,"required":false,"type":"string"},{"description":"`W` or `L`.","enum_values":["W","L"],"location":"query","name":"outcome","nullable":false,"required":false,"type":"string"},{"description":"Only this period.","location":"query","name":"period","nullable":false,"required":false,"type":"integer"},{"description":"Month of the season (1 = October).","location":"query","name":"month","nullable":false,"required":false,"type":"integer"},{"description":"Only the last N games.","location":"query","name":"last_n_games","nullable":false,"required":false,"type":"integer"},{"description":"From date (YYYY-MM-DD).","location":"query","name":"start_date","nullable":false,"required":false,"type":"string"},{"description":"To date (YYYY-MM-DD).","location":"query","name":"end_date","nullable":false,"required":false,"type":"string"},{"description":"Page number, from 1.","location":"query","name":"page","nullable":false,"required":false,"type":"integer"},{"description":"Shots per page (1-2000, default 500).","location":"query","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/nba.png","method":"GET","name":"NBA shot chart API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eNBA Shot Chart API\u003c/h2\u003e\n\u003cp\u003eQuery NBA shot attempts using optional player (ID or nba.com link), team, game_id, season, season_type, context_measure (FGA, FGM, FG3A, FG3M or PTS), split filters (opponent, location, outcome, period, month, last_n_games, date range), page and limit (1-2000, default 500).\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eOptional query: player, team, game_id, season, season_type, context_measure (FGA default), opponent, location, outcome, period, date range, page, limit (1-2000, default 500).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · NBA shot chart API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eRender interactive court heatmaps\u003c/strong\u003e: Plot shots[].loc_x, shots[].loc_y and shot_made_flag onto a half-court SVG or Canvas visual.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eBenchmark player vs. league zone accuracy\u003c/strong\u003e: Compare a player\u0026#39;s zone shooting percentages against league_averages[] returned in the same payload.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eAudit single-game shot selection\u003c/strong\u003e: Pass game_id and player or team to inspect every shot attempt by quarter and remaining clock.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esummary.attempts\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal shot attempts in the filtered set\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esummary.made\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTotal made shots in the filtered set\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003esummary.fg_pct\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eOverall field goal percentage for the set\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].game_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eGame identifier for the shot\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].player_name\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eShooter display name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].action_type\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSpecific shot type such as Jump Shot or Layup\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].shot_zone_basic\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCourt zone classification\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].shot_distance\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eShot distance from the hoop in feet\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].loc_x\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCourt horizontal coordinate\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eshots[].loc_y\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eCourt vertical coordinate\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/nba/v1/shots \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode limit=1 \\\n  --data-urlencode output=json \\\n  --data-urlencode player=2544 \\\n  --data-urlencode raw=0 \\\n  --data-urlencode season=2025-26\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/d28d90bf-b89c-483f-b5e1-0baea1255d4d\"\u003ePublished NBA Shot Chart API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhat values does context_measure accept?\u003c/h3\u003e\n\u003cp\u003econtext_measure accepts FGA (default), FGM, FG3A, FG3M or PTS.\u003c/p\u003e\n\u003ch3\u003eAre league shooting averages by zone included?\u003c/h3\u003e\n\u003cp\u003eYes. The league_averages[] array provides league fgm, fga and fg_pct broken down by shot_zone_basic, shot_zone_area and shot_zone_range.\u003c/p\u003e\n\u003ch3\u003eHow many shots can I request per page?\u003c/h3\u003e\n\u003cp\u003elimit accepts 1 to 2000 shots per page (default 500); use page and next_page to paginate larger shot sets.\u003c/p\u003e\n\u003ch3\u003eCan I filter shots for a single game or specific quarter?\u003c/h3\u003e\n\u003cp\u003eYes. Pass game_id and optionally period, location, outcome or opponent.\u003c/p\u003e\n\u003ch3\u003eHow do I check whether a shot was made or missed?\u003c/h3\u003e\n\u003cp\u003eInspect shots[].shot_made_flag (1 for made, 0 for missed) and shots[].event_type.\u003c/p\u003e\n\u003ch3\u003eHow do caching and response trimming work?\u003c/h3\u003e\n\u003cp\u003eOutput is JSON only. Pass fresh=1 to bypass the 24-hour cache, raw=0 to omit raw blocks, or fields to select keys.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nba/nba-play-by-play-api\"\u003eNBA Play-by-Play API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nba/nba-player-profile-and-career-stats-api\"\u003eNBA Player Profile API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/nba/nba-player-stats-tables-api\"\u003eNBA Player Stats API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/nba/nba-shot-chart-api?offering=d28d90bf-b89c-483f-b5e1-0baea1255d4d","providerId":"apish","publicPath":"/v1/agent-apis/apish/nba/v1/shots","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Live API.SH response · Minimal request","request":{"body":null,"headers":{},"path":{},"query":{"limit":"1","output":"json","player":"2544","raw":"0","season":"2025-26"}},"response_body":{"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}}],"seoDescription":"Get NBA Shot Chart data via REST or MCP powered by Apish. Pay per call, no subscription. Ready for developers and AI agents with one API key.","updatedAt":"2026-12-03T02:55:46.321Z","usageInstructionsHtml":""}}