---
title: "Get competitions of a sport."
method: GET
path: "/v2/odds/sports/{key}"
tags: ["API-Version-2.0"]
---

# Get competitions of a sport.

`GET /v2/odds/sports/{key}`

Competitions are grouped by categories.

## Path parameters

- `key` string, required

## Response `200`

SportWithCategoryResponse

- SportWithCategoryResponse — SportWithCategoryResponse presents all competitions grouped by categories
  - `categories` Category[] — list of all categories associated with this Sport
    - `competitions` CompetitionForSport[] — list of all competitions associated with this Category
      - `eventCount` integer — number of events associated with this Competition, 0 events indicates inactive Competition
      - `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
    - `key` string — slug for this Category
    - `name` string — name of this Category
  - `competitionCount` integer — number of competitions associated with this Sport, 0 indicates inactive Sport
  - `eventCount` integer — number of events associated with this Sport, 0 indicates inactive Sport
  - `key` string — slug for this Sport
  - `name` string — name of this Sport

## 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/revisions/304403f067b1/schema)
