Cricket scores by innings. The /scores endpoint returns:
{
"homeScore": {
"innings": {
"inning1": { "score": 287, "wickets": 6, "overs": 42.3 },
"inning2": { "score": 198, "wickets": 10, "overs": 48.1 }
},
"current": 485
}
}
- Each innings has
score (runs), wickets (0–10), and overs (e.g., 42.3 = 42 overs, 3 balls)
- T20: max 2 innings (1 per side), ODI: max 2 innings, Test: max 4 innings
current = total runs across all innings
Match Endpoints (24)
All endpoints use base URL https://v2.cricket.sportsapipro.com.
Match Details
GET /api/match/:matchId # Full match details
GET /api/match/:matchId/scores # Innings-by-innings scores
GET /api/match/:matchId/innings # Full scorecard (batting/bowling) — same payload as /scores
GET /api/match/:matchId/lineups # Playing XI for both teams
GET /api/match/:matchId/statistics # Match stats (batting/bowling)
GET /api/match/:matchId/incidents # Wickets, boundaries, milestones
/scores and /innings return the same payload — full innings data with per-batter and per-bowler lines. Cricket has no separate compact “scores” object upstream; both paths exist for naming flexibility.
Player Statistics
GET /api/match/:matchId/player-statistics # All player stats in match
GET /api/match/:matchId/player/:pid/statistics # Individual player stats
GET /api/match/:matchId/best-players # Top performers
GET /api/match/:matchId/award # Man of the Match
Analysis
GET /api/match/:matchId/h2h # Head-to-head history
GET /api/match/:matchId/graph # Scoring progression (run rate)
GET /api/match/:matchId/pregame-form # Recent form (W/L streak)
GET /api/match/:matchId/streaks # Team streaks
GET /api/match/:matchId/highlights # Video highlights
GET /api/match/:matchId/media # Match media
GET /api/match/:matchId/votes # Fan predictions
GET /api/match/:matchId/venue # Ground details
GET /api/match/:matchId/missing-players # Unavailable/injured players
GET /api/match/:matchId/channels # TV broadcast info
Odds
GET /api/match/:matchId/odds # Featured odds
GET /api/match/:matchId/odds/all # All odds providers
GET /api/match/:matchId/odds/pre-match # Pre-match odds
GET /api/match/:matchId/odds/live # Live odds
GET /api/match/:matchId/winning-odds # Win probability