Skip to main content
Use this endpoint to retrieve all players that are currently playing for a club.

Authentication

All requests must include a valid API key, either as an x-api-key header or as a Bearer token in the Authorization header.
x-api-key: YOUR_API_KEY
# or
Authorization: Bearer YOUR_API_KEY

Request

club_id
string
required
The SquadAssist club ID. Obtain this from GET /get_clubs_in_competition or from POST /query_club
analysis_available_only
boolean
default:"False"
Whether or not the response should only include players for which SquadAssist can also do predictions. For those that have this field as False, the players will error on each of the Predictions requests, but they will still work for other requests. Defaults to False.

Response

season
string
The current season
club
Club
The club that was just analyzed
players
array[Player]
An array of player objects, one for each player at the club.

Example

$headers = @{
    "x-api-key"    = "your_API_key"
    "Content-Type" = "application/json"
}

curl "https://api.squadassist.ai/v1/get_players_at_club?club_id=C01JJBSWKE71ZEN2E52257YQGP5" -H $headers
Response
{
	"season": "2025/2026",
	"club": 
		{
		"squadassist_id": "C01JJBSWKE71ZEN2E52257YQGP5",
		"transfermarkt_id": 520, 
		"name" : "Cercle Brugge"
		},
	"players": 
  	[
		{
            "squadassist_id": "P01J...",
            "transfermarkt_id": 175698,
            "wyscout_id": 169543,
            "first_name": "Nathan",
            "last_name": "De Cat",
            "alias": "N. De Cat",
            "name": "Nathan De Cat",
        },
	...
	]

}