Skip to main content
Glama

DunkAPI

get_shot_chart

Read-only

Use for a shot profile: attempts, makes, percentage, points per shot and expected points per shot in each zone (restricted area, paint, midrange, corner three, above-the-break three, free throws) for a player, a team, a team's opponents or one game. include_shots adds every located shot's x/y and result for drawing a chart. Costs 10 credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
teamNoTeam id or abbreviation.
leagueNoLeague. Defaults to nba. One of: nba, wnba.
seasonNoSeason by the year it ends (default: the latest).
game_idNo
opponentNoWith team: the shots its opponents took (its defence).
player_idNo
season_typeNo
include_shotsNoAdd each shot's x, y and result (up to 3,000).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
shareNo
shotsNo
zonesYes
seasonYes
shots_noteNo
unlocated_noteNo
unlocated_attemptsNo
field_goal_attemptsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.