API Sports Football Get Player Squads
1 credits/call
ae_api_sports_football_get_player_squads
View the current squad roster for a specific football team.
1 credits/call
Pricing
1 credits/call
| Condition | Charge |
|---|---|
| Each call | 1 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
team | integer | No | Filter by team. | — |
player | integer | No | Filter by player. | — |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_api_sports_football_get_player_squads' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"team": 50
}
}'Response exampleresponse.json
{
"errors": [],
"get": "players/squads",
"paging": {
"current": 1,
"total": 1
},
"parameters": {
"team": "50"
},
"response": [
{
"players": [
{
"age": 33,
"id": 19012,
"name": "M. Bettinelli",
"number": 13,
"photo": "https://media.api-sports.io/football/players/19012.png",
"position": "Goalkeeper"
}
],
"team": {
"id": 50,
"logo": "https://media.api-sports.io/football/teams/50.png",
"name": "Manchester City"
}
}
],
"results": 1
}This example shows part of the response. Copied content is valid JSON.

