API Sports Football Get Players

1 credits/call
ae_api_sports_football_get_players

Search for football players and view their season statistics by name, team, or league.

Entertainment
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
idintegerNoFilter by id.—
pageintegerNoFilter by page.—
teamintegerNoFilter by team.—
leagueintegerNoFilter by league.—
searchstringNoFilter by search.—
seasonintegerNoFilter by season.—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_api_sports_football_get_players' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "id": 617,
    "season": 2024
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "errors": [],
  "get": "players",
  "paging": {
    "current": 1,
    "total": 1
  },
  "parameters": {
    "id": "617",
    "season": "2024"
  },
  "response": [
    {
      "player": {
        "age": 32,
        "birth": {
          "country": "Brazil",
          "date": "1993-08-17",
          "place": "Osasco"
        },
        "firstname": "Ederson",
        "height": "188",
        "id": 617,
        "name": "Ederson"
      },
      "statistics": [
        {
          "cards": {
            "red": 0,
            "yellow": 0,
            "yellowred": 0
          },
          "dribbles": {
            "attempts": null,
            "past": null,
            "success": null
          },
          "duels": {
            "total": null,
            "won": null
          },
          "fouls": {
            "committed": null,
            "drawn": null
          },
          "games": {
            "appearences": 0,
            "captain": false,
            "lineups": 0,
            "minutes": 0,
            "number": null,
            "position": "Goalkeeper"
          },
          "goals": {
            "assists": null,
            "conceded": 0,
            "saves": null,
            "total": 0
          }
        }
      ]
    }
  ],
  "results": 1
}

This example shows part of the response. Copied content is valid JSON.