GET /leagues to retrieve the full list of leagues your account can access, or GET /leagues/active to narrow the list to only leagues that currently have something happening — at least one match that is NOT_STARTED or STARTED.
Endpoints
/leagues/active accepts the same parameters and returns the same shape as /leagues, but filters results to leagues with at least one live or upcoming match.
Authentication and Scope
Both endpoints require thefixtures scope. Include your API key in the X-API-Key header.
Query Parameters
The sport id to list leagues for. Obtain this value from
GET /sports. Must be within your account’s enabled sports allowlist.Number of leagues to return per page. Default
100, maximum 200. Values above 200 are clamped to 200.Number of leagues to skip before returning results. Default
0. Use with limit to page through results.Response
Both endpoints return a pagination envelope. Each item initems is a league object with the following fields:
| Field | Type | Description |
|---|---|---|
id | integer | League id — use this as the league parameter in /matches |
name | string | Display name of the league |