V1 API List
Search All Seasons
List all the seasons available for a specific league ID
get/search_all_seasons.php
Request
- Base URLhttps://www.thesportsdb.com/api/v1/json/123
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.