Sofascore Scraper

ENDPOINTS
GET/matches/innings

Cricket Innings

Cricket innings scorecards: batting and bowling figures per innings.

QUERY PARAMS

Sofascore match id or any sofascore.com match URL (the #id: fragment is the id).

Examples:

  • ID: 14023961
  • URL: https://www.sofascore.com/football/match/…#id:14023961
{
  "match_id": 15168801,
  "innings": [
    {
      "number": 1,
      "batting_team": {
        "name": "Glamorgan",
        "slug": "glamorgan",
        "short_name": "GLA",
        "gender": "M",
        "sport": {
          "id": 62,
          "name": "Cricket",
          "slug": "cricket"
        },
        "followers_count": 411,
        "code": "GLA",
        "is_national": false,
        "type": 0,
        "id": 187827,
        "colors": {
          "primary": "#374df5",
          "secondary": "#374df5",
          "text": "#ffffff"
        }
      },
      "bowling_team": {
        "name": "Warwickshire",
        "slug": "warwickshire",
        "short_name": "WAS",
        "gender": "M",
        "sport": {
          "id": 62,
          "name": "Cricket",
          "slug": "cricket"
        },
        "followers_count": 596,
        "code": "WAR",
        "is_national": false,
        "type": 0,
        "id": 187820,
        "colors": {
          "primary": "#374df5",
          "secondary": "#374df5",
          "text": "#ffffff"
        }
      },
      "score": 43,
      "wickets": 5,
      "overs": 15.1,
      "extra": 4,
      "wide": 0,
      "no_ball": 2,
      "bye": 2,
      "leg_bye": 0,
      "penalty": 0,
      "id": 85248,
      "bowling_line": [
        {
          "player": {
            "id": 981896,
            "name": "Ethan Bamber",
            "short_name": "E Bamber",
            "slug": "ethan-bamber",
            "link": "https://www.sofascore.com/player/ethan-bamber/981896",
            "image_link": "https://img.sofascore.com/api/v1/player/981896/image",
            "position": "B",
            "gender": "M",
            "country": null,
            "followers_count": 2,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Right-arm medium fast"
            }
          },
          "player_name": "E Bamber",
          "over": 8,
          "maiden": 2,
          "run": 28,
          "wicket": 5,
          "wide": 0,
          "no_ball": 2
        },
        {
          "player": {
            "id": 786643,
            "name": "Chris Woakes",
            "short_name": "C Woakes",
            "slug": "chris-woakes",
            "link": "https://www.sofascore.com/player/chris-woakes/786643",
            "image_link": "https://img.sofascore.com/api/v1/player/786643/image",
            "position": "AR",
            "jersey_number": 19,
            "gender": "M",
            "country": null,
            "followers_count": 47,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Right-arm fast medium"
            }
          },
          "player_name": "C Woakes",
          "over": 6,
          "maiden": 2,
          "run": 13,
          "wicket": 0,
          "wide": 0,
          "no_ball": 0
        },
        {
          "player": {
            "id": 786917,
            "name": "Oliver Hannon-Dalby",
            "short_name": "O Hannon-Dalby",
            "slug": "oliver-hannon-dalby",
            "link": "https://www.sofascore.com/player/oliver-hannon-dalby/786917",
            "image_link": "https://img.sofascore.com/api/v1/player/786917/image",
            "position": "B",
            "gender": "M",
            "country": null,
            "followers_count": 1,
            "cricket_player_info": {
              "batting": "Left",
              "bowling": "Right-arm medium fast"
            }
          },
          "player_name": "O Hannon-Dalby",
          "over": 1.1,
          "maiden": 1,
          "run": 0,
          "wicket": 0,
          "wide": 0,
          "no_ball": 0
        }
      ],
      "batting_line": [
        {
          "player": {
            "id": 1215315,
            "name": "Asa Tribe",
            "short_name": "A Tribe",
            "slug": "asa-tribe",
            "link": "https://www.sofascore.com/player/asa-tribe/1215315",
            "image_link": "https://img.sofascore.com/api/v1/player/1215315/image",
            "position": "BM",
            "gender": "M",
            "country": null,
            "followers_count": 25,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Off break"
            }
          },
          "player_name": "A Tribe",
          "score": 9,
          "balls": 24,
          "s4": 1,
          "s6": 0,
          "fow_score": 32,
          "fow_over": 10.2,
          "wicket_bowler": {
            "name": "Ethan Bamber",
            "slug": "ethan-bamber",
            "short_name": "E Bamber",
            "position": "B",
            "followers_count": 2,
            "gender": "M",
            "id": 981896,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Right-arm medium fast"
            }
          },
          "wicket_bowler_name": "Ethan Bamber",
          "wicket_catch": {
            "name": "Kai Smith",
            "slug": "kai-smith",
            "short_name": "K Smith",
            "position": "WK",
            "followers_count": 10,
            "gender": "M",
            "id": 1015749,
            "cricket_player_info": {
              "batting": "Right"
            }
          },
          "wicket_catch_name": "Kai Smith",
          "wicket_type_id": 3,
          "wicket_type_name": "Caught"
        },
        {
          "player": {
            "id": 2265819,
            "name": "Jack Bell",
            "short_name": "J Bell",
            "slug": "jack-bell",
            "link": "https://www.sofascore.com/player/jack-bell/2265819",
            "image_link": "https://img.sofascore.com/api/v1/player/2265819/image",
            "position": "BM",
            "gender": "M",
            "country": null,
            "followers_count": 0,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Off break"
            }
          },
          "player_name": "J Bell",
          "score": 0,
          "balls": 3,
          "s4": 0,
          "s6": 0,
          "fow_score": 3,
          "fow_over": 0.4,
          "wicket_bowler": {
            "name": "Ethan Bamber",
            "slug": "ethan-bamber",
            "short_name": "E Bamber",
            "position": "B",
            "followers_count": 2,
            "gender": "M",
            "id": 981896,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Right-arm medium fast"
            }
          },
          "wicket_bowler_name": "Ethan Bamber",
          "wicket_type_id": 1,
          "wicket_type_name": "Bowled"
        },
        {
          "player": {
            "id": 886939,
            "name": "Kiran Carlson",
            "short_name": "K Carlson",
            "slug": "kiran-carlson",
            "link": "https://www.sofascore.com/player/kiran-carlson/886939",
            "image_link": "https://img.sofascore.com/api/v1/player/886939/image",
            "position": "AR",
            "gender": "M",
            "country": null,
            "followers_count": 5,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Off break"
            }
          },
          "player_name": "K Carlson",
          "score": 0,
          "balls": 6,
          "s4": 0,
          "s6": 0,
          "fow_score": 3,
          "fow_over": 2.4,
          "wicket_bowler": {
            "name": "Ethan Bamber",
            "slug": "ethan-bamber",
            "short_name": "E Bamber",
            "position": "B",
            "followers_count": 2,
            "gender": "M",
            "id": 981896,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Right-arm medium fast"
            }
          },
          "wicket_bowler_name": "Ethan Bamber",
          "wicket_type_id": 1,
          "wicket_type_name": "Bowled"
        },
        {
          "player": {
            "id": 1495423,
            "name": "Ben Kellaway",
            "short_name": "B Kellaway",
            "slug": "ben-kellaway",
            "link": "https://www.sofascore.com/player/ben-kellaway/1495423",
            "image_link": "https://img.sofascore.com/api/v1/player/1495423/image",
            "position": "AR",
            "jersey_number": 8,
            "gender": "M",
            "country": null,
            "followers_count": 10,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Off break"
            }
          },
          "player_name": "B Kellaway",
          "score": 3,
          "balls": 18,
          "s4": 0,
          "s6": 0,
          "fow_score": 9,
          "fow_over": 6.5,
          "wicket_bowler": {
            "name": "Ethan Bamber",
            "slug": "ethan-bamber",
            "short_name": "E Bamber",
            "position": "B",
            "followers_count": 2,
            "gender": "M",
            "id": 981896,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Right-arm medium fast"
            }
          },
          "wicket_bowler_name": "Ethan Bamber",
          "wicket_catch": {
            "name": "Vansh Jani",
            "slug": "vansh-jani",
            "short_name": "V Jani",
            "position": "AR",
            "followers_count": 2,
            "gender": "M",
            "id": 2204966,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Off break"
            }
          },
          "wicket_catch_name": "Vansh Jani",
          "wicket_type_id": 3,
          "wicket_type_name": "Caught"
        },
        {
          "player": {
            "id": 786690,
            "name": "Colin Ingram",
            "short_name": "C Ingram",
            "slug": "colin-ingram",
            "link": "https://www.sofascore.com/player/colin-ingram/786690",
            "image_link": "https://img.sofascore.com/api/v1/player/786690/image",
            "position": "BM",
            "gender": "M",
            "country": null,
            "followers_count": 9,
            "cricket_player_info": {
              "batting": "Left",
              "bowling": "Leg break"
            }
          },
          "player_name": "C Ingram",
          "score": 19,
          "balls": 19,
          "s4": 4,
          "s6": 0,
          "fow_score": 39,
          "fow_over": 12.5,
          "wicket_bowler": {
            "name": "Ethan Bamber",
            "slug": "ethan-bamber",
            "short_name": "E Bamber",
            "position": "B",
            "followers_count": 2,
            "gender": "M",
            "id": 981896,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Right-arm medium fast"
            }
          },
          "wicket_bowler_name": "Ethan Bamber",
          "wicket_type_id": 1,
          "wicket_type_name": "Bowled"
        },
        {
          "player": {
            "id": 786985,
            "name": "Chris Cooke",
            "short_name": "C Cooke",
            "slug": "chris-cooke",
            "link": "https://www.sofascore.com/player/chris-cooke/786985",
            "image_link": "https://img.sofascore.com/api/v1/player/786985/image",
            "position": "WK",
            "gender": "M",
            "country": null,
            "followers_count": 2,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Right-arm Slow"
            }
          },
          "player_name": "C Cooke",
          "score": 4,
          "balls": 15,
          "s4": 0,
          "s6": 0,
          "wicket_type_id": 10,
          "wicket_type_name": "Batting"
        },
        {
          "player": {
            "id": 786575,
            "name": "Timm van der Gugten",
            "short_name": "van der Gugten",
            "slug": "timm-van-der-gugten",
            "link": "https://www.sofascore.com/player/timm-van-der-gugten/786575",
            "image_link": "https://img.sofascore.com/api/v1/player/786575/image",
            "position": "B",
            "gender": "M",
            "country": null,
            "followers_count": 9,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Right-arm fast medium"
            }
          },
          "player_name": "van der Gugten",
          "score": 4,
          "balls": 7,
          "s4": 1,
          "s6": 0,
          "wicket_type_id": 10,
          "wicket_type_name": "Batting"
        },
        {
          "player": {
            "id": 798542,
            "name": "Mason Crane",
            "short_name": "M Crane",
            "slug": "mason-crane",
            "link": "https://www.sofascore.com/player/mason-crane/798542",
            "image_link": "https://img.sofascore.com/api/v1/player/798542/image",
            "position": "B",
            "jersey_number": 5,
            "gender": "M",
            "country": null,
            "followers_count": 3,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Leg break googly"
            }
          },
          "player_name": "M Crane",
          "score": 0,
          "balls": 0,
          "s4": 0,
          "s6": 0,
          "wicket_type_id": 9,
          "wicket_type_name": "Did not bat"
        },
        {
          "player": {
            "id": 936976,
            "name": "Sean Dickson",
            "short_name": "S Dickson",
            "slug": "sean-dickson",
            "link": "https://www.sofascore.com/player/sean-dickson/936976",
            "image_link": "https://img.sofascore.com/api/v1/player/936976/image",
            "position": "BM",
            "jersey_number": 58,
            "gender": "M",
            "country": null,
            "followers_count": 9,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Right-arm medium"
            }
          },
          "player_name": "S Dickson",
          "score": 0,
          "balls": 0,
          "s4": 0,
          "s6": 0,
          "wicket_type_id": 9,
          "wicket_type_name": "Did not bat"
        },
        {
          "player": {
            "id": 831328,
            "name": "Mir Hamza",
            "short_name": "M Hamza",
            "slug": "mir-hamza",
            "link": "https://www.sofascore.com/player/mir-hamza/831328",
            "image_link": "https://img.sofascore.com/api/v1/player/831328/image",
            "position": "B",
            "gender": "M",
            "country": null,
            "followers_count": 37,
            "cricket_player_info": {
              "batting": "Left",
              "bowling": "Left-arm medium"
            }
          },
          "player_name": "M Hamza",
          "score": 0,
          "balls": 0,
          "s4": 0,
          "s6": 0,
          "wicket_type_id": 9,
          "wicket_type_name": "Did not bat"
        },
        {
          "player": {
            "id": 1113616,
            "name": "Jamie McIlroy",
            "short_name": "J McIlroy",
            "slug": "jamie-mcilroy",
            "link": "https://www.sofascore.com/player/jamie-mcilroy/1113616",
            "image_link": "https://img.sofascore.com/api/v1/player/1113616/image",
            "position": "B",
            "gender": "M",
            "country": null,
            "followers_count": 1,
            "cricket_player_info": {
              "batting": "Right",
              "bowling": "Left-arm fast medium"
            }
          },
          "player_name": "J McIlroy",
          "score": 0,
          "balls": 0,
          "s4": 0,
          "s6": 0,
          "wicket_type_id": 9,
          "wicket_type_name": "Did not bat"
        }
      ],
      "partnerships": []
    }
  ]
}