v1

latestOpenAPI 3.0.02026-07-2678105413.1 KB
V2 API List

List Players by Team ID

Lookup for all the players for a team using its unique ID.

get/list/players/{idTeam}

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"
    }
  ]
}