oneapi
Sign in
Business v1 / Nomenclatoare

Legal forms

The code list of legal forms (SRL, SA, PFA and so on), with the number of companies in each.

GET
https://oneapi.ro/api/business/v1/forme-juridice

Query parameters

This route accepts no query parameters.

How it behaves

  • The legal forms (SRL, SA, PFA, etc.) with the number of companies in each — useful for a picker or for structure statistics.

What it is for

  • Populating a legal-form picker in a form.
  • Analysing the structure of the business environment by legal form.
  • Validating a value received in an import.

Response structure

All fields below live inside data[].

FieldTypeDescription
cod string The code.
denumire string | null The name.
este_persoana_fizica boolean The legal form is a natural person (PFA, II, IF).
nr_firme integer The number of companies.
nr_firme_functiune integer

Response examples

GEThttps://oneapi.ro/api/business/v1/forme-juridice
{
    "data": [
        {
            "cod": "SRL",
            "denumire": "SRL",
            "este_persoana_fizica": false,
            "nr_firme": 2666704,
            "nr_firme_functiune": 1190772
        }
    ]
}

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."
    }
}