get_player
Data refreshed · changelog
Profile, per-season averages and shooting splits, last 10 games
Use it when you are profiling a player: per-season averages and shooting splits, regular season and playoffs, and the last 10 games.
Parameters
player_idstringrequired- Player id, from search_players.
leagueenum: nba | wnba | ncaam | ncaaw | nbloptional- League. Defaults to nba. One of: nba, wnba, ncaam, ncaaw, nbl.
Notes
- Over MCP, ask for it in plain English and the client calls
get_playeritself. Point any MCP client athttps://mcp.dunkapi.com/mcp?key=YOUR_API_KEY. - Each call costs 5 credits, taken before it runs and refunded if the server errors.
- Not the call you need? Find the right call by what you are trying to answer.
Request
curl -X POST https://mcp.dunkapi.com/v1/get_player \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"player_id": "4065648"
}'Response
{
"player": {
"player_id": "4065648",
"name": "Jayson Tatum",
"position": "F",
"jersey": "0",
"team_id": "2",
"team": "BOS",
"team_name": "Boston Celtics"
},
"seasons": [
{
"season": 2027,
"season_type": "regular",
"teams": "BOS",
"games": 8,
"starts": 8,
"min": 34.4,
"pts": 27.9,
"reb": 6.3,
"ast": 8,
"stl": 0.8,
"blk": 0.5,
"tov": 3,
"oreb": 0.6,
"dreb": 5.6,
"pf": 2.6,
"plus_minus": 8.5,
"total_pts": 223,
"fgm": 68,
"fga": 157,
"tpm": 16,
"tpa": 56,
"ftm": 71,
"fta": 80,
"fg_pct": 0.433,
"tp_pct": 0.286,
"ft_pct": 0.888,
"efg_pct": 0.484,
"ts_pct": 0.58
},
{
"season": 2026,
"season_type": "regular",
"teams": "BOS",
"games": 16,
"starts": 16,
"min": 32.6,
"pts": 21.8,
"reb": 10,
"ast": 5.3,
"stl": 1.4,
"blk": 0.2,
"tov": 2.4,
"oreb": 0.5,
"dreb": 9.5,
"pf": 1.6,
"plus_minus": 7.4,
"total_pts": 348,
"fgm": 118,
"fga": 287,
"tpm": 47,
"tpa": 143,
"ftm": 65,
"fta": 79,
"fg_pct": 0.411,
"tp_pct": 0.329,
"ft_pct": 0.823,
"efg_pct": 0.493,
"ts_pct": 0.541
},
{
"season": 2026,
"season_type": "postseason",
"teams": "BOS",
"games": 6,
"starts": 6,
"min": 36.3,
"pts": 23.3,
"reb": 10.7,
"ast": 6.8,
"stl": 1.2,
"blk": 0,
"tov": 2.8,
"oreb": 1,
"dreb": 9.7,
"pf": 1.8,
"plus_minus": 4.7,
"total_pts": 140,
"fgm": 48,
"fga": 101,
"tpm": 19,
"tpa": 52,
"ftm": 25,
"fta": 32,
"fg_pct": 0.475,
"tp_pct": 0.365,
"ft_pct": 0.781,
"efg_pct": 0.569,
"ts_pct": 0.608
}
],
"recent_games": [
{
"game_id": "401909288",
"date": "2026-11-06",
"season": 2027,
"opponent": "CHA",
"home": false,
"result": "W",
"minutes": 29,
"pts": 34,
"reb": 8,
"ast": 9,
"stl": 1,
"blk": 1,
"tov": 4,
"fgm": 9,
"fga": 16,
"tpm": 5,
"tpa": 8,
"ftm": 11,
"fta": 11,
"plus_minus": 36
},
{
"game_id": "401909916",
"date": "2026-11-02",
"season": 2027,
"opponent": "HOU",
"home": false,
"result": "L",
"minutes": 32,
"pts": 19,
"reb": 6,
"ast": 9,
"stl": 1,
"blk": 0,
"tov": 5,
"fgm": 5,
"fga": 16,
"tpm": 1,
"tpa": 7,
"ftm": 8,
"fta": 8,
"plus_minus": 1
},
{
"game_id": "401909903",
"date": "2026-11-01",
"season": 2027,
"opponent": "ORL",
"home": false,
"result": "W",
"minutes": 34,
"pts": 32,
"reb": 4,
"ast": 7,
"stl": 0,
"blk": 2,
"tov": 4,
"fgm": 8,
"fga": 19,
"tpm": 1,
"tpa": 5,
"ftm": 15,
"fta": 17,
"plus_minus": 7
}
]
}Response fields
playerobjectplayer.player_idstringplayer.namestringplayer.positionstringplayer.jerseystringplayer.team_idstringplayer.teamstringplayer.team_namestringseasons[]array- List of objects
seasons[].seasonnumberseasons[].season_typestringseasons[].teamsstringseasons[].gamesnumberseasons[].startsnumberseasons[].minnumberseasons[].ptsnumberseasons[].rebnumberseasons[].astnumberseasons[].stlnumberseasons[].blknumberseasons[].tovnumberseasons[].orebnumberseasons[].drebnumberseasons[].pfnumberseasons[].plus_minusnumberseasons[].total_ptsnumberseasons[].fgmnumberseasons[].fganumberseasons[].tpmnumberseasons[].tpanumberseasons[].ftmnumberseasons[].ftanumberseasons[].fg_pctnumberseasons[].tp_pctnumberseasons[].ft_pctnumberseasons[].efg_pctnumberseasons[].ts_pctnumberrecent_games[]array- List of objects
recent_games[].game_idstringrecent_games[].datestring
Used in
- NBA shot chart data: The x/y location of every NBA field goal attempt in the play-by-play since 2003-04, with distance, zone, result and expected points. REST or MCP.
Related endpoints
Takes the game_id this one returns.
Opening and closing lines by sportsbook for the half and quarter markets (from May 2023, each game added the morning after it is played)
Takes the player_id this one returns.
A player's prop lines against the result, game by game
Takes the game_id this one returns.
Every sportsbook's moneyline, spread and total for a game (5) or a day (10), with results against the line
Takes the player_id this one returns.
Play-by-play with shot locations, zones, expected points and win probability
Try it
500 free credits every month: 100 calls to get_player, and no card.