SofaScore event innings
Returns a cricket match's innings scorecards from SofaScore. Each innings has the batting and bowling teams, runs, wickets, overs in cricket notation (18.4 is 18 overs and 4 balls), extras (wides, no balls, byes, leg byes, penalty), every batter's line (runs, balls, fours, sixes, dismissal with the bowler and fielder, fall-of-wicket score and over), every bowler's figures (overs, maidens, runs, wickets, wides, no balls), the partnerships and a derived fall-of-wickets list. Works for T20, one-day and Test matches (a Test lists up to four innings). Returns 404 when SofaScore has no innings data for the match, which includes matches that have not started and sports other than cricket.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/sofascore/event-innings
- Auth: API key in header x-api-key
Query parameters
Numeric SofaScore cricket event (match) id
Headers
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"event_id": 16253632,
"innings": [
{
"batting": [
{
"balls": 12,
"bowler": {
"id": 839956,
"jersey_number": "9",
"name": "Erling Haaland",
"position": "F",
"short_name": "E. Haaland",
"slug": "erling-haaland"
},
"dismissal": "Caught",
"dismissal_code": 3,
"fall_of_wicket_over": 3.4,
"fall_of_wicket_score": 26,
"fielder": {
"id": 839956,
"jersey_number": "9",
"name": "Erling Haaland",
"position": "F",
"short_name": "E. Haaland",
"slug": "erling-haaland"
},
"fours": 2,
"player": {
"id": 839956,
"jersey_number": "9",
"name": "Erling Haaland",
"position": "F",
"short_name": "E. Haaland",
"slug": "erling-haaland"
},
"runs": 12,
"scorecard_name": "S Sudharsan"
}
],
"batting_team": {
"country": "Spain",
"id": 2817,
"name": "FC Barcelona",
"short_name": "Barcelona",
"slug": "barcelona"
},
"bowling": [
{
"overs": 4,
"player": {
"id": 839956,
"jersey_number": "9",
"name": "Erling Haaland",
"position": "F",
"short_name": "E. Haaland",
"slug": "erling-haaland"
},
"runs": 38,
"scorecard_name": "J Duffy",
"wides": 3
}
],
"bowling_team": {
"country": "Spain",
"id": 2817,
"name": "FC Barcelona",
"short_name": "Barcelona",
"slug": "barcelona"
},
"extras": {
"leg_byes": 1,
"total": 5,
"wides": 4
},
"fall_of_wickets": [
{
"over": 2.2,
"player": {
"id": 839956,
"jersey_number": "9",
"name": "Erling Haaland",
"position": "F",
"short_name": "E. Haaland",
"slug": "erling-haaland"
},
"score": 22,
"wicket": 1
}
],
"id": 82607,
"number": 1,
"overs": 20,
"partnerships": [
{
"balls": 14,
"number": 1,
"player1": {
"id": 839956,
"jersey_number": "9",
"name": "Erling Haaland",
"position": "F",
"short_name": "E. Haaland",
"slug": "erling-haaland"
},
"player2": {
"id": 839956,
"jersey_number": "9",
"name": "Erling Haaland",
"position": "F",
"short_name": "E. Haaland",
"slug": "erling-haaland"
},
"runs": 22
}
],
"runs": 155,
"wickets": 8
}
]
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.