Skip to main content

Base URL

https://v2.cricket.sportsapipro.com

Authentication

All requests require an x-api-key header:
curl -H "x-api-key: YOUR_API_KEY" \
  https://v2.cricket.sportsapipro.com/api/live

Cricket-Specific Notes

  • Multiple formats — Test (5 days, up to 4 innings), ODI (50 overs/side), T20 (20 overs/side)
  • Score format185/6 (20) = 185 runs for 6 wickets in 20 overs
  • Innings scoringperiod1 through period4 (Tests use up to 4, limited-overs use 2)
  • Playing XI — 11 players per side, lineups available via match endpoint
  • Categories — Cricket-playing nations (Pakistan=1352, New Zealand=1354, Sri Lanka=1356, etc.)
  • All out — 10 wickets = innings ends (11 players, 1 stays not out)
  • Target — Second team needs first team’s score + 1 to win
  • DLS method — Adjusted target in rain-affected matches
  • Run rate — Runs scored per over (e.g., 9.25 r/o in T20)

Key Cricket Statistics

StatDescriptionContext
RunsTotal runs scored by batsman50+ (half-century), 100+ (century)
WicketsBatsmen dismissed by bowler5-wicket haul is elite
Batting AverageRuns per dismissal40+ is excellent
Strike RateRuns per 100 balls facedT20: 130+, ODI: 85+
Economy RateRuns conceded per over bowledT20: below 8, ODI: below 5
Boundaries4s (boundary) and 6s (over boundary)Key scoring events

Cricket Formats

FormatOvers/SideDurationTypical ScoreKey Tournaments
T20203-4 hours150-200IPL, BBL, PSL, T20 World Cup
ODI50~8 hours250-350ICC World Cup, bilateral series
TestUnlimitedUp to 5 days200-600/inningsThe Ashes, WTC

Endpoint Categories

CategoryCountDescription
Live & Schedule7Live scores, schedules
Search & Discovery7Search, categories, news
Tournament22Tournament data, seasons, standings
Match24Match details, stats, odds
Team12Team profiles, squads, form
Player17Player stats, career data
Manager / Umpire / Venue13Coaches, umpires, grounds
Total102

Example Requests

curl -H "x-api-key: YOUR_API_KEY" \
  https://v2.cricket.sportsapipro.com/api/live

UI Design Ideas

  • Scorecard display: Show runs/wickets format: “India 185/6 (20 ov)” — not just a number
  • Innings tabs: For Tests, show tabs for each innings (1st Innings, 2nd Innings per team)
  • Run rate graph: Use /match/{id}/graph — show required rate vs actual rate for chases
  • Playing XI: Use /match/{id}/lineups — show batting order, bowlers, keeper, captain
  • Batting & bowling cards: Individual batting (runs, balls, 4s, 6s, SR) and bowling (overs, maidens, runs, wickets, economy)
  • Man of the Match: Use /match/{id}/award — always awarded in cricket
  • Format indicator: Always show T20/ODI/Test prominently — changes how to interpret scores
  • H2H records: Important in rivalries (India vs Pakistan, Ashes) — use /match/{id}/h2h

Sport Comparison — Cricket vs Football vs Basketball

FeatureCricketFootballBasketball
Match formatT20 (20 overs), ODI (50 overs), Test (5 days)2 × 45 min4 × 12 min
ScoreRuns/Wickets (e.g., 185/6 in 20 overs)Goals (0-5)Points (80-120)
DurationT20: 3-4 hrs, ODI: 8 hrs, Test: up to 5 days~90 min~2.5 hours
Key statsRuns, wickets, avg, strike rate, economyGoals, assistsPoints, rebounds
Players per side11 (Playing XI)115
ResultsWin/Loss/Draw/Tie/No ResultWin/Draw/LossWin/Loss