V2 API List
List Players by Team ID
Lookup for all the players for a team using its unique ID.
get/list/players/{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 list players for.
Response
List of players in the specified team
Example response
{
"list": [
{
"idPlayer": "34146220",
"strPlayer": "Harry Kane",
"idTeam": "133664",
"strTeam": "Bayern Munich",
"dateBorn": "1993-07-28",
"strThumb": "https://www.thesportsdb.com/images/media/player/thumb/xk0gd71699458766.jpg",
"strSport": "Soccer"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.