Skip to main content
GET
/
TournamentPlayerStats
Tournament Player Stats
curl --request GET \
  --url 'https://api.example.com/TournamentPlayerStats?key='
{
  "result": "string",
  "message": "string",
  "data": {
    "_type": "PLAYER",
    "id": "integer",
    "name": "string",
    "nickname": "string|null",
    "dob": "YYYY-MM-DD|null",
    "shirtnumber": "integer|null",

    "position": {
      "_type": "POSITION",
      "id": "integer",
      "name": "string"
    },

    "stats": {
      "Admin": {
        "MatchesPlayed": "integer|null",
        "MinutesPlayed": "integer|null",
        "MatchesPlayedasSub": "integer|null",
        "Corners": "integer|null",
        "Offside": "integer|null"
      },

      "Attempts": {
        "Total": "integer|null",
        "Success": "integer|null",
        "PenaltyMissed": "integer|null",
        "Bars": "integer|null",
        "OneOnOneMissed": "integer|null",
        "AttemptToScore": "number|null",
        "SuccessAttemptToScore": "number|null",
        "Accuracy": "number|null"
      },

      "BallLost": {
        "Total": "integer|null",
        "UnderPressure": "integer|null",
        "Aerial": "integer|null"
      },

      "BallReceive": {
        "Total": "integer|null",
        "Success": "integer|null",
        "Fail": "integer|null",
        "Accuracy": "number|null"
      },

      "BallWon": {
        "Total": "integer|null",
        "TackleWon": "integer|null",
        "InterceptionWon": "integer|null",
        "Aerial": "integer|null",
        "BallRecover": "integer|null"
      },

      "Chances": {
        "KeyPasses": "integer|null",
        "Assists": "integer|null",
        "ChancesCreated": "integer|null"
      },

      "Cards": {
        "Yellow": "integer|null",
        "SecondYellow": "integer|null",
        "Red": "integer|null"
      },

      "Cross": {
        "Success": "integer|null",
        "Total": "integer|null",
        "Accuracy": "number|null",
        "OpenPlay": {
          "Success": "integer|null",
          "Total": "integer|null",
          "Accuracy": "number|null"
        },
        "SetPiece": {
          "Success": "integer|null",
          "Total": "integer|null",
          "Accuracy": "number|null"
        }
      },

      "Dribble": {
        "Total": "integer|null",
        "Success": "integer|null",
        "Fail": "integer|null",
        "Accuracy": "number|null"
      },

      "Defensive": {
        "TackleFail": "integer|null",
        "TackleClear": "integer|null",
        "InterceptionClear": "integer|null",
        "Clear": "integer|null",
        "Cleansheet": "integer|null",
        "GoalsSaved": "integer|null",
        "Blocks": "integer|null",
        "OpportunitySaved": "integer|null"
      },

      "Fouls": {
        "Committed": "integer|null",
        "Awarded": "integer|null",
        "CommittedInDefensiveThird": "integer|null",
        "AwardedInOffensiveThird": "integer|null"
      },

      "GK": {
        "Attempts": { "Total": "integer|null", "Success": "integer|null", "Saved": "integer|null" },
        "OneonOne": { "Total": "integer|null", "Saved": "integer|null", "Goal": "integer|null" },
        "Cross": { "Total": "integer|null", "Saved": "integer|null" },
        "Shoot": { "Goal": "integer|null", "Saved": "integer|null" },
        "Penalty": { "Total": "integer|null", "Saved": "integer|null", "Goal": "integer|null" },
        "Freekick": { "Goal": "integer|null", "Saved": "integer|null" },
        "GoalConceded": "integer|null"
      },

      "GoalsScored": {
        "Total": "integer|null",
        "PenaltyScored": "integer|null",
        "OwnGoals": "integer|null",
        "Head": "integer|null",
        "RightFoot": "integer|null",
        "LeftFoot": "integer|null",
        "Other": "integer|null",
        "SetPiece": "integer|null",
        "XG": "number|null",
        "T_0_15": "integer|null",
        "T_15_30": "integer|null",
        "T_30_45": "integer|null",
        "T_45_60": "integer|null",
        "T_60_75": "integer|null",
        "T_75_90": "integer|null",
        "T_90_105": "integer|null",
        "T_105_120": "integer|null"
      },

      "GoalsConceded": {
        "OwnGoals": "integer|null",
        "Total": "integer|null"
      },

      "Pass": {
        "Success": "integer|null",
        "Total": "integer|null",
        "Accuracy": "number|null"
      },

      "ShortPass": {
        "Success": "integer|null",
        "Total": "integer|null",
        "Accuracy": "number|null"
      },

      "LongPass": {
        "Success": "integer|null",
        "Total": "integer|null",
        "Accuracy": "number|null"
      },

      "Penalty": {
        "Committed": "integer|null",
        "Awarded": "integer|null"
      }
    }
  }
}

Overview

This endpoint returns aggregated statistics for a specific player within a tournament. The response includes player profile information (name, DOB, shirt number, position) and a rich stats object containing categories such as:
  • Admin (minutes, matches, corners, offside)
  • Attempts, Pass, ShortPass, LongPass, Cross
  • BallWon, BallLost, BallReceive
  • Defensive, Fouls, Cards, Chances
  • GoalsScored / GoalsConceded
  • GK (goalkeeper) statistics (may be present with zeros for non-GKs)
