---
title: "Get All Leagues"
method: GET
path: "/all/leagues"
tags: ["V2 API All"]
---

# Get All Leagues

`GET /all/leagues`

## Request

- Base URL: `https://www.thesportsdb.com/api/v2/json`
- URL: `https://www.thesportsdb.com/api/v2/json/all/leagues`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/thesportsdb/apis/thesportsdb-v2-api/docs/all/leagues/get.ts> (a function with typed inputs; its response is checked against the schema)

Show all the leagues supported.

## Response `200`

List of all leagues for the specified sport

- LeagueList
  - `all` League[]
    - `idLeague` string
    - `idSoccerXML` string, nullable
    - `idAPIfootball` string
    - `strSport` string
    - `strLeague` string
    - `strLeagueAlternate` string
    - `intDivision` string
    - `idCup` string
    - `strCurrentSeason` string
    - `intFormedYear` string
    - `dateFirstEvent` string, date
    - `strGender` 'Male' | 'Female' | 'Mixed'
    - `strCountry` string
    - `strWebsite` string, uri
    - `strFacebook` string, uri
    - `strInstagram` string, uri
    - `strTwitter` string, uri
    - `strYoutube` string, uri
    - `strRSS` string, uri
    - `strDescriptionEN` string
    - `strTvRights` string
    - `strBanner` string, uri
    - `strBadge` string, uri
    - `strLogo` string, uri
    - `strPoster` string, uri
    - `strTrophy` string, uri
    - `strFanart1` string, uri
    - `strFanart2` string, uri
    - `strFanart3` string, uri
    - `strFanart4` string, uri
    - `strNaming` string
    - `strComplete` 'yes' | 'no'
    - `strLocked` 'locked' | 'unlocked'

---

[API](https://skmtc.dev/thesportsdb/apis/thesportsdb-v2-api.md) - [All operations](https://skmtc.dev/thesportsdb/apis/thesportsdb-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/thesportsdb/apis/thesportsdb-v2-api/revisions/f529422e54bf?raw)
