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

# SofaScore event odds

`GET /sofascore/event-odds`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/sofascore/event-odds`
- Auth: API key in header `x-api-key`

Returns one match's betting markets and choices. Returns 404 when SofaScore has no odds for the match.

## Query parameters

- `id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

OK

- SofascoreEventOddsResponseDoc
  - `code` integer
  - `data` SofascoreEventOddsResponse
    - `count` integer: Number of markets returned.
    - `event_id` integer: SofaScore event id the odds belong to.
    - `fetched_at` string: Time the data was fetched, in UTC (RFC 3339).
    - `markets` SofascoreOddsMarket[]: Betting markets for the match.
      - `choices` SofascoreOddsChoice[]: Outcomes that can be selected in this market.
        - `name` string: Outcome label, for example 1, X or 2.
        - `value` string: Fractional odds, for example 29/100.
        - `winning` boolean: True when this outcome won.
      - `group` string: Market group, for example 1X2.
      - `name` string: Market name, for example "Full time".
      - `period` string: Part of the match the market covers, for example "Full-time".
      - `suspended` boolean: True while the market is suspended.
    - `source_url` string: SofaScore URL the data was read from.
  - `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)
