API Sports Football Get Team Statistics
1 credits/call
ae_api_sports_football_get_team_statistics
Get detailed performance statistics for a specific football team in a league season using API Sports Football.
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 |
|---|---|---|---|---|
date | string | No | Filter by date. | — |
team | integer | Yes | Filter by team. | — |
league | integer | Yes | Filter by league. | — |
season | integer | Yes | Filter by season. | — |
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_team_statistics' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"league": 39,
"season": 2024,
"team": 50
}
}'Response exampleresponse.json
{
"errors": [],
"get": "teams/statistics",
"paging": {
"current": 1,
"total": 1
},
"parameters": {
"league": "39",
"season": "2024",
"team": "50"
},
"response": {
"biggest": {
"goals": {
"against": {
"away": 5,
"home": 4
},
"for": {
"away": 6,
"home": 5
}
},
"loses": {
"away": "5-1",
"home": "0-4"
},
"streak": {
"draws": 2,
"loses": 4,
"wins": 4
},
"wins": {
"away": "0-6",
"home": "4-0"
}
},
"cards": {
"red": {
"0-15": {
"percentage": null,
"total": null
},
"106-120": {
"percentage": null,
"total": null
},
"16-30": {
"percentage": null,
"total": null
},
"31-45": {
"percentage": null,
"total": null
},
"46-60": {
"percentage": null,
"total": null
},
"61-75": {
"percentage": "50.00%",
"total": 1
}
},
"yellow": {
"0-15": {
"percentage": "5.08%",
"total": 3
},
"106-120": {
"percentage": null,
"total": null
},
"16-30": {
"percentage": "5.08%",
"total": 3
},
"31-45": {
"percentage": "13.56%",
"total": 8
},
"46-60": {
"percentage": "18.64%",
"total": 11
},
"61-75": {
"percentage": "16.95%",
"total": 10
}
}
},
"clean_sheet": {
"away": 8,
"home": 5,
"total": 13
},
"failed_to_score": {
"away": 4,
"home": 2,
"total": 6
},
"fixtures": {
"draws": {
"away": 5,
"home": 3,
"total": 8
},
"loses": {
"away": 6,
"home": 3,
"total": 9
},
"played": {
"away": 19,
"home": 19,
"total": 38
},
"wins": {
"away": 8,
"home": 13,
"total": 21
}
},
"form": "WWWWDDWWWLLLLWDLLDWWDWWLWLWLDWDWWWWDWW"
},
"results": 11
}This example shows part of the response. Copied content is valid JSON.

