curl --request GET \
--url 'https://api.example.com/TournamentStructure?key='{
"result": "boolean",
"title": "string",
"message": "string",
"object": {
"_type": "TOURNAMENT",
"id": "integer",
"tournament": "string",
"season": "string",
"startDate": "YYYY-MM-DD",
"endDate": "YYYY-MM-DD",
"gender": "string",
"ageGroup": {
"_type": "AGE GROUP",
"id": "integer",
"name": "string",
"age": {
"min": "integer|null",
"max": "integer|null"
}
},
"organizer": {
"_type": "ORGANIZER",
"id": "integer",
"name": "string",
"abbrev": "string",
"country": "object|null",
"continent": "object|null"
},
"stages": [
{
"_type": "STAGE",
"id": "integer",
"stage": "string",
"order": "integer",
"rounds": "integer",
"type": "string",
"groups": [
{
"_type": "GROUP",
"id": "integer",
"group": "string",
"teams": [
{
"_type": "TEAM",
"id": "integer",
"team": "string",
"matches": "integer",
"points": "integer",
"goals_scored": "integer",
"goals_conceded": "integer",
"goals_difference": "integer",
"won": "integer",
"draw": "integer",
"lost": "integer",
"goals_scored_home": "integer",
"goals_conceded_home": "integer",
"goals_difference_home": "integer",
"goals_scored_away": "integer",
"goals_conceded_away": "integer",
"goals_difference_away": "integer",
"lastupdate": "YYYY-MM-DD HH:MM:SS"
}
],
"matches": [
{
"_type": "MATCH",
"id": "integer",
"dateTime": "YYYY-MM-DD HH:MM:SS",
"lastUpdateDateTime": "YYYY-MM-DD HH:MM:SS",
"stadium": {
"_type": "STADIUM",
"id": "integer",
"name": "string"
},
"teams": {
"home": {
"_type": "TEAM",
"id": "integer",
"side": "HOME",
"team": "string",
"coach": {
"_type": "COACH",
"id": "integer",
"name": "string",
"dob": "YYYY-MM-DD|null",
"gender": "string|null",
"nationality": "string|object|null"
}
},
"away": {
"_type": "TEAM",
"id": "integer",
"side": "AWAY",
"team": "string",
"coach": {
"_type": "COACH",
"id": "integer",
"name": "string",
"dob": "YYYY-MM-DD|null",
"gender": "string|null",
"nationality": "string|object|null"
}
}
},
"score": {
"home": "integer|null",
"away": "integer|null"
},
"referee": {
"_type": "REFEREE",
"id": "integer",
"name": "string",
"dob": "YYYY-MM-DD|null",
"nationality": "string|object|null"
},
"assistant1": "referee_object|null",
"assistant2": "referee_object|null",
"fourthOfficial": "referee_object|null"
}
]
}
]
}
]
}
}
Returns the full tournament structure (stages, groups, teams, matches) for a given tournament.
curl --request GET \
--url 'https://api.example.com/TournamentStructure?key='{
"result": "boolean",
"title": "string",
"message": "string",
"object": {
"_type": "TOURNAMENT",
"id": "integer",
"tournament": "string",
"season": "string",
"startDate": "YYYY-MM-DD",
"endDate": "YYYY-MM-DD",
"gender": "string",
"ageGroup": {
"_type": "AGE GROUP",
"id": "integer",
"name": "string",
"age": {
"min": "integer|null",
"max": "integer|null"
}
},
"organizer": {
"_type": "ORGANIZER",
"id": "integer",
"name": "string",
"abbrev": "string",
"country": "object|null",
"continent": "object|null"
},
"stages": [
{
"_type": "STAGE",
"id": "integer",
"stage": "string",
"order": "integer",
"rounds": "integer",
"type": "string",
"groups": [
{
"_type": "GROUP",
"id": "integer",
"group": "string",
"teams": [
{
"_type": "TEAM",
"id": "integer",
"team": "string",
"matches": "integer",
"points": "integer",
"goals_scored": "integer",
"goals_conceded": "integer",
"goals_difference": "integer",
"won": "integer",
"draw": "integer",
"lost": "integer",
"goals_scored_home": "integer",
"goals_conceded_home": "integer",
"goals_difference_home": "integer",
"goals_scored_away": "integer",
"goals_conceded_away": "integer",
"goals_difference_away": "integer",
"lastupdate": "YYYY-MM-DD HH:MM:SS"
}
],
"matches": [
{
"_type": "MATCH",
"id": "integer",
"dateTime": "YYYY-MM-DD HH:MM:SS",
"lastUpdateDateTime": "YYYY-MM-DD HH:MM:SS",
"stadium": {
"_type": "STADIUM",
"id": "integer",
"name": "string"
},
"teams": {
"home": {
"_type": "TEAM",
"id": "integer",
"side": "HOME",
"team": "string",
"coach": {
"_type": "COACH",
"id": "integer",
"name": "string",
"dob": "YYYY-MM-DD|null",
"gender": "string|null",
"nationality": "string|object|null"
}
},
"away": {
"_type": "TEAM",
"id": "integer",
"side": "AWAY",
"team": "string",
"coach": {
"_type": "COACH",
"id": "integer",
"name": "string",
"dob": "YYYY-MM-DD|null",
"gender": "string|null",
"nationality": "string|object|null"
}
}
},
"score": {
"home": "integer|null",
"away": "integer|null"
},
"referee": {
"_type": "REFEREE",
"id": "integer",
"name": "string",
"dob": "YYYY-MM-DD|null",
"nationality": "string|object|null"
},
"assistant1": "referee_object|null",
"assistant2": "referee_object|null",
"fourthOfficial": "referee_object|null"
}
]
}
]
}
]
}
}
tournament_id, including:
444).V2).curl --request GET \
--url "https://korastats.com/ks9/api.php?module=api&api=TournamentStructure&version=V2&response=json&lang=en&tournament_id=444&key=YOUR_API_KEY"
{
"result": "boolean",
"title": "string",
"message": "string",
"object": {
"_type": "TOURNAMENT",
"id": "integer",
"tournament": "string",
"season": "string",
"startDate": "YYYY-MM-DD",
"endDate": "YYYY-MM-DD",
"gender": "string",
"ageGroup": {
"_type": "AGE GROUP",
"id": "integer",
"name": "string",
"age": {
"min": "integer|null",
"max": "integer|null"
}
},
"organizer": {
"_type": "ORGANIZER",
"id": "integer",
"name": "string",
"abbrev": "string",
"country": "object|null",
"continent": "object|null"
},
"stages": [
{
"_type": "STAGE",
"id": "integer",
"stage": "string",
"order": "integer",
"rounds": "integer",
"type": "string",
"groups": [
{
"_type": "GROUP",
"id": "integer",
"group": "string",
"teams": [
{
"_type": "TEAM",
"id": "integer",
"team": "string",
"matches": "integer",
"points": "integer",
"goals_scored": "integer",
"goals_conceded": "integer",
"goals_difference": "integer",
"won": "integer",
"draw": "integer",
"lost": "integer",
"goals_scored_home": "integer",
"goals_conceded_home": "integer",
"goals_difference_home": "integer",
"goals_scored_away": "integer",
"goals_conceded_away": "integer",
"goals_difference_away": "integer",
"lastupdate": "YYYY-MM-DD HH:MM:SS"
}
],
"matches": [
{
"_type": "MATCH",
"id": "integer",
"dateTime": "YYYY-MM-DD HH:MM:SS",
"lastUpdateDateTime": "YYYY-MM-DD HH:MM:SS",
"stadium": {
"_type": "STADIUM",
"id": "integer",
"name": "string"
},
"teams": {
"home": {
"_type": "TEAM",
"id": "integer",
"side": "HOME",
"team": "string",
"coach": {
"_type": "COACH",
"id": "integer",
"name": "string",
"dob": "YYYY-MM-DD|null",
"gender": "string|null",
"nationality": "string|object|null"
}
},
"away": {
"_type": "TEAM",
"id": "integer",
"side": "AWAY",
"team": "string",
"coach": {
"_type": "COACH",
"id": "integer",
"name": "string",
"dob": "YYYY-MM-DD|null",
"gender": "string|null",
"nationality": "string|object|null"
}
}
},
"score": {
"home": "integer|null",
"away": "integer|null"
},
"referee": {
"_type": "REFEREE",
"id": "integer",
"name": "string",
"dob": "YYYY-MM-DD|null",
"nationality": "string|object|null"
},
"assistant1": "referee_object|null",
"assistant2": "referee_object|null",
"fourthOfficial": "referee_object|null"
}
]
}
]
}
]
}
}
API key passed as a query parameter named key.
Module selector. Usually 'api'.
The API version
The response returned by the API. The value of this field could be "json" or "xml"
The language is english by default, pass "ar" to return the values in Arabic language.
The tournament ID can be retrieve from the TournamentList API.
Successful response
The response is of type object.