v1

latestOpenAPI 3.0.32026-07-144334213.8 KB
V2 API Search

Search sports league

Search for any sports league using a text string.

get/search/league/{leagueName}

Path parameters

leagueNamestring required

The name of the league to search for.

Response

Array of leagues matching query

Example response

{
  "search": [
    {
      "idLeague": "4328",
      "idAPIfootball": "7293",
      "strSport": "Soccer",
      "strLeague": "English Premier League",
      "strLeagueAlternate": "Premier League, EPL",
      "intDivision": "0",
      "idCup": "0",
      "strCurrentSeason": "2025-2026",
      "intFormedYear": "1992",
      "dateFirstEvent": "1992-08-15",
      "strGender": "Male",
      "strCountry": "England",
      "strWebsite": "https://www.premierleague.com",
      "strTvRights": "UK - Sky Sports [2022-2025]",
      "strBadge": "https://www.thesportsdb.com/images/media/league/badge/gasy9d1737743125.png",
      "strNaming": "{strHomeTeam} vs {strAwayTeam}"
    }
  ]
}