---
title: "Returns the league index for a Hard Rock Bet sport in one jurisdiction: the slugs and compIds accepted as the league parameter."
method: GET
path: "/api/v2/hardrock/{state}/{sport}/leagues"
tags: ["Hard Rock Bet (v2)"]
---

# Returns the league index for a Hard Rock Bet sport in one jurisdiction: the slugs and compIds accepted as the league parameter.

`GET /api/v2/hardrock/{state}/{sport}/leagues`

## Request

- Base URL: `https://api.owlsinsight.com`
- URL: `https://api.owlsinsight.com/api/v2/hardrock/{state}/{sport}/leagues`
- Auth: HTTP bearer

Returns the league index for a Hard Rock Bet sport in one jurisdiction: the slugs and compIds accepted as the league parameter.

400 for sports that do not use league bucketing; call the events endpoint directly for those.

## Path parameters

- `state` string, required
- `sport` string, required

## Response `200`

OK

- HardRockLeaguesResponse
  - `leagues` HardRockLeague[]
    - `categoryName` string
    - `compId` string
    - `compName` string
    - `eventCount` number, double
    - `slug` string
  - `meta` HardRockMeta
    - `ageSeconds` number, double
    - `cacheTimestamp` string
    - `cached` boolean
    - `source` string
    - `status` string
    - `timestamp` string
  - `sport` string
  - `state` string
  - `success` boolean

---

[API](https://skmtc.dev/owlsinsight/apis/owls-insight-api.md) · [All operations](https://skmtc.dev/owlsinsight/apis/owls-insight-api/llms.txt) · [OpenAPI document](https://skmtc.dev/owlsinsight/apis/owls-insight-api/revisions/76c1ea016ff1?raw)
