Overview

The EntityCountries endpoint returns the full list of countries available in the platform. Each country object contains:
  • Country ID
  • Country name
  • Country flag image URL

Typical use cases

  • Populate country dropdown lists
  • Display nationality data
  • Retrieve flag assets for UI rendering
  • Country lookup for entities such as players, coaches, or clubs
GET /api.php

Parameters

module
string
Always use api
api
string
Always use EntityCountries
version
string
API version. Example: V2
response
string
Response format. Always use json
lang
string
Language of the response. Example: en

Example Request

curl --request GET \
  --url "https://korastats.pro/pro/api.php?module=api&api=EntityCountries&version=V2&response=json&lang=en"
{
"type": "object",
"properties": {
"root": {
  "type": "object",
  "properties": {
    "result": {
      "type": "boolean",
      "description": "Indicates whether the request was successful."
    },
    "title": {
      "type": "string",
      "description": "Short response title."
    },
    "message": {
      "type": "string",
      "description": "Human-readable message describing the result."
    },
    "object": {
      "type": "array",
      "description": "List of countries available in the system.",
      "items": {
        "type": "object",
        "properties": {
          "_type": {
            "type": "string",
            "description": "Object type identifier."
          },
          "id": {
            "type": "integer",
            "description": "Unique country identifier."
          },
          "name": {
            "type": "string",
            "description": "Country name."
          },
          "flag": {
            "type": "string",
            "description": "URL to the country flag image."
          }
        }
      }
    }
  }
}
}
}