Overview

This endpoint returns the complete list of statistic types used in the KoraStats analytics system. Each stat type defines:
  • The statistic name
  • The aggregation method (SUM, AVG, etc.)
  • Whether the stat applies to:
    • Teams
    • Players
    • Goalkeepers
    • Referees
    • Coaches

Typical use cases

  • Build dynamic analytics dashboards
  • Map stat IDs to human-readable names
  • Discover available metrics for players, teams, and coaches
  • Integrate stat catalogs into external analytics tools
GET /api.php

Parameters

module
string
Always use api
api
string
The API name, use ListStatTypes
version
string
The API version (use V2)
lang
string
en for English, ar for Arabic
response
string
Output format (json or xml)
key
string
Your API key

Example Request

curl --request GET \
  --url "https://korastats.pro/pro/api.php?module=api&api=ListStatTypes&version=V2&lang=en&response=json&key=YOUR_API_KEY"

Response

{
  "result": "string",
  "message": "string",
  "data": [
    {
      "_type": "STAT_TYPE",
      "intID": "integer",
      "strStatName": "string",
      "strAccumulativeType": "string",

      "boolTeam": "boolean",
      "boolGK": "boolean",
      "boolPlayer": "boolean",
      "boolReferee": "boolean",
      "boolCoach": "boolean"
    }
  ]
}

Field Explanation

FieldDescription
intIDUnique identifier of the stat type
strStatNameHuman-readable name of the statistic
strAccumulativeTypeAggregation method used (e.g. SUM, AVG)
boolTeamIndicates if the stat applies to teams
boolGKIndicates if the stat applies to goalkeepers
boolPlayerIndicates if the stat applies to players
boolRefereeIndicates if the stat applies to referees
boolCoachIndicates if the stat applies to coaches