---
title: "SofaScore event votes"
method: GET
path: "/sofascore/event-votes"
tags: ["SofaScore"]
---

# SofaScore event votes

`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`

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.

## Query parameters

- `id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreEventVotesResponseDoc
  - `code` integer
  - `data` SofascoreEventVotesResponse
    - `both_teams_to_score` SofascoreVoteBothTeamsToScore
      - `no` integer
      - `yes` integer
    - `event_id` integer
    - `fetched_at` string
    - `first_to_score` SofascoreVoteFirstToScore
      - `away` integer
      - `home` integer
      - `no_goal` integer
    - `match_result` SofascoreVoteMatchResult
      - `away` integer
      - `draw` integer
      - `home` integer
      - `total` integer
    - `source_url` string
    - `who_should_have_won` SofascoreVoteWhoShouldHaveWon
      - `away` integer
      - `home` integer
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
