SofaScore

SofaScore event best players

Returns a match's best-rated players per side, the overall top-rated list, and the player of the match (each with team and value) from SofaScore. Covers football (value is the match rating, label rating) and ice hockey (label pts, value the points scored; a goalkeeper with no points has no numeric value and carries SofaScore's dash in value_text). The basketball, baseball and tennis matches checked returned no summary. Returns 404 when SofaScore has no best-players summary for the match, which includes matches that have not started, sports without one and fixtures without rated players.

get/sofascore/event-best-players

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/event-best-players
  • 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": {
    "away_players": [
      {
        "label": "rating",
        "player": {
          "id": 839956,
          "jersey_number": "9",
          "name": "Erling Haaland",
          "position": "F",
          "short_name": "E. Haaland",
          "slug": "erling-haaland"
        },
        "team": {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        },
        "value": 9.8,
        "value_text": "-"
      }
    ],
    "event_id": 16363867,
    "home_players": [
      {
        "label": "rating",
        "player": {
          "id": 839956,
          "jersey_number": "9",
          "name": "Erling Haaland",
          "position": "F",
          "short_name": "E. Haaland",
          "slug": "erling-haaland"
        },
        "team": {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        },
        "value": 9.8,
        "value_text": "-"
      }
    ],
    "player_of_the_match": {
      "label": "rating",
      "player": {
        "id": 839956,
        "jersey_number": "9",
        "name": "Erling Haaland",
        "position": "F",
        "short_name": "E. Haaland",
        "slug": "erling-haaland"
      },
      "team": {
        "country": "Spain",
        "id": 2817,
        "name": "FC Barcelona",
        "short_name": "Barcelona",
        "slug": "barcelona"
      },
      "value": 9.8,
      "value_text": "-"
    },
    "top_players": [
      {
        "label": "rating",
        "player": {
          "id": 839956,
          "jersey_number": "9",
          "name": "Erling Haaland",
          "position": "F",
          "short_name": "E. Haaland",
          "slug": "erling-haaland"
        },
        "team": {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        },
        "value": 9.8,
        "value_text": "-"
      }
    ]
  },
  "msg": "OK"
}

Changes

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