Iplt20 APIdocuments.iplt20.com ↗
Get detailed cricket statistics for Indian Premier League players, including their season-by-season batting and bowling performance as well as their complete career records. Track player performance metrics across all IPL seasons to analyze trends and compare player stats over time.
curl -X GET 'https://api.parse.bot/scraper/ac69bc48-6a1e-44da-8cd9-fce060986547/get_batting_stats?limit=10&season=2026' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace documents-iplt20-com-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: IPL Stats SDK — season stats and career records."""
from parse_apis.documents_iplt20_com_api import IPL, SeasonYear, PlayerNotFound
client = IPL()
# Get top batting performers for IPL 2026 (Orange Cap standings)
for batter in client.season(SeasonYear.Y2026).batting(limit=5):
print(f"{batter.player_name} ({batter.team_code}): {batter.runs} runs, SR {batter.strike_rate}")
# Get bowling stats for a specific team in a season
for bowler in client.season(SeasonYear.Y2025).bowling(team_code="CSK", limit=3):
print(f"{bowler.player_name}: {bowler.wickets} wickets, Econ {bowler.economy_rate}")
# Look up a player's all-time IPL career stats
career = client.player("Virat Kohli").career(limit=1).first()
if career and career.batting:
print(f"{career.player_name} - {career.team_name}")
print(f" Batting: {career.batting.runs} runs, Avg {career.batting.batting_average}")
# Handle player not found
try:
result = client.player("XyzNonexistent").career(limit=1).first()
except PlayerNotFound as exc:
print(f"Player not found: {exc.player_name}")
print("Exercised: season.batting / season.bowling / player.career")
Retrieve batting statistics for an IPL season, ranked by total runs (Orange Cap standings). Results include runs, batting average, strike rate, boundaries, and other batting metrics. Filterable by team. Results are auto-iterated.
| Param | Type | Description |
|---|---|---|
| limit | integer | Maximum number of players to return. |
| season | string | IPL season year. |
| team_code | string | Filter by team short code (e.g. CSK, MI, RCB, GT, RR, SRH, DC, PBKS, KKR, LSG). Omit or pass empty string to return all teams. |
{
"type": "object",
"fields": {
"total": "integer",
"season": "string",
"players": "array of player batting stat objects"
},
"sample": {
"data": {
"total": 1,
"season": "2026",
"players": [
{
"runs": "776",
"fours": "63",
"sixes": "72",
"catches": "2",
"fifties": "5",
"innings": "16",
"matches": "16",
"not_outs": "0",
"centuries": "1",
"dot_balls": "108",
"player_id": "22203",
"stumpings": "0",
"team_code": "RR",
"team_name": "Rajasthan Royals",
"balls_faced": "327",
"nationality": "Indian",
"player_name": "Vaibhav Sooryavanshi",
"strike_rate": "237.30",
"highest_score": "103",
"batting_average": "48.50"
}
]
},
"status": "success"
}
}About the Iplt20 API
The Iplt20 API on Parse exposes 3 endpoints for the publicly available data on documents.iplt20.com. Calls return JSON over HTTPS and are billed per successful response.
Pin a release with the API-Snapshot-Version header so canonical updates don't silently change your contract.