get_player
5 creditsStats + aggregationPOST /v1/get_player
Data refreshed · changelog
A career by format: runs, average, strike rate, wickets, economy, hundreds, best figures
Use it when you are profiling a player: teams, and batting and bowling by format with hundreds, fifties and best figures.
Parameters
player_idstringrequired- Player id from search_players.
leagueenum: cricket | test | odi | t20i | ipl | bbl | psl | cpl | blast | hundred | sa20 | ilt20 | county | wbbl | wpl | hundred_womenoptional- League. Defaults to cricket. One of: cricket, test, odi, t20i, ipl, bbl, psl, cpl, blast, hundred, sa20, ilt20, county, wbbl, wpl, hundred_women.
Notes
- Over MCP, ask for it in plain English and the client calls
get_playeritself. Point any MCP client athttps://mcp.yorkerapi.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.yorkerapi.com/v1/get_player \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"player_id": "462411b3"
}'Response
json
{
"player": {
"player_id": "462411b3",
"name": "JJ Bumrah",
"full_name": "Jasprit Bumrah",
"matches": 402,
"first_match": "2013-04-04",
"last_match": "2026-10-03"
},
"teams": [
{
"team_id": "india",
"name": "India",
"matches": 235,
"first": "2016-01-23",
"last": "2026-10-03"
},
{
"team_id": "mumbai-indians",
"name": "Mumbai Indians",
"matches": 158,
"first": "2013-04-04",
"last": "2026-05-20"
},
{
"team_id": "gujarat",
"name": "Gujarat",
"matches": 9,
"first": "2016-01-02",
"last": "2016-01-18"
}
],
"batting_by_format": [
{
"group_key": "test",
"matches": 47,
"innings": 76,
"runs": 348,
"balls": 843,
"outs": 53,
"fours": 38,
"sixes": 11,
"dots": 673,
"hundreds": 0,
"fifties": 0,
"highest": 34,
"average": 6.57,
"strike_rate": 41.28
},
{
"group_key": "odi",
"matches": 22,
"innings": 22,
"runs": 110,
"balls": 171,
"outs": 12,
"fours": 13,
"sixes": 2,
"dots": 114,
"hundreds": 0,
"fifties": 0,
"highest": 20,
"average": 9.17,
"strike_rate": 64.33
},
{
"group_key": "t20",
"matches": 37,
"innings": 37,
"runs": 89,
"balls": 107,
"outs": 15,
"fours": 8,
"sixes": 1,
"dots": 50,
"hundreds": 0,
"fifties": 0,
"highest": 16,
"average": 5.93,
"strike_rate": 83.18
}
],
"bowling_by_format": [
{
"group_key": "test",
"matches": 52,
"balls": 10031,
"runs_conceded": 4631,
"wickets": 234,
"dots": 7767,
"wides": 42,
"noballs": 115,
"five_wickets": 16,
"best": "6/27",
"overs": "1671.5",
"average": 19.79,
"economy": 2.77,
"strike_rate": 42.9
},
{
"group_key": "t20",
"matches": 259,
"balls": 5841,
"runs_conceded": 6853,
"wickets": 320,
"dots": 2467,
"wides": 191,
"noballs": 55,
"five_wickets": 2,
"best": "5/10",
"overs": "973.3",
"average": 21.42,
"economy": 7.04,
"strike_rate": 18.3
},
{
"group_key": "odi",
"matches": 88,
"balls": 4574,
"runs_conceded": 3507,
"wickets": 145,
"dots": 2685,
"wides": 146,
"noballs": 22,
"five_wickets": 2,
"best": "6/19",
"overs": "762.2",
"average": 24.19,
"economy": 4.6,
"strike_rate": 31.5
}
]
}Response fields
playerobjectplayer.player_idstringplayer.namestringplayer.full_namestringplayer.matchesnumberplayer.first_matchstringplayer.last_matchstringteams[]array- List of objects
teams[].team_idstringteams[].namestringteams[].matchesnumberteams[].firststringteams[].laststringbatting_by_format[]array- List of objects
batting_by_format[].group_keystringbatting_by_format[].matchesnumberbatting_by_format[].inningsnumberbatting_by_format[].runsnumberbatting_by_format[].ballsnumberbatting_by_format[].outsnumberbatting_by_format[].foursnumberbatting_by_format[].sixesnumberbatting_by_format[].dotsnumberbatting_by_format[].hundredsnumberbatting_by_format[].fiftiesnumberbatting_by_format[].highestnumberbatting_by_format[].averagenumberbatting_by_format[].strike_ratenumberbowling_by_format[]array- List of objects
bowling_by_format[].group_keystringbowling_by_format[].matchesnumberbowling_by_format[].ballsnumberbowling_by_format[].runs_concedednumberbowling_by_format[].wicketsnumberbowling_by_format[].dotsnumberbowling_by_format[].widesnumberbowling_by_format[].noballsnumberbowling_by_format[].five_wicketsnumberbowling_by_format[].beststringbowling_by_format[].oversstring
Related endpoints
search_players1 cr
Returns the player_id this one takes.
Find a player's id by name, or list a team's players
get_match5 cr
Returns the player_id this one takes.
One match in full: batting and bowling cards, ratings and every book's opening and closing price
get_player_stats5 cr
Takes the player_id this one returns.
A player split by season, competition, phase (powerplay, middle, death) or format
get_player_matches5 cr
Takes the player_id this one returns.
A player's matches with batting and bowling in each innings
Try it
500 free credits every month: 100 calls to get_player, and no card.