Get one cricket player's profile by playerId: name, role, batting and bowling style, birth details, best rankings, team IDs and recent form
View all Cricket Live Scores, Scorecards & Stats API endpoints →Returns the profile of a single cricket player. playerId is required, goes in the URL path and is a number: use the id value from the trending players or player search operations of this product. The default 6635 is an example value. A live probe for playerId 6635 returned HTTP 200 with a JSON object whose observed fields are id, name, fullName, role, bat (batting style), bowl (bowling style), height, birthPlace, intlTeam, teams (a comma-separated string of team names), DoB, DoBFormat, image (a URL string), bio, rankings, appIndex, faceImageId and intlTeamImageId (both integers), teamNameIds (an array of teamId and teamName objects), playerTeamIds (a comma-separated string of team IDs), and recentBatting and recentBowling objects that each hold a headers array and a rows array. In that probe, rankings.bat held testBestRank, odiBestRank and t20BestRank as strings while rankings.bowl and rankings.all were empty objects. Some text values carry trailing spaces, DoB includes an age in brackets, and bio contains HTML line-break tags. In the probe each row of recentBatting had five values against four headers, with the leading value looking like a match identifier and followUpLinkText holding a relative page path. The source 200 example is cut off inside bio, so fields after it are known only from the probe. Fields are coverage-dependent and a player may have empty ranking or form sections.
API Features
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
/api/project/cricbuzz-cricket/players-get-info API Response (JSON)
{} curl -X GET 'https://api.opendata-api.com/api/project/cricbuzz-cricket/players-get-info?key=<API_KEY>&playerId=6635'
Query Result
Use Cases
- Render a player profile page header from name, fullName, role, bat, bowl, height and birthPlace, trimming the trailing spaces that some values carry.
- Show career-best rank badges for Test, ODI and T20 on a player card from the rankings object, and hide any badge whose section is an empty object.
- Build a team-history chip row from teamNameIds so that each club or national side links to a team page by teamId.
- Create a recent-form panel from recentBatting and recentBowling by reading headers and rows dynamically, and link each row to a match page after confirming how the leading value maps to a match.
- Fetch the portrait and national team image by passing faceImageId and intlTeamImageId to the image operation, then cache the results next to the profile record.
- Turn the bio text into paragraphs for a pre-match preview article by splitting on the HTML line breaks and keeping your own copy review step.
Frequently asked questions
Where do I get the playerId for this endpoint?
Use the id value returned by the trending players or player search operations of this product. Those operations return it as a string of digits, while this endpoint declares playerId as a required number in the URL path. The default 6635 is only an example value.
Which response fields were actually observed?
A probe for playerId 6635 returned HTTP 200 with id, name, fullName, role, bat, bowl, height, birthPlace, intlTeam, teams, DoB, DoBFormat, image, bio, rankings, appIndex, faceImageId, intlTeamImageId, teamNameIds, playerTeamIds, recentBatting and recentBowling. The source example is cut off inside bio, so use the probe as the field reference.
Why are rankings.bowl and rankings.all empty?
In the probe for the default player, rankings.bat held testBestRank, odiBestRank and t20BestRank, while bowl and all were empty objects. Treat an empty object as no ranking data returned for that section, not as a rank of zero.
Which date-of-birth field should I store?
Store DoBFormat, which holds the plain date text. DoB includes an age in brackets that was correct only when the response was generated, so it will go out of date if you save it.
Why do recentBatting rows have more values than headers?
In the probe, each row had five values against four headers (Score, OPPN., Format, Date). The leading value looked like a match identifier, and followUpLinkText held a page path. Verify this mapping on your own sample before building a link from it.
What are the teamNameIds and playerTeamIds fields for?
teamNameIds is an array of objects with teamId and teamName, and playerTeamIds is the same set of team IDs as one comma-separated string. Use the IDs to navigate to team data of this product and keep the names for display.
Is the bio field plain text?
No. The bio contains HTML line-break tags between paragraphs, so convert or strip them before showing the text in a plain text view, and do not insert it as raw HTML without sanitizing it.
What happens for an unknown playerId?
The supplied evidence documents only the successful response, and no probe covered an invalid ID. Handle non-200 responses and empty sections in your client, and take IDs from the trending or search operations to avoid guessing.