SofaScore

SofaScore event votes

Returns a match's community vote tallies: the match result vote (match_result with home, away, total and draw, where draw is absent for two-way sports such as basketball and tennis), both teams to score, which team scores first and who should have won (when SofaScore has opened that vote). A block that holds no votes is omitted. Returns 404 when SofaScore has no votes for the match.

get/sofascore/event-votes

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/sofascore/event-votes
  • 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": {
    "both_teams_to_score": {
      "no": 4381,
      "yes": 5882
    },
    "event_id": 16363867,
    "first_to_score": {
      "away": 457,
      "home": 8908,
      "no_goal": 159
    },
    "match_result": {
      "away": 2503,
      "draw": 3713,
      "home": 52785,
      "total": 59001
    }
  },
  "msg": "OK"
}

Changes

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