Overview

The EntityCoach endpoint returns detailed information about a specific coach stored in the KoraStats database. The response includes:
  • Coach full name
  • Nationality
  • Date of birth
  • Calculated age
  • Gender
  • Retirement status
  • Coach profile image

Typical use cases

  • Display coach profile pages
  • Retrieve coach metadata for teams
  • Populate coaching staff information
  • Load coach data in scouting or analytics platforms
GET /api.php

Parameters

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

Example Request

curl --request GET \
  --url "https://korastats.pro/pro/api.php?module=api&api=EntityCoach&version=V2&response=json&lang=en&coach_id=5"
{
  "type": "object",
  "properties": {
    "root": {
      "type": "object",
      "properties": {
        "result": {
          "type": "boolean",
          "description": "Indicates whether the request was successful."
        },
        "title": {
          "type": "string",
          "description": "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": "Coach ID."
            },
            "fullname": {
              "type": "string",
              "description": "Coach full name."
            },
            "nationality": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Country ID."
                },
                "name": {
                  "type": "string",
                  "description": "Country name."
                }
              }
            },
            "dob": {
              "type": "string",
              "format": "date",
              "description": "Coach date of birth."
            },
            "age": {
              "type": "string",
              "description": "Calculated coach age."
            },
            "retired": {
              "type": "boolean",
              "description": "Indicates whether the coach is retired."
            },
            "gender": {
              "type": "string",
              "description": "Coach gender."
            },
            "image": {
              "type": "string",
              "description": "URL of the coach profile image."
            }
          }
        }
      }
    }
  }
}