Overview

The EntityPlayer endpoint returns detailed information about a single player. The response includes:
  • Player full name and nickname
  • Nationality
  • Date of birth and calculated age
  • Primary and secondary playing positions
  • Current team
  • Gender
  • Player image
  • Retirement status

Typical use cases

  • Display a player profile page
  • Load player data for scouting or analytics dashboards
  • Retrieve player position and nationality metadata
  • Populate player cards in applications
GET /api.php

Parameters

module
string
Always use api
api
string
Always use EntityPlayer
version
string
API version. Example: V2
response
string
Response format. Always use json
lang
string
Language of the response. Example: en
player_id
integer
required
Unique identifier of the player.

Example Request

curl --request GET \
  --url "https://korastats.pro/pro/api.php?module=api&api=EntityPlayer&version=V2&response=json&lang=en&player_id=5"
{
"type": "object",
"properties": {
"root": {
  "type": "object",
  "properties": {
    "result": {
      "type": "boolean",
      "description": "Indicates whether the request was successful."
    },
    "title": {
      "type": "string",
      "description": "Short response title."
    },
    "message": {
      "type": "string",
      "description": "Human-readable response message."
    },
    "object": {
      "type": "object",
      "properties": {
        "_type": {
          "type": "string",
          "description": "Object type identifier."
        },
        "id": {
          "type": "integer",
          "description": "Player ID."
        },
        "fullname": {
          "type": "string",
          "description": "Player full name."
        },
        "nickname": {
          "type": "string",
          "description": "Common or short name used for the player."
        },
        "nationality": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "description": "Country ID."
            },
            "name": {
              "type": "string",
              "description": "Country name."
            }
          }
        },
        "dob": {
          "type": "string",
          "format": "date",
          "description": "Player date of birth."
        },
        "age": {
          "type": "string",
          "description": "Calculated player age."
        },
        "positions": {
          "type": "object",
          "properties": {
            "primary": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Primary position ID."
                },
                "name": {
                  "type": "string",
                  "description": "Primary position name."
                }
              }
            },
            "secondary": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Secondary position ID."
                },
                "name": {
                  "type": "string",
                  "description": "Secondary position name."
                }
              }
            }
          }
        },
        "retired": {
          "type": "boolean",
          "description": "Indicates whether the player is retired."
        },
        "current_team": {
          "type": "object",
          "properties": {
            "id": {
              "type": "integer",
              "description": "Current team ID."
            },
            "name": {
              "type": "string",
              "description": "Current team name."
            }
          }
        },
        "gender": {
          "type": "string",
          "description": "Player gender."
        },
        "image": {
          "type": "string",
          "description": "URL of the player image."
        }
      }
    }
  }
}
}
}