> ## Documentation Index
> Fetch the complete documentation index at: https://oddspapi-v4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /v4/sports: List of Sports and Sport IDs

> List every sport in the OddsPapi API with its sportId and slug. The starting point for league, event and odds requests.

> [!NOTE]
>
> **Rate limit:** wait at least 1 second between two calls to this endpoint, per API key. Faster calls get `429 RATE_LIMITED`. Each call uses 1 request of your quota. [How the limits work](https://oddspapi-v4.mintlify.site/docs/errors.md#rate-limits)

Allows users to retrieve a list of sports available in the system.

## Endpoint

```http theme={null}
GET /v4/sports
```

## Request Parameters

* **language** `(string)` — (Optional) The language that the `sportName` will be returned in.

### Example Request

```http theme={null}
GET /v4/sports?language=en
```

### Example Response

```json theme={null}
[
  {
    "sportId": 10,
    "slug": "soccer",
    "sportName": "Soccer"
  },
  {
    "sportId": 11,
    "slug": "basketball",
    "sportName": "Basketball"
  }
]
```

The response will have a status code `200` indicating that the request was successful. If there are no sports available, the array may be empty.

## Response (200 OK)

On a successful request, the server responds with a status code `200` and returns a JSON array containing the list of sports.

Each object in the array contains the following fields:

* **sportId** `(number)` — A unique identifier for the sport. This is the value you should use when sending the sport parameter to any other endpoints.
* **slug** `(string)` — A URL-friendly version of the sport's name.
* **sportName** `(string)` — The sport name.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.