oneapi
Sign in
Business v1 / Firme

Group (LEI)

The ownership hierarchy as GLEIF declares it through the LEI code: the direct parent, the ultimate parent and the known subsidiaries. It exists only for companies holding a LEI.

GET
https://oneapi.ro/api/business/v1/firme/{cui}/grup

Path parameters

NameTypeDescriptionExample
cuirequired string The company tax identification number, without the RO prefix (e.g. 6719278).

Query parameters

This route accepts no query parameters.

How it behaves

  • The group the company belongs to, per the ownership hierarchy declared in the LEI system (direct and ultimate parent). Available only for companies with a LEI code.

What it is for

  • Consolidating exposure at group level rather than per company in a credit portfolio.
  • Identifying the ultimate parent for compliance reporting.
  • Tracing a partner's cross-border ownership.

Response structure

All fields below live inside data.

FieldTypeDescription
lei string The LEI (Legal Entity Identifier) code.
copii[] object[] The child companies in the group.

Response examples

GEThttps://oneapi.ro/api/business/v1/firme/2054341/grup
{
    "data": {
        "lei": "097900BFJD0000032849",
        "copii": []
    }
}

Error codes

CodeSlugWhen it occurs
401neautentificatToken missing, invalid, expired or revoked.
403feature_indisponibilThe current plan does not include the feature the route depends on.
404negasitCompany [{cui}] not found.
422validareThe route takes no parameters apart from lang: any other parameter returns 422 instead of being ignored.
429cota_depasitaThe plan's monthly quota has been exceeded (see Retry-After).

All errors share the same shape. eroare.cod is stable and is the value you should branch on in code — not the text in mesaj, which may change.

{
    "eroare": {
        "cod": "validare",
        "mesaj": "The route takes no parameters apart from lang: any other parameter returns 422 instead of being ignored.",
        "detalii": {
            "cui": [
                "The value sent does not satisfy the parameter rule."
            ]
        }
    }
}