oneapi
Sign in
Business v1 / Firme

Authorisation registers

Which registers (of the 42: pharmacies, schools, NGOs, sanctions, stock exchange issuers, energy and so on) the company appears in, with the entry's details (attributes) and the issuing authority.

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

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 summary of the company's authorisations by register (ANSVSA, ANAF, ANRSC, etc.): each register with the number of entries, not each entry. A company can have hundreds of authorised units — the detail is at the per-register route.
  • The detailed entries of a specific register are at /firme/{cui}/registre/{registru}, paginated.

What it is for

  • An overview: which registers the company is authorised in, and with how many entries.
  • Checking that a supplier holds the required sector authorisation.
  • The starting point for detail — the register key is taken from here.

Response structure

All fields below live inside data.

FieldTypeDescription
nr_registre integer The number of registers it appears in.
registre[].registru string The register key (to use at /firme/{cui}/registre/{registru}).
registre[].denumire string | null The name.
registre[].autoritate string | null The authority that maintains the register.
registre[].licenta string | null The licence the register is published under.
registre[].nr_intrari integer The number of entries.

Response examples

GEThttps://oneapi.ro/api/business/v1/firme/24890577/registre
{
    "data": {
        "nr_registre": 2,
        "registre": [
            {
                "registru": "ansvsa",
                "denumire": "Unități autorizate/înregistrate sanitar-veterinar (DSVSA județene)",
                "autoritate": "ANSVSA",
                "licenta": "ANSVSA – date publice",
                "nr_intrari": 3
            }
        ]
    }
}

Error codes

CodeSlugWhen it occurs
401neautentificatToken missing, invalid, expired or revoked.
403feature_indisponibilThe current plan does not include the feature the route depends on.
404negasitThe company with tax ID [{cui}] was 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."
            ]
        }
    }
}