Competition Squads

  1. Endpoint
  2. Response

On this documentation page, we show how you can use our football API to get the information about the predefined competitions squads that a single team announces before a big competition starts.

This football API endpoint only provides data for big competitions like the FIFA World Cup, EURO, Copa America

This football API endpoint provides the squad that a single team has announced for a given competition. In order to get the squads for all teams in the competition you have chosen you should use the competitions rosters API endpoint. Using the alternative API endpoint will save from your daily request quota as well.


ENDPOINT


This football API list the 23 to 26 player squads that coaches announce before the start of big international competitions. The endpoint provides data in 30+ languages as long as your chosen package supports this. The JSON response structure is similar to the player data response provided from the match lineups API endpoint.


GET:

NameTypeRequiredExampleDescription
competition_idNumber1362The id of the competition in which the team participates
langStringarThe 2 letter code of the language, if we want the names of the players in a language different than English. These translations are supported by certain packages only.
team_idNumber1211The id of the team which competition squad we want to get

RESPONSE


{
    "success": true,
    "data": [
        {
            "id": "201",
            "name": "Ante Rebic",
            "shirt_number": "18",
            "position": "FW"
        },
        {
            "id": "8816",
            "name": "Andrej Kramaric",
            "shirt_number": "9",
            "position": "FW"
        }
    ]
}


NameTypeExampleDescription
idNumber201The id of the player
nameStringAnte RebicThe name of the player
positionStringFWThe position on which the player usually plays. This does not mean that the player cannot temporarily change his position during a competition or a match.. There are 4 options: GK, DF, MF, and FW.
shirt_numberNumber18The number on the shirt of the player during the competition

Didn't find what you need?

Do no hesitate to contact us. We will get back to you as soon as possible.