---
title: "Get an event"
method: GET
path: "/v2/odds/events/{id}"
tags: ["API-Version-2.0"]
---

# Get an event

`GET /v2/odds/events/{id}`

Shows all available main markets by default

## Path parameters

- `id` integer, required

## Query parameters

- `markets` string[]

## Response `200`

EventResponse

- EventResponse — EventResponse presents an Event with markets and submarkets
  - `away` TeamIdentifier — TeamIdentifier identifies a team competitor for a given event
    - `abbreviation` string — abbreviation for this team's name
    - `key` string — slug for this Identifier
    - `name` string — name of this Identifier
    - `nationality` string — team country code
  - `competition` CompetitionWithCategory — CompetitionWithCategory is used for the /sports/events/{id} endpoint to link events with competitions
    - `category` Identifier — Identifier represents a name-key tuple which together identify a given entity such as a sport
      - `key` string — slug for this Identifier
      - `name` string — name of this Identifier
    - `key` string — slug for this Competition. Composed of <sport-key>-<category-key>-<competition-key> as shown in the example value.
    - `name` string — name of this Competition
  - `cutoffTime` string — event cutoff time in string format "2006-01-02T15:04:05Z07:00" (RFC3339)
  - `endTime` string — the time when the event ends in string format "2006-01-02T15:04:05Z07:00" (RFC3339), optional.
  - `gradingDuration` integer — estimated grading duration in minutes between event finish time and bet complete time (not available for outrights) for example, value `30` means most of the bets will be graded after 30 minutes
  - `home` TeamIdentifier — TeamIdentifier identifies a team competitor for a given event
    - `abbreviation` string — abbreviation for this team's name
    - `key` string — slug for this Identifier
    - `name` string — name of this Identifier
    - `nationality` string — team country code
  - `id` integer — unique ID for this Event
  - `key` string — slug for this Event
  - `markets` object — mapping between market key and all associated markets for this Event
  - `metadata` EventMetadata — Event metadata contains additional event info
    - `opinion` OutcomeProbability[] — (deprecated, use opinions instead) opinion is an answer to the question "How do players bet on Cloudbet v/s the currently offered odds?"
      - `marketKey` string — market key used to build opinion
      - `outcome` string — outcome
      - `params` string — market parameters used to build opinion, such as handicap, period etc.
      - `probability` number, float — probability
    - `opinions` object — opinions represent the betting patterns of players on different outcomes of different markets
  - `name` string — name of this Event
  - `resultedTime` string — resulted time available after end of event in string format "2006-01-02T15:04:05Z07:00" (RFC3339)
  - `sequence` integer — sequential update number for this Event
  - `settlement` object — reserved field for possible future use, empty currently The map key will be the score types, such as period=default
  - `sport` Identifier — Identifier represents a name-key tuple which together identify a given entity such as a sport
    - `key` string — slug for this Identifier
    - `name` string — name of this Identifier
  - `status` 'PRE_TRADING' | 'TRADING' | 'TRADING_LIVE' | 'RESULTED' | 'INTERRUPTED' | 'AWAITING_RESULTS' | 'POST_TRADING' | 'CANCELLED' — EventStatus presents the current status for a given Event
  - `type` integer — EventType presents the type of an event which affects the markets format

## Other responses

- `400` — Error
- `401` — Error
- `404` — Error
- `500` — Error

---

[API](https://skmtc.net/cloudbet/apis/cloudbet-feed-api.md) · [All operations](https://skmtc.net/cloudbet/apis/cloudbet-feed-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudbet/cloudbet-feed-api/versions/304403f067b1/schema)
