API Sports Football Get Fixture Rounds

1 credits/call
ae_api_sports_football_get_fixture_rounds

Get the list of match rounds or stages for a specific football league season 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
datesbooleanNoAdd the dates of each round in the response. Defaults to false.—
leagueintegerYesFilter by league.—
seasonintegerYesFilter by season.—
currentbooleanNoReturn only the current round.—
timezonestringNoFilter by timezone.—

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_fixture_rounds' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "league": 1,
    "season": 2023
  }
}'
Response exampleresponse.json
JSON
{
  "errors": [],
  "get": "fixtures/rounds",
  "paging": {
    "current": 1,
    "total": 1
  },
  "parameters": {
    "league": "1",
    "season": "2023"
  },
  "response": [],
  "results": 0
}