v1

latestOpenAPI 3.0.02026-07-2678105413.1 KB
V1 API List

Search All Seasons

List all the seasons available for a specific league ID

get/search_all_seasons.php

Query parameters

idstring required

Unique identifier for the league.

posterinteger

Whether to include poster images in the response (1 for yes, 0 for no).

badgeinteger

Whether to include badge images in the response (1 for yes, 0 for no).

Response

Successful Response

Example response

{
  "seasons": [
    {
      "strSeason": "1992-1993",
      "strPoster": "https://www.thesportsdb.com/images/media/league/poster/3z4b5t1706802574.png",
      "strBadge": "https://www.thesportsdb.com/images/media/league/badgearchive/02egea1661959225.png"
    }
  ]
}