Tournament Statistics APIs
Source: https://www.cricketapi.com/v5/docs/tournament-stats-rest-api Source: https://www.cricketapi.com/v5/docs/tournament-player-stats-rest-api
Overview
Statistical data for tournaments and individual players within tournaments. Useful for AI analysis features.
Endpoints
Tournament Stats
GET /v5/cricket/{project_key}/tournament/{tournament_key}/stats/
Returns aggregate tournament statistics.
Tournament Player Stats
GET /v5/cricket/{project_key}/tournament/{tournament_key}/player/{player_key}/stats/
Returns individual player performance statistics (batting, bowling, fielding) within a tournament.
Headers
rs-token: <access_token>
Sample Request (Node.js)
// Tournament stats
const response = await axios.get(
`https://api.sports.roanuz.com/v5/cricket/${projectKey}/tournament/${tournamentKey}/stats/`,
{ headers: { 'rs-token': token } }
);
// Player stats
const response = await axios.get(
`https://api.sports.roanuz.com/v5/cricket/${projectKey}/tournament/${tournamentKey}/player-stats/`,
{ headers: { 'rs-token': token } }
);
Response Structure
Tournament Stats
Typically includes:
- Most runs (Orange Cap contenders)
- Most wickets (Purple Cap contenders)
- Best batting/bowling averages
- Most sixes, fours
- Best strike rates
- Team-level aggregates
Player Stats
Detailed player statistics within the tournament:
- Batting: runs, average, strike rate, 50s, 100s, highest score
- Bowling: wickets, average, economy, best figures
- Fielding: catches, stumpings, run-outs
Hannibal Usage
Not currently used. High value for:
- AI match analysis — player form data for prediction models
- Player prop markets — statistical basis for player prop odds
- Tournament leaderboards — Orange/Purple Cap displays
- Pre-match insights — top performers going into a match