API Sports Football Get Teams

1 credits/call
ae_api_sports_football_get_teams

Find football teams and view their details using API-Sports Football.

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.—
codestringNoFilter by code.—
namestringNoFilter by name.—
venueintegerNoFilter by venue.—
leagueintegerNoFilter by league.—
searchstringNoFilter by search.—
seasonintegerNoFilter by season.—
countrystringNoFilter by country.—

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_teams' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "name": "Wales"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "errors": [],
  "get": "teams",
  "paging": {
    "current": 1,
    "total": 1
  },
  "parameters": {
    "name": "Wales"
  },
  "response": [
    {
      "team": {
        "code": "WAL",
        "country": "Wales",
        "founded": 1876,
        "id": 767,
        "logo": "https://media.api-sports.io/football/teams/767.png",
        "name": "Wales"
      },
      "venue": {
        "address": "Normandy Road",
        "capacity": 21028,
        "city": "Swansea",
        "id": 12273,
        "image": "https://media.api-sports.io/football/venues/12273.png",
        "name": "Swansea.com Stadium"
      }
    }
  ],
  "results": 1
}

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