Overview
The Match Squad API returns the registered squad for both teams in a specific match. The response includes match, tournament, season, venue, officiating crew, match status, and player-level squad information. Each player record contains the player’s KoraStats ID, full name, nickname, shirt number, position, and flags indicating whether the player is in the starting lineup or on the bench. Use this endpoint when building lineup screens, match centers, broadcast graphics, team sheets, or other integrations that require the players selected for a particular match.Typical Use Cases
- Display the starting lineup and substitutes for both teams.
- Generate a match-day team sheet.
- Populate live match centers and broadcast graphics.
- Link squad members to KoraStats player profiles using their player IDs.
- Identify starters and bench players before or during a match.
- Retrieve match officials, venue details, and match status alongside the squads.
Parameters
Fixed module name. Always use
api.Fixed API name. Always use
MatchSquad.API version. Use
V2.Response format. Use
json to receive a JSON response.Language code used to localize supported response values and names, such as
en for English.The unique KoraStats ID of the match whose squad should be returned.
Your KoraStats API key. Keep this value confidential and send it only over HTTPS.
Endpoint
GEThttps://premium.korastats.pro/api.php
Code Examples
Response Example
Response Fields
| Field | Type | Description |
|---|---|---|
result | boolean | Indicates whether the request was processed successfully. |
title | string | Short response title. |
message | string | Human-readable description of the response result. |
object | object | Match summary and squad payload. |
object._type | string | KoraStats object type discriminator. |
object.match | object | Basic match identity, including its KoraStats ID and display name. |
object.tournament | object | Tournament identity associated with the match. |
object.season | object | Season identity associated with the match. |
object.round | integer | Tournament round number for the match. |
object.dateTime | string | Scheduled match date and time in YYYY-MM-DD HH:mm:ss format. |
object.lastUpdateDateTime | string | Date and time when the match data was last updated, in YYYY-MM-DD HH:mm:ss format. |
object.stadium | object | Stadium ID, name, and object type. |
object.referee | object | Main referee details, including date of birth and nationality when available. |
object.assistant1 | object | First assistant referee details. |
object.assistant2 | object | Second assistant referee details. |
object.home | object | Home team identity and selected squad. |
object.away | object | Away team identity and selected squad. |
object.home.team, object.away.team | object | Team ID, name, and object type. |
object.home.squad, object.away.squad | array | Players registered in the respective match squad. |
squad[].id | integer | Unique KoraStats player ID. |
squad[].name | string | Player’s full name. |
squad[].nick_name | string | Player’s commonly used or display name. |
squad[].shirt_number | integer | Shirt number assigned to the player for the match. |
squad[].position | object | Player position ID, abbreviation, and object type. |
squad[].lineup | boolean | true when the player is named in the starting lineup. |
squad[].bench | boolean | true when the player is named among the substitutes. |
object.status | object | Match status ID and display value. |
The
squad arrays in the example are shortened for readability. A successful response returns all available squad members for each team. Some official or player fields may be unavailable depending on the match data.