V2 API Schedule
Get Next Soccer Events by League
List the next 5 events in a league using its unique ID.
get/schedule/next/league/{idLeague}
Request
- Base URLhttps://www.thesportsdb.com/api/v2/json
- AuthAPI key in header X-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idLeagueinteger required
The ID of the league to get the next events for.
Response
List of next scheduled soccer events for the specified league
Example response
{
"schedule": [
{
"strSport": "Motorsport"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.