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

# League Events

> Prematch events for a specific league

## GET /api/v1/leagues/{leagueId}/events

Returns prematch events for a single league, sorted by start time.

```bash theme={null}
curl -H "x-api-key: YOUR_API_KEY" \
  "https://api.sportsapipro.com/v5/leagues/2708736/events?count=20"
```

### Path Parameters

<ParamField path="leagueId" type="number" required>League ID from [Leagues](/api-reference/v5-1xbet/leagues).</ParamField>

### Query Parameters

<ParamField query="count" type="number" default="50">Max number of events to return.</ParamField>

### Examples

```
GET /api/v1/leagues/2708736/events          # World Cup 2026 events
GET /api/v1/leagues/88637/events?count=20   # EPL events
GET /api/v1/leagues/57265/events            # Brazil Serie B events
```

### Response

Same shape as [Top Events](/api-reference/v5-1xbet/top-events), with `leagueId` echoed back:

```json theme={null}
{
  "data": [ /* ...events with odds... */ ],
  "leagueId": 2708736,
  "count": 5
}
```

<Note>**Cache TTL:** 30 seconds.</Note>
