V2 API Schedule
Get Previous Soccer Events by Team
List the previous 5 events for a team using its unique ID.
get/schedule/previous/team/{idTeam}
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
idTeaminteger required
The ID of the team to get the previous events for.
Response
List of previous soccer events for the specified team
Example response
{
"schedule": [
{
"strSport": "Motorsport"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.