SofaScore

SofaScore referee profile

Returns a referee's profile: name, country, sport, career matches officiated and career yellow, red and yellow-red card totals, plus date of birth and first league debut when SofaScore records them. Get the referee id from the referee.id of the sofascore-event endpoint or from a sofascore-search result of type referee. Returns 404 for an unknown id.

get/sofascore/referee

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/referee
  • 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": {
    "referee": {
      "country": "England",
      "date_of_birth": "1979-06-20",
      "first_league_debut": "2010-02-03",
      "games": 321,
      "id": 74264,
      "name": "Robert Jones",
      "red_cards": 20,
      "slug": "robert-jones",
      "sport": "football",
      "yellow_cards": 1156,
      "yellow_red_cards": 13
    }
  },
  "msg": "OK"
}

Changes

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