SoccersAPIDocs
DocsReferenceTeams › Team squad

GETTeam squad

Current squad, or the squad of a past season when season_id is given.

/v2.2/teams/ with t=squad

Try it in the interactive referenceAll Teams operations

Request

GET /v2.2/teams/?user=USER&token=TOKEN&t=squad&id=2868

Parameters

NameRequiredDescriptionExample
idyesTeam ID.111
season_idnoSeason ID.13480

Example response

{
  "data": {
    "formation": null,
    "squad": [
      {
        "player": {
          "id": 28581448,
          "name": "Savic",
          "common_name": "",
          "firstname": "Savic",
          "lastname": " Sergej",
          "weight": null,
          "height": 186,
          "age": 18,
          "img": "https://cdn.soccersapi.com/images/soccer/players/50/28581448.png",
          "country": {
            "id": 15,
            "name": "Austria",
            "cc": "at"
          }
        },
        "number": 3,
        "captain": null,
        "position": "D",
        "order": null
      }
    ]
  },
  "meta": {
    "requests_left": 2950,
    "user": "your_username",
    "plan": "Soccer API 50",
    "page": 1,
    "pages": 1,
    "count": 1,
    "total": 1,
    "msg": ""
  }
}