Overview

The EntityTeam endpoint returns detailed information about a specific team stored in the KoraStats database. The response includes:
  • Team name
  • Associated club
  • Country
  • Stadium
  • Coach
  • Gender
  • National team status
  • Seasons the team participated in (optional)

Typical use cases

  • Display team profile pages
  • Retrieve team metadata for competitions
  • Load club and stadium information
  • Identify coach and country relationships
GET /api.php

Parameters

module
string
Always use api
api
string
Always use EntityTeam
version
string
API version. Example: V2
response
string
Response format. Always use json
lang
string
Language of the response. Example: en
team_id
integer
required
Unique identifier of the team.
participates_in
boolean
Optional parameter.
If provided, the API will include a list of seasons the team has participated in.

Example Request

curl --request GET \
  --url "https://korastats.pro/pro/api.php?module=api&api=EntityTeam&version=V2&response=json&lang=en&team_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": "Team ID."
            },
            "name": {
              "type": "string",
              "description": "Team name."
            },
            "club": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Club ID."
                },
                "name": {
                  "type": "string",
                  "description": "Club name."
                },
                "logo": {
                  "type": "string",
                  "description": "URL of the club logo."
                }
              }
            },
            "country": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Country ID."
                },
                "name": {
                  "type": "string",
                  "description": "Country name."
                }
              }
            },
            "stadium": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Stadium ID."
                },
                "name": {
                  "type": "string",
                  "description": "Stadium name."
                }
              }
            },
            "coach": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "integer",
                  "description": "Coach ID."
                },
                "name": {
                  "type": "string",
                  "description": "Coach name."
                }
              }
            },
            "gender": {
              "type": "string",
              "description": "Team gender category."
            },
            "is_national_team": {
              "type": "boolean",
              "description": "Indicates whether the team represents a national team."
            },
            "seasons": {
              "type": "array",
              "description": "List of seasons the team participated in (returned only if `participates_in` parameter is provided).",
              "items": {
                "type": "object"
              }
            }
          }
        }
      }
    }
  }
}