SofaScore

SofaScore referee card statistics

Returns a referee's record per competition: matches officiated, yellow cards, red cards, yellow-red cards and penalties awarded. The per-competition appearances add up to the career matches in sofascore-referee. An empty competitions list is valid for a referee with no recorded competitions.

get/sofascore/referee-statistics

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/referee-statistics
  • Auth: API key in header x-api-key

Query parameters

idstring required

Numeric SofaScore referee id

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "competitions": [
      {
        "appearances": 27,
        "competition": {
          "category": "England",
          "gender": "M",
          "id": 17,
          "name": "Premier League",
          "slug": "premier-league",
          "sport": "football"
        },
        "penalties": 11,
        "red_cards": 4,
        "yellow_cards": 86,
        "yellow_red_cards": 1
      }
    ],
    "referee_id": 74264
  },
  "msg": "OK"
}

Changes

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