V2 API Livescores
Get live scores for a specific league by ID
Show the current Livescores for a particular league by its unique ID.
get/livescore/{leagueId}
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
leagueIdinteger required
The ID of the sport to get live scores for.
Response
List of live scores for the specified sport
Example response
{
"livescore": [
{
"strSport": "Ice Hockey"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.