---
title: "Get tournaments"
method: GET
path: "/affiliate/get_tournaments"
tags: ["tournaments"]
---

# Get tournaments

`GET /affiliate/get_tournaments`

## Request

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

get all available tournaments

## Query parameters

- `has_active_events` boolean

## Response `200`

OK

- TournamentListResponse
  - `tournaments` ContractTournament[]
    - `banner` string
    - `category` ContractCategory
      - `countryCode` string
      - `id` integer
      - `name` string
    - `id` integer
    - `image` string
    - `name` string
    - `sport` ContractSport
      - `id` integer
      - `name` 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)
