Skip to main content
GET
/
api
/
velkosti-organizacie
List organisation sizes
curl --request GET \
  --url https://www.registeruz.sk/cruz-public/api/velkosti-organizacie
{
  "klasifikacie": [
    {
      "kod": "<string>",
      "nazov": {
        "sk": "<string>",
        "en": "<string>"
      }
    }
  ]
}
You can use this endpoint to resolve the velkostOrganizacie field from the response on an Accounting unit into a human-readable label.
The source code for this endpoint is the ŠÚSR codelist 0073/KATP97.

Common patterns

Fetch all organisation sizes and find the matching label for a velkostOrganizacie code on an accounting unit.
Resolve an organisation size code
// 1. Fetch all organisation sizes
const { klasifikacie } = await fetch(`${BASE}/api/velkosti-organizacie`).then(r => r.json());

// 2. Resolve the size label for an accounting unit
const size = klasifikacie.find(s => s.kod === unit.velkostOrganizacie);

// 3. Log the organisation size label
console.log(size?.nazov?.sk);

Response

200 - application/json

Organisation sizes returned successfully.

klasifikacie
object[]