search_players
1 creditStatic referencePOST /v1/search_players
Find players by name
Use it when you have a name, or part of one, and need the player id for the other endpoints.
Parameters
namestringrequired- Full or partial name.
limitintegeroptional
Notes
- Over MCP, ask for it in plain English and the client calls
search_playersitself. Point any MCP client athttps://mcp.dunkapi.com/mcp?key=YOUR_API_KEY. - Each call costs 1 credit, 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/search_players \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"name": "tatum",
"limit": 3
}'Response
json
{
"players": [
{
"player_id": "4065648",
"name": "Jayson Tatum",
"position": "F",
"jersey": "0",
"team_id": "2",
"team": "BOS",
"last_season": 2026
},
{
"player_id": "3275",
"name": "Jamaal Tatum",
"position": "NA",
"jersey": null,
"team_id": "22",
"team": "POR",
"last_season": 2009
}
],
"count": 2
}Response fields
players[]array- List of objects
players[].player_idstringplayers[].namestringplayers[].positionstringplayers[].jerseystringplayers[].team_idstringplayers[].teamstringplayers[].last_seasonnumbercountnumber
Related endpoints
get_player5 cr
Takes the player_id this one returns.
Profile, per-season averages and shooting splits, last 10 games
get_player_games5 cr
Takes the player_id this one returns.
A player's full game log
list_games2 cr
Filters by the same limit.
Games with scores by season, date, range or team
get_leaders5 cr
Filters by the same limit.
Season leaders per game, by percentage or in total
Try it
500 credits free on signup: 500 calls to search_players, and no card.