GET /api.php

Parameters

module
string
Always use api
api
string
The API name, use TournamentPlayerStats
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
tournament_id
string
The tournament ID (example: 211)
player_id
string
The player ID (example: 235)

Example Request

curl --request GET \
  --url "{{Base URL}}?module=api&api=TournamentPlayerStats&version=V2&lang=en&response=json&key=YOUR_API_KEY&tournament_id=211&player_id=235"

Response

{
  "result": "string",
  "message": "string",
  "data": {
    "_type": "PLAYER",
    "id": "integer",
    "name": "string",
    "nickname": "string|null",
    "dob": "YYYY-MM-DD|null",
    "shirtnumber": "integer|null",

    "position": {
      "_type": "POSITION",
      "id": "integer",
      "name": "string"
    },

    "stats": {
      "Admin": {
        "MatchesPlayed": "integer|null",
        "MinutesPlayed": "integer|null",
        "MatchesPlayedasSub": "integer|null",
        "Corners": "integer|null",
        "Offside": "integer|null"
      },

      "Attempts": {
        "Total": "integer|null",
        "Success": "integer|null",
        "PenaltyMissed": "integer|null",
        "Bars": "integer|null",
        "OneOnOneMissed": "integer|null",
        "AttemptToScore": "number|null",
        "SuccessAttemptToScore": "number|null",
        "Accuracy": "number|null"
      },

      "BallLost": {
        "Total": "integer|null",
        "UnderPressure": "integer|null",
        "Aerial": "integer|null"
      },

      "BallReceive": {
        "Total": "integer|null",
        "Success": "integer|null",
        "Fail": "integer|null",
        "Accuracy": "number|null"
      },

      "BallWon": {
        "Total": "integer|null",
        "TackleWon": "integer|null",
        "InterceptionWon": "integer|null",
        "Aerial": "integer|null",
        "BallRecover": "integer|null"
      },

      "Chances": {
        "KeyPasses": "integer|null",
        "Assists": "integer|null",
        "ChancesCreated": "integer|null"
      },

      "Cards": {
        "Yellow": "integer|null",
        "SecondYellow": "integer|null",
        "Red": "integer|null"
      },

      "Cross": {
        "Success": "integer|null",
        "Total": "integer|null",
        "Accuracy": "number|null",
        "OpenPlay": {
          "Success": "integer|null",
          "Total": "integer|null",
          "Accuracy": "number|null"
        },
        "SetPiece": {
          "Success": "integer|null",
          "Total": "integer|null",
          "Accuracy": "number|null"
        }
      },

      "Dribble": {
        "Total": "integer|null",
        "Success": "integer|null",
        "Fail": "integer|null",
        "Accuracy": "number|null"
      },

      "Defensive": {
        "TackleFail": "integer|null",
        "TackleClear": "integer|null",
        "InterceptionClear": "integer|null",
        "Clear": "integer|null",
        "Cleansheet": "integer|null",
        "GoalsSaved": "integer|null",
        "Blocks": "integer|null",
        "OpportunitySaved": "integer|null"
      },

      "Fouls": {
        "Committed": "integer|null",
        "Awarded": "integer|null",
        "CommittedInDefensiveThird": "integer|null",
        "AwardedInOffensiveThird": "integer|null"
      },

      "GK": {
        "Attempts": { "Total": "integer|null", "Success": "integer|null", "Saved": "integer|null" },
        "OneonOne": { "Total": "integer|null", "Saved": "integer|null", "Goal": "integer|null" },
        "Cross": { "Total": "integer|null", "Saved": "integer|null" },
        "Shoot": { "Goal": "integer|null", "Saved": "integer|null" },
        "Penalty": { "Total": "integer|null", "Saved": "integer|null", "Goal": "integer|null" },
        "Freekick": { "Goal": "integer|null", "Saved": "integer|null" },
        "GoalConceded": "integer|null"
      },

      "GoalsScored": {
        "Total": "integer|null",
        "PenaltyScored": "integer|null",
        "OwnGoals": "integer|null",
        "Head": "integer|null",
        "RightFoot": "integer|null",
        "LeftFoot": "integer|null",
        "Other": "integer|null",
        "SetPiece": "integer|null",
        "XG": "number|null",
        "T_0_15": "integer|null",
        "T_15_30": "integer|null",
        "T_30_45": "integer|null",
        "T_45_60": "integer|null",
        "T_60_75": "integer|null",
        "T_75_90": "integer|null",
        "T_90_105": "integer|null",
        "T_105_120": "integer|null"
      },

      "GoalsConceded": {
        "OwnGoals": "integer|null",
        "Total": "integer|null"
      },

      "Pass": {
        "Success": "integer|null",
        "Total": "integer|null",
        "Accuracy": "number|null"
      },

      "ShortPass": {
        "Success": "integer|null",
        "Total": "integer|null",
        "Accuracy": "number|null"
      },

      "LongPass": {
        "Success": "integer|null",
        "Total": "integer|null",
        "Accuracy": "number|null"
      },

      "Penalty": {
        "Committed": "integer|null",
        "Awarded": "integer|null"
      }
    }
  }
}

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 ID of the match, can be retrieved from the TournamentMatchList API.

player_id
integer
required

The ID of the player, can be retrieved from the MatchPlayerSquad API

Response

Successful response

The response is of type object.