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": []
}
}
GEThttps://oneapi.ro/api/business/v1/firme/6719278/grup
{
"data": {
"lei": null,
"copii": []
}
}
GEThttps://oneapi.ro/api/business/v1/firme/14399840/grup
{
"data": {
"lei": "315700V12MDD9PTKU295",
"copii": [
{
"lei": "315700JBDSJKQFG9Z785",
"denumire": "Delivery Solutions SA",
"cui": 23743772,
"tara": "RO"
}
]
}
}
Error codes
| Code | Slug | When it occurs |
|---|---|---|
| 401 | neautentificat | Token missing, invalid, expired or revoked. |
| 403 | feature_indisponibil | The current plan does not include the feature the route depends on. |
| 404 | negasit | Company [{cui}] not found. |
| 422 | validare | The route takes no parameters apart from lang: any other parameter returns 422 instead of being ignored. |
| 429 | cota_depasita | The 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."
]
}
}
}