Skip to main content
GET
/
TournamentGroupStandings
Standings
curl --request GET \
  --url 'https://api.example.com/TournamentGroupStandings?key='
{
  "result": "boolean",
  "title": "string",
  "message": "string",
  "object": [
    {
      "_type": "GROUP",
      "id": "integer",
      "group": "string",
      "teams": [
        {
          "_type": "TEAM",
          "id": "integer",
          "team": "string",
          "position": "integer",
          "matches": "integer",
          "points": "integer",
          "won": "integer",
          "draw": "integer",
          "lost": "integer",
          "goals_scored": "integer",
          "goals_conceded": "integer",
          "goals_difference": "integer",
          "goals_scored_home": "integer",
          "goals_conceded_home": "integer",
          "goals_difference_home": "integer",
          "goals_scored_away": "integer",
          "goals_conceded_away": "integer",
          "goals_difference_away": "integer",
          "lastupdate": "YYYY-MM-DD HH:MM:SS"
        }
      ]
    }
  ]
}

Overview

This endpoint returns the group standings for a given tournament_id and stage_id.

Typical use cases:

  • Display group tables (points, matches, wins/draws/losses, goal stats)
  • Build stage dashboards (Group A/B/C…)
  • Power broadcast graphics or widgets from group rankings
GET /api.php

Parameters

module
string
Always use api.
api
string
The API name, use TournamentGroupStandings.
version
string
The API version (use V2).
lang
string
en for English, ar for Arabic.
response
string
Output format (json or xml).
key
string
The API key.
tournament_id
string
The tournament ID (example: 211).
stage_id
string
The stage ID within the tournament (example: 27).

Example Request

curl --request GET \
  --url "{{Base URL}}?module=api&api=TournamentGroupStandings&version=V2&response=json&lang=en&tournament_id=211&stage_id=27&key=YOUR_API_KEY"
{
  "result": "boolean",
  "title": "string",
  "message": "string",
  "object": [
    {
      "_type": "GROUP",
      "id": "integer",
      "group": "string",
      "teams": [
        {
          "_type": "TEAM",
          "id": "integer",
          "team": "string",
          "position": "integer",
          "matches": "integer",
          "points": "integer",
          "won": "integer",
          "draw": "integer",
          "lost": "integer",
          "goals_scored": "integer",
          "goals_conceded": "integer",
          "goals_difference": "integer",
          "goals_scored_home": "integer",
          "goals_conceded_home": "integer",
          "goals_difference_home": "integer",
          "goals_scored_away": "integer",
          "goals_conceded_away": "integer",
          "goals_difference_away": "integer",
          "lastupdate": "YYYY-MM-DD HH:MM:SS"
        }
      ]
    }
  ]
}

Authorizations

key
string
query
required

API key passed as a query parameter named key.

Query Parameters

module
string
default:api

Module API fixed and cannot be changed

version
string
default:V2

The API version

response
string
default:json

The response returned by the API. The value of this field could be "json" or "xml"

lang
string
default:en

The language is english by default, pass "ar" to return the values in Arabic language.

tournament_id
integer
required

The tournament ID can be retrieve from the TournamentList API.

stage_id
integer

The Stage ID, please refer to the Tournament Structure API

Response

Successful response

The response is of type object.