Discover/Iplt20 API
live

Iplt20 APIdocuments.iplt20.com

Access IPL player batting and bowling stats by season, Orange/Purple Cap standings, and all-time career records via 3 structured endpoints.

Endpoint health
verified 7d ago
get_batting_stats
get_bowling_stats
get_player_career_stats
3/3 passing latest checkself-healing
Endpoints
3
Updated
7d ago

What is the Iplt20 API?

The IPL Cricket Stats API provides 3 endpoints covering Indian Premier League player performance data: season batting leaderboards, season bowling leaderboards, and all-time career aggregates per player. get_batting_stats returns Orange Cap standings filtered by season or team, while get_player_career_stats returns both batting and bowling career totals for any player by partial name match.

Try it
Maximum number of players to return.
IPL season year.
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.
api.parse.bot/scraper/ac69bc48-6a1e-44da-8cd9-fce060986547/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
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'
Python SDK · recommended

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")
All endpoints · 3 totalmissing one? ·

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.

Input
ParamTypeDescription
limitintegerMaximum number of players to return.
seasonstringIPL season year.
team_codestringFilter 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.
Response
{
  "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

Season Batting and Bowling Leaderboards

get_batting_stats returns per-player batting figures for a given IPL season, ordered by total runs (matching the Orange Cap standings). Each player object includes runs, batting average, strike rate, and boundary counts. get_bowling_stats mirrors this for bowlers, returning wickets, bowling average, economy rate, and bowling strike rate in Purple Cap order. Both endpoints accept a season string (e.g. "2024"), an optional team_code from the supported shortcodes (CSK, MI, RCB, GT, RR, SRH, DC, PBKS, KKR, LSG), and a limit integer to cap results. The response includes a total count, the season string, and a players array.

Career Statistics

get_player_career_stats aggregates all-time IPL figures for a player. The player_name input supports partial, case-insensitive matching — searching "Kohli" will match "Virat Kohli". The response returns a total count and a players array where each object contains nested batting and bowling sub-objects covering career aggregates across all seasons. Players who have only batted or only bowled will have data in the relevant sub-object only.

Filtering and Pagination

Both season endpoints support team-level filtering via team_code. Omitting this parameter or passing an empty string returns all teams. Results across both leaderboard endpoints are auto-iterated, so pagination is handled internally. The limit parameter controls the maximum number of player records returned in a single response.

Reliability & maintenanceVerified

The Iplt20 API is a managed, monitored endpoint for documents.iplt20.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when documents.iplt20.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official documents.iplt20.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
7d ago
Latest check
3/3 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build an Orange Cap tracker showing the top run-scorers for the current IPL season by runs and strike rate.
  • Compare bowling economy rates across all Purple Cap contenders for a specific season.
  • Filter batting stats by team code (e.g. MI) to analyze a franchise's in-season performance.
  • Pull all-time career batting and bowling aggregates for a player to display on a fantasy cricket platform.
  • Generate season-over-season trend charts for a player's batting average using repeated get_batting_stats calls.
  • Build a team roster performance summary by combining batting and bowling stats filtered to the same team code.
  • Identify players with high career wicket counts by querying get_player_career_stats and sorting on the bowling sub-object.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does the IPL or BCCI have an official developer API for player stats?+
There is no publicly documented official developer API from the BCCI or the IPL for accessing player statistics programmatically.
What does `get_bowling_stats` return, and how do I filter by team?+
get_bowling_stats returns a ranked list of bowlers for a given season with fields including wickets, bowling average, economy rate, and bowling strike rate. Pass a team_code value such as SRH or RCB to restrict results to one franchise. Omit team_code or pass an empty string to retrieve all teams in that season.
Does `get_player_career_stats` cover IPL match-by-match or innings-level data?+
No — get_player_career_stats returns career aggregate totals only, exposed as batting and bowling sub-objects within each player record. Individual match or innings breakdowns are not part of this endpoint. You can fork the API on Parse and revise it to add a match-level stats endpoint if that granularity is needed.
Does the API cover IPL seasons before the current one, or only the latest season?+
Both get_batting_stats and get_bowling_stats accept a season string parameter, so you can query historical seasons. Coverage depends on what the source publishes; very early IPL seasons (pre-2010) may have limited data availability.
Are fielding statistics like catches or run-outs available?+
Fielding stats are not currently exposed. The API covers batting metrics (runs, average, strike rate, boundaries) and bowling metrics (wickets, average, economy, strike rate). You can fork this API on Parse and revise it to add fielding data if the source publishes those fields.
Page content last updated . Spec covers 3 endpoints from documents.iplt20.com.
Related APIs in SportsSee all →
transfermarkt.com API
Search Transfermarkt for football players and retrieve detailed player profiles, transfer histories, market value timelines, performance stats, and club squad/club information.
opendota.com API
Access detailed Dota 2 match statistics, player performance metrics, hero win rates, and professional tournament data to analyze gameplay trends and competitive performance. Search for specific players, explore custom data queries through SQL, and retrieve comprehensive match histories to improve your understanding of the game.
nhl.com API
Access data from nhl.com.
pro-football-reference.com API
Access comprehensive NFL data including season schedules, team standings, player statistics, game boxscores, play-by-play details, and player profiles to research teams, players, and game information. Search for specific players and dive into detailed game analysis with boxscore information and minute-by-minute play data.
fantasypros.com API
Access expert consensus rankings, player projections, average draft position data, injury reports, and the latest player news from FantasyPros. Search by player name or position to retrieve detailed stats, rankings, and expert analysis across all major scoring formats.
pinnacle.com API
Access real-time and pre-event sports betting odds, matchups, and markets from Pinnacle. Retrieve data across all available sports and leagues, monitor live events with scores and live odds, and explore political and entertainment betting markets. Covers full market depth including spreads, totals, moneylines, props, and alternate lines.
fifa.com API
Track FIFA world rankings for men's and women's teams, browse tournament schedules and standings, access detailed match information with live timelines, and explore comprehensive player statistics and profiles. Stay updated with the latest football news and easily search across teams, players, and matches all in one place.
livescore.com API
Track live scores and detailed statistics across football, hockey, basketball, tennis, and cricket with the ability to filter by date, sport, and league. Access match summaries, team overviews, standings, fixtures, and results to stay updated on your favorite competitions and teams.