Comprehensive cricket statistics from the Indian Premier League
This API provides comprehensive statistics and data from the Indian Premier League (IPL) cricket tournament.
CSK
, RCB
) and ensure player names exactly match those listed in the Players section.
fetch('https://apipl.onrender.com/api/teams')
.then(response => response.json())
.then(data => console.log(data));
{
"teams": [
"Chennai Super Kings",
"Delhi Capitals",
"Gujarat Titans",
"Kolkata Knight Riders",
"Lucknow Super Giants",
"Mumbai Indians",
"Punjab Kings",
"Rajasthan Royals",
"Royal Challengers Bangalore",
"Sunrisers Hyderabad"
]
}
Get comprehensive details about a specific IPL match
Calculate fantasy points for players in a specific match
Get simulated live match data up to a specific ball
Get match progress up to a specific over
Get milestone notifications for a match
Get an AI-generated summary of a match
Get runs scored by season (optionally filtered by team)
Get list of all IPL teams
No parameters required
Get runs scored by a team in each match
Get run rate by a team in each match
Get wickets lost by a team in each match
Get run rate trends by match phase (powerplay, middle, death)
Get performance insights for a specific team
Get recent form for a specific player
Compare statistics between two players
Get head-to-head stats between a batter and bowler
Get players with high strike rates and sixes
Get players who perform well in high-pressure situations
No parameters required
Get players with consistent performance across matches
No parameters required
Get various leaderboards (most sixes, best economy, etc.)
No parameters required
Get top batsmen and bowlers
Get summary statistics (matches, runs, wickets)
Captain: MS Dhoni
Captain: Rohit
Captain: Faf du Plessis
Captain: Shreyas Iyer
Captain: Sanju Samson
Captain: Rishabh Pant
Captain: Shikhar Dhawan
Captain: Aiden Markram
Captain: Hardik Pandya
Captain: KL Rahul
fetch('https://apipl.onrender.com/api/teams')
.then(response => response.json())
.then(data => console.log(data));
RCB | Right-handed batsman
MI | Right-handed batsman
DC | Left-handed batsman
LSG | Right-handed batsman
MI | Right-arm fast
GT | Right-arm legbreak
RR | Right-arm legbreak
GT | Right-arm fast-medium
GT | Right-handed batsman, Right-arm medium-fast
CSK | Left-handed batsman, Left-arm orthodox
KKR | Right-handed batsman, Right-arm fast
RCB | Right-handed batsman, Right-arm offbreak
fetch('https://apipl.onrender.com/api/player_form?player=Kohli')
.then(response => response.json())
.then(data => console.log(data));
This shows how the match unfolded ball by ball, with scoring breakdown, innings flow, and timeline-based visualization.
Fetch match metadata like teams, scores, venue, toss, date & time, and match result.
Fantasy point calculation based on wickets, runs, economy, and boundaries. Ideal for fantasy team planning.
Phase-wise run rate and trends for each team across matches: Powerplay, Middle, and Death overs.
Gemini/OpenAI-generated text summary highlighting clutch moments, standout performers, and match turning points.
Download raw data files in CSV format for offline analysis.
Contains details of all IPL matches including teams, scores, venues, dates, and results.
Download matches.csvBall-by-ball data including runs, wickets, batsmen, bowlers, and match information.
Download deliveries.csvSeason-wise top run scorers in the IPL (Orange Cap winners).
Download orange_cap.csvSeason-wise top wicket takers in the IPL (Purple Cap winners).
Download purple_cap.csv