Overview

The TeamInfo endpoint returns detailed information about a specific team. The response includes:
  • Team-related match history
  • Match metadata
  • Home and away team details
  • Stadium information
  • Coach information
  • Match status when available

Typical use cases

  • Load a team profile with its related matches
  • Retrieve historical match context for a team
  • Display linked stadium and coach information
  • Power team detail pages in dashboards or apps
GET /api.php

Parameters

module
string
required
Always use api
api
string
required
Always use TeamInfo
version
string
required
API version. Example: V2
response
string
required
Response format. Always use json
lang
string
required
Language of the response. Example: en
team_id
integer
required
The unique identifier of the team to load.

Example Request

curl --request GET \
  --url "https://korastats.pro/pro/api.php?module=api&api=TeamInfo&version=V2&response=json&lang=en&team_id=7"
{
  "type": "object",
  "properties": {
    "result": {
      "type": "string",
      "description": "Indicates whether the request was successful."
    },
    "message": {
      "type": "string",
      "description": "Human-readable status message."
    },
    "data": {
      "type": "object",
      "properties": {
        "_type": {
          "type": "string",
          "description": "Object type identifier."
        },
        "matches": {
          "type": "array",
          "description": "List of matches related to the team.",
          "items": {
            "type": "object",
            "properties": {
              "intID": {
                "type": "integer",
                "description": "Match ID."
              },
              "strMatchName": {
                "type": "string",
                "description": "Match display name."
              },
              "intStadiumID": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Stadium ID."
              },
              "intHomeTeamID": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Home team ID."
              },
              "intHomeCoachID": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Home coach ID."
              },
              "intAwayTeamID": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Away team ID."
              },
              "intAwayCoachID": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Away coach ID."
              },
              "intHomeTeamScore": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Home team score."
              },
              "intAwayTeamScore": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Away team score."
              },
              "intPenaltyShootoutHomeScore": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Home penalty shootout score."
              },
              "intPenaltyShootoutAwayScore": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Away penalty shootout score."
              },
              "intRefereeID": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Referee ID."
              },
              "intFourthOfficialID": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Fourth official ID."
              },
              "intAssistant1ID": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "First assistant referee ID."
              },
              "intAssistant2ID": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Second assistant referee ID."
              },
              "dtDateTime": {
                "type": "string",
                "format": "date-time",
                "description": "Scheduled match date and time."
              },
              "strNotes": {
                "type": "string",
                "description": "Optional notes related to the match."
              },
              "dtTimestamp": {
                "type": "string",
                "format": "date-time",
                "description": "Record creation or update timestamp."
              },
              "intUserID": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "User who created or updated the record."
              },
              "boolExtraTime": {
                "type": "boolean",
                "description": "Indicates whether extra time was played."
              },
              "objHomeTeam": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "intID": {
                    "type": "integer"
                  },
                  "intCountryID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "intClubID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "intStadiumID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "intCoachID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "strTeamNameAr": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "strTeamNameEn": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "strGender": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "boolNationalTeam": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                }
              },
              "objAwayTeam": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "intID": {
                    "type": "integer"
                  },
                  "intCountryID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "intClubID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "intStadiumID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "intCoachID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "strTeamNameAr": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "strTeamNameEn": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "strGender": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "boolNationalTeam": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                }
              },
              "objStadium": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "intID": {
                    "type": "integer"
                  },
                  "intCountryID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "intCityID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "strStadiumNameAr": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "strStadiumNameEn": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "intCapacity": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "intEstablishYear": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                }
              },
              "objReferee": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "Referee information when available."
              },
              "objFourthOfficial": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "Fourth official information when available."
              },
              "objAssistant1": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "First assistant referee information when available."
              },
              "objAssistant2": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "Second assistant referee information when available."
              },
              "objHomeCoach": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "intID": {
                    "type": "integer"
                  },
                  "strCoachNameAr": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "strCoachNameEn": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "intNationalityID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "strGender": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dtDOB": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "boolRetired": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                }
              },
              "objAwayCoach": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "intID": {
                    "type": "integer"
                  },
                  "strCoachNameAr": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "strCoachNameEn": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "intNationalityID": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "strGender": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dtDOB": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "format": "date"
                  },
                  "boolRetired": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                }
              },
              "objStatus": {
                "type": [
                  "object",
                  "null"
                ],
                "description": "Match status information when available."
              }
            }
          }
        }
      }
    }
  }
}