SofaScore

SofaScore event statistics

Returns one match's statistics (possession, shots, passes, and more, grouped and split by period). Returns 404 when SofaScore has no tracked statistics for the match.

get/sofascore/event-statistics

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/event-statistics
  • 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": {
    "periods": [
      {
        "groups": [
          {
            "items": [
              {
                "away": "39%",
                "home": "61%",
                "key": "ballPossession",
                "name": "Ball possession"
              }
            ]
          }
        ],
        "period": "ALL"
      }
    ]
  },
  "msg": "OK"
}

Changes

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