oneapi
Sign in
Business v1 / Nomenclatoare

Company statuses

The code list of company statuses (active, dissolution, striking off and so on), grouped by category.

GET
https://oneapi.ro/api/business/v1/stari

Query parameters

This route accepts no query parameters.

How it behaves

  • The possible statuses of a company (active, struck off, insolvency, dissolution, etc.), with the category of each — a reference for interpreting the stare field from the profile.

What it is for

  • Translating the stare field from the profile into a readable label.
  • Populating a status filter in a search interface.
  • Grouping statuses into categories in a risk score.

Response structure

All fields below live inside data[].

FieldTypeDescription
cod string The code.
denumire string | null The name.
categorie string | null The category.

Response examples

GEThttps://oneapi.ro/api/business/v1/stari
{
    "data": [
        {
            "cod": "1048",
            "denumire": "funcțiune",
            "categorie": "activa"
        }
    ]
}

Error codes

CodeSlugWhen it occurs
401neautentificatToken missing, invalid, expired or revoked.
403feature_indisponibilThe current plan does not include the feature the route depends on.
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."
    }
}