Skip to main content
Returns the leagues currently held for a sport. Use the id values to narrow GET /matches.
Scope: odds · Sportsbook grant: pinnacle

Query parameters

A sport value that is not a number is read as 0, which returns all leagues rather than an error. Validate the parameter on your side if you need a strict filter.
Results are filtered by your key’s per-sport grants. With no sport filter, leagues in ungranted sports are silently absent. With ?sport=<id> for a sport you do not hold, this endpoint returns 403 {"error": "API key not permitted for sport <id>"}.

Request

Response

A bare JSON array, sorted ascending by id. A sport with no leagues held returns [].

League object

Errors