Skip to main content

GET /api/v1/sports//leagues

Returns every league / championship for the given sport, with sub-leagues flattened. An alias GET /api/v1/leagues?sport={sportId} is also available.
curl -H "x-api-key: YOUR_API_KEY" \
  https://1xbet.sportsapipro.com/api/v1/sports/1/leagues

Path Parameters

sportId
number
default:"1"
Sport ID from /api/v1/sports.

Examples

GET /api/v1/sports/1/leagues     # Football leagues (186+)
GET /api/v1/sports/4/leagues     # Tennis leagues (47+)
GET /api/v1/sports/3/leagues     # Basketball leagues (39+)
GET /api/v1/leagues?sport=1      # Same as above

Response

{
  "data": [
    {
      "id": 2708736,
      "name": "World Cup 2026",
      "nameRu": "Чемпионат Мира 2026",
      "country": 225,
      "eventCount": 43,
      "priority": 100,
      "image": "https://images.sportsapipro.com/champ/c223517f.png",
      "isParent": false
    },
    {
      "id": 88637,
      "name": "England. Premier League",
      "country": 74,
      "eventCount": 10,
      "priority": 90,
      "isParent": false
    }
  ],
  "sportId": 1
}
data[].id
number
League ID — use with League Events and Live League Events.
data[].name
string
English league name.
data[].nameRu
string | null
Russian name when available.
data[].country
number
Country ID.
data[].eventCount
number
Number of prematch events currently available.
data[].priority
number
Sort weight — higher is more popular.
data[].image
string | null
League logo URL.
data[].isParent
boolean
If true, this is a parent grouping with no events of its own.
data[].parentId
number | null
Parent league ID, if this is a sub-league.
data[].parentName
string | null
Parent league name.
data[].subLeagues
array | null
Child leagues — present only on parent leagues.
Leagues with isParent: true carry no events. Iterate their subLeagues to find the actual league IDs that have events.
Cache TTL: 300 seconds (5 minutes).
Last modified on June 21, 2026