---
title: "Get sport events"
method: GET
path: "/affiliate/get_sport_events"
tags: ["sport_event"]
---

# Get sport events

`GET /affiliate/get_sport_events`

## Request

- Base URL: `https://cash.api.prophetx.co/partner`
- URL: `https://cash.api.prophetx.co/partner/affiliate/get_sport_events`
- Auth: API key in header `Authorization`

get the list of all available sport events
#### The list of tournaments

| Tournament ID   | Name                  |
|----------       |-------------          |
| 109             | MLB                   |
| 2541            | KBO League            |
| 1036            | Professional Baseball |
| 233             | NFL Preseason         |
| 31              | NFL                   |
| 234             | NHL                   |
| 132             | NBA                   |

## Query parameters

- `event_ids` integer[]
- `tournament_id` integer

## Response `200`

OK

- SportEventListResponse
  - `sport_events` ContractSportEvent[]
    - `competitors` ContractCompetitor[]
      - `abbreviation` string
      - `country` string
      - `display_name` string
      - `id` integer
      - `name` string
      - `side` string
    - `display_name` string
    - `event_id` integer
    - `live_disabled` boolean
    - `name` string
    - `scheduled` string
    - `sport_name` string
    - `status` string
    - `sub_type` string
    - `tournament_id` integer
    - `tournament_name` string
    - `type` string
    - `updated_at` integer

## Other responses

- `400`: Bad request
- `500`: Internal server error

---

[API](https://skmtc.dev/prophetx/apis/external-affiliate-api.md) - [All operations](https://skmtc.dev/prophetx/apis/external-affiliate-api/llms.txt) - [OpenAPI document](https://skmtc.dev/prophetx/apis/external-affiliate-api/revisions/d93f12f53af0?raw)
