V1 API List
Get All Leagues
List all the leagues supported on the website.
get/all_leagues.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.
Response
Successful Response
Example response
{
"leagues": [
{
"idLeague": "4328",
"strLeague": "English Premier League",
"strSport": "Soccer"
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.