> For the complete documentation index, see [llms.txt](https://docs.cmswager.com/cmswager-integration-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cmswager.com/cmswager-integration-document/frontend-api-optional/api-reference/components/prematch-active-sports.md).

# Prematch Active Sports

<mark style="color:green;">`GET`</mark> <https://testodds.cmswager.com>/SportApi/GetSportMenu/{clientKey}/{language}

The response to the `GET` request at the provided endpoint returns a JSON object containing a list of active sports. Each sport in the list includes a unique `sportId`, the `sportName`, and the `sportType`. This data can be used to display available sports to users in a multilingual sports application, as indicated by `{language}` placeholders in the URL, which likely allows customization based on client-specific and language-specific parameters. This structure is beneficial for organizing sports by ID and name, facilitating a streamlined user experience in selecting sports of interest.

#### Example Success Response

```json
{
    "sports": [
        {
            "sportId": 1,
            "sportName": "Soccer",
            "sportType": 1
        },
        {
            "sportId": 2,
            "sportName": "Basketball",
            "sportType": 1
        },
        {
            "sportId": 5,
            "sportName": "Tennis",
            "sportType": 1
        },
        {
            "sportId": 23,
            "sportName": "Volleyball",
            "sportType": 1
        },
        {
            "sportId": 3,
            "sportName": "Baseball",
            "sportType": 1
        },
        {
            "sportId": 20,
            "sportName": "Table Tennis",
            "sportType": 1
        },
        {
            "sportId": 4,
            "sportName": "Ice Hockey",
            "sportType": 1
        },
        {
            "sportId": 16,
            "sportName": "American Football",
            "sportType": 1
        },
        {
            "sportId": 46,
            "sportName": "Cross-Country",
            "sportType": 1
        },
        {
            "sportId": 31,
            "sportName": "Badminton",
            "sportType": 1
        },
        {
            "sportId": 6,
            "sportName": "Handball",
            "sportType": 1
        },
        {
            "sportId": 10,
            "sportName": "Boxing",
            "sportType": 1
        },
        {
            "sportId": 21,
            "sportName": "Cricket",
            "sportType": 1
        },
        {
            "sportId": 22,
            "sportName": "Darts",
            "sportType": 1
        },
        {
            "sportId": 19,
            "sportName": "Snooker",
            "sportType": 1
        },
        {
            "sportId": 117,
            "sportName": "MMA",
            "sportType": 1
        },
        {
            "sportId": 9,
            "sportName": "Golf",
            "sportType": 1
        },
        {
            "sportId": 29,
            "sportName": "Futsal",
            "sportType": 1
        },
        {
            "sportId": 40,
            "sportName": "Formula 1",
            "sportType": 1
        },
        {
            "sportId": 17,
            "sportName": "Cycling",
            "sportType": 1
        },
        {
            "sportId": 12,
            "sportName": "Rugby",
            "sportType": 1
        },
        {
            "sportId": 26,
            "sportName": "Waterpolo",
            "sportType": 1
        },
        {
            "sportId": 15,
            "sportName": "Bandy",
            "sportType": 1
        },
        {
            "sportId": 44,
            "sportName": "Biathlon",
            "sportType": 1
        },
        {
            "sportId": 7,
            "sportName": "Floorball",
            "sportType": 1
        },
        {
            "sportId": 136,
            "sportName": "Gaelic Hurling",
            "sportType": 1
        }
    ]
}
```
