> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sportrix.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /sports — List Enabled Sports for Your Account

> GET /sports lists the sports your API key is authorized to access. Returns an array of sport objects with id and name. Requires the fixtures scope.

`GET /sports` returns every sport your account is authorized to access. The sport `id` from this response is the value you pass as the `sport` query parameter in subsequent calls to `/leagues` and `/matches`.

## Endpoint

```
GET https://api.sportrixdata.com/api/sports
```

## Authentication and Scope

Requires the `fixtures` scope. Include your API key in the `X-API-Key` header.

## Pagination

This endpoint is **not paginated**. It returns a bare array containing all of your enabled sports — access is bounded by your account's enabled sports allowlist, so the list is always small and fixed.

## Response Fields

<ResponseField name="id" type="integer">
  Sport id. Pass this value as the `sport` parameter when calling `/leagues` or `/matches`.
</ResponseField>

<ResponseField name="name" type="string">
  Human-readable display name for the sport (e.g. `"Soccer"`).
</ResponseField>

## Example Request

```bash theme={null}
curl https://api.sportrixdata.com/api/sports \
  -H "X-API-Key: $KEY"
```

## Example Response

```json theme={null}
[
  { "id": 1, "name": "Soccer" }
]
```

<Note>
  The array contains only the sports your account's allowlist permits. Requesting data for any other sport ID on downstream endpoints will return empty results rather than an error.
</Note>
