SofaScore

SofaScore event baseball top performers

Returns a baseball match's top performers from SofaScore: each pitcher or batter (role) with a rating, their team and a snake_case map of the statistics that earned the mention (for example pitching strike outs, batting home runs and runs batted in). Returns 404 when SofaScore has no top performers for the match, which includes matches that have not started and sports other than baseball.

get/sofascore/event-baseball-top-performers

Request

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

Query parameters

idstring required

Numeric SofaScore baseball event (match) id

Headers

x-api-keystring required

API key required

Response

OK

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "event_id": 17199139,
    "performers": [
      {
        "player": {
          "id": 839956,
          "jersey_number": "9",
          "name": "Erling Haaland",
          "position": "F",
          "short_name": "E. Haaland",
          "slug": "erling-haaland"
        },
        "rating": 0.503,
        "role": "pitcher",
        "team": {
          "country": "Spain",
          "id": 2817,
          "name": "FC Barcelona",
          "short_name": "Barcelona",
          "slug": "barcelona"
        }
      }
    ]
  },
  "msg": "OK"
}

Changes

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