Sofascore Scraper

ENDPOINTS
GET/matches/streaks

Match Streaks

Team streaks going into the match, general and head-to-head: no losses, both scoring, clean sheets and more.

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": 14023961,
  "general": [
    {
      "name": "No losses",
      "value": "11",
      "team": "home",
      "continued": false
    },
    {
      "name": "No losses",
      "value": "4",
      "team": "away",
      "continued": true
    },
    {
      "name": "More than 2.5 goals",
      "value": "5/5",
      "team": "away",
      "continued": true
    },
    {
      "name": "First to score",
      "value": "8/10",
      "team": "home",
      "continued": true
    },
    {
      "name": "Less than 4.5 cards",
      "value": "9/10",
      "team": "away",
      "continued": true
    },
    {
      "name": "More than 10.5 corners",
      "value": "8/9",
      "team": "home",
      "continued": true
    },
    {
      "name": "Less than 10.5 corners",
      "value": "8/10",
      "team": "away",
      "continued": false
    }
  ],
  "head2head": [
    {
      "name": "Without clean sheet",
      "value": "10",
      "team": "home",
      "continued": true
    },
    {
      "name": "Both teams scoring",
      "value": "8/10",
      "team": "both",
      "continued": true
    }
  ]
}