Cricbuzz API: Get cricketer profile
Finds a cricketer on Cricbuzz by name, optionally narrowed by country. Returns the profile, current ICC rankings and career statistics.
Unofficial. Not affiliated with or endorsed by Cricbuzz.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Player, required
player Player name, for example Virat Kohli.
Virat Kohli
- Country optional
country Country to distinguish players with the same name, for example Indonesia.
(default)
Input as JSON
{ "player": "Virat Kohli"}Output
{ "role": "batter", "teams": [ "India", "Delhi", "India Red" ], "country": "India", "full_name": "Virat Kohli", "career_stats": { "ipl": { "runs": 9336, "economy": 8.8, "fifties": 68, "innings": 275, "matches": 283, "wickets": 4, "hundreds": 9, "strike_rate": 134.8, "best_bowling": "2/25" , "highest_score": "113", "batting_average": 40.42, "bowling_average": 92 }, "odi": { "runs": 15109, "economy": 6.16, "fifties": 79, "innings": 305, "matches": 317, "wickets": 5, "hundreds": 55, "strike_rate": 94.37, "best_bowling": "1/13" , "highest_score": "183", "batting_average": 58.79, "bowling_average": 136 }, "t20i": { "runs": 4188, "economy": 8.05, "fifties": 38, "innings": 117, "matches": 125, "wickets": 4, "hundreds": 1, "strike_rate": 137.05, "best_bowling": "1/13" , "highest_score": "122", "batting_average": 48.7, "bowling_average": 51 }, "test": { "runs": 9230, "economy": 2.88, "fifties": 31, "innings": 210, "matches": 123, "wickets": 0, "hundreds": 30, "strike_rate": 55.58, "best_bowling": null, "highest_score": "254", "batting_average": 46.85, "bowling_average": null } }, "icc_rankings": { "odi": { "batting": 3, "bowling": null, "all_rounder": null }, "t20i": { "batting": null, "bowling": null, "all_rounder": null }, "test": { "batting": null, "bowling": null, "all_rounder": null } }, "batting_style": "Right Handed Bat", "bowling_style": "Right-arm medium", "cricbuzz_link": "https://www.cricbuzz.com/profiles/1413/virat-kohli" , "date_of_birth": "1988-11-05", "photo_image_link": "https://static.cricbuzz.com/a/img/v1/i1/c616517/virat-kohli.jpg?d=low&p=gthumb" }Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"cricbuzz.com/get_player","input":{"player":"Virat Kohli"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "cricbuzz.com/get_player" , "input": { "player": "Virat Kohli" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "cricbuzz.com/get_player" , "input": { "player": "Virat Kohli" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run cricbuzz.com/get_player# with {"player":"Virat Kohli"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "player" ], "properties": { "player": { "type": "string", "minLength": 1, "description": "Player name, for example Virat Kohli." }, "country": { "type": "string", "default": "", "description": "Country to distinguish players with the same name, for example Indonesia." } }}Output schema
{ "type": "object", "required": [ "full_name", "country", "role", "batting_style", "bowling_style", "date_of_birth", "photo_image_link", "cricbuzz_link", "teams", "icc_rankings", "career_stats" ], "properties": { "role": { "type": [ "string", "null" ] }, "teams": { "type": "array", "items": { "type": "string" } }, "country": { "type": [ "string", "null" ] }, "full_name": { "type": [ "string", "null" ] }, "career_stats": { "type": "object" }, "icc_rankings": { "type": "object" }, "batting_style": { "type": [ "string", "null" ] }, "bowling_style": { "type": [ "string", "null" ] }, "cricbuzz_link": { "type": [ "string", "null" ] }, "date_of_birth": { "type": [ "string", "null" ] }, "photo_image_link": { "type": [ "string", "null" ] } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
cricbuzz.com/get_player- Returns
- full name, country, role, styles, date of birth, photo, link, teams, ICC rankings, career stats (Test/ODI/T20I/IPL)
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method cricbuzz.com/get_player with the inputs above.
Ask your agent
- Find the cricket profile and career stats for Virat Kohli
- What are Joe Root's Test batting averages and current ICC ranking?
- Look up Rashid Khan's bowling styles, date of birth and T20I statistics on cricbuzz.com
- Show me the teams and IPL career numbers for Jasprit Bumrah
- Is there an Australian all-rounder named Marcus Stoinis, and what are his ODI stats and role?
See more
All Cricbuzz methodsGets a cricket match's full scorecard on Cricbuzz from two team names. You can pick the match by date or series, or pass a match link. Otherwise you get the teams' most recent match, including live play.
cricbuzz.com/get_scorecardLists live, recent and upcoming cricket matches from Cricbuzz with teams, scores, venue and status. Filter by team or series name.
cricbuzz.com/get_live_scoresLooks up a Premier League player by name and returns the profile and either career totals or the stats for a chosen season. If names clash, a current Premier League player is preferred.
premierleague.com/get_player_statsLooks up an NBA player by name, including retired players, and returns the bio and regular-season per-game averages for the reported season and career.
nba.com/get_playerGets an MLB player's profile and regular-season hitting and pitching statistics for one season and for his career. Without a season it uses the current season, or the player's latest MLB season if he has no stats this year.
mlb.com/get_player_statsLooks up a Yahoo Sports player by name and returns the player's regular-season statistics for a season, alongside career totals. Each stat includes season and career values.
sports.yahoo.com/get_player_statsLooks up an ESPN player by name and returns season and career statistics. Use a league to tell apart players with the same name, and a season year or label to pick a past season.
espn.com/get_player_statsLooks up an NHL player by name, link or ID and returns the profile with regular-season stats for a season and career totals.
nhl.com/get_player_stats