SofaScore

SofaScore event team streaks

Returns a match's team streaks and trends: general statements about each side's recent matches (for example Wins 6 or No goals conceded 4) and head2head statements about their meetings. Each item names the streak, a value that is either a run length (6) or a ratio (5/5), the team it refers to (home, away or both) and, where SofaScore reports it, whether the streak continued into this match. Returns 404 when SofaScore lists no streaks for the match, which includes tennis matches.

get/sofascore/event-team-streaks

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/event-team-streaks
  • Auth: API key in header x-api-key

Query parameters

idstring required

Numeric SofaScore event (match) id

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "event_id": 16363867,
    "general": [
      {
        "name": "No goals conceded",
        "team": "home",
        "value": "4"
      }
    ],
    "head2head": [
      {
        "name": "No goals conceded",
        "team": "home",
        "value": "4"
      }
    ]
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 3 revisions of this API.