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

Common patterns

Fetch all ownership types and find the matching label for a druhVlastnictva code on an accounting unit.
Resolve an ownership type code
// 1. Fetch all ownership types
const { klasifikacie } = await fetch(`${BASE}/api/druhy-vlastnictva`).then(r => r.json());

// 2. Resolve the ownership label for an accounting unit
const ownership = klasifikacie.find(o => o.kod === unit.druhVlastnictva);

// 3. Log the ownership type label
console.log(ownership?.nazov?.sk);

Response

200 - application/json

Ownership types returned successfully.

klasifikacie
object[]