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
}
]
}
}
GEThttps://oneapi.ro/api/business/v1/firme/6719278/registre
{
"data": {
"nr_registre": 5,
"registre": [
{
"registru": "anaf_datorii",
"denumire": "Datorii către bugetul general consolidat",
"autoritate": "ANAF",
"licenta": "Guvernare Deschisă v1.0",
"nr_intrari": 1
}
]
}
}
GEThttps://oneapi.ro/api/business/v1/firme/14399840/registre
{
"data": {
"nr_registre": 8,
"registre": [
{
"registru": "anpm_eee",
"denumire": "Producători EEE (echipamente electrice/electronice) — registru ANMAP/ANPM",
"autoritate": "ANMAP",
"licenta": "Guvernare Deschisă v1.0",
"nr_intrari": 1
}
]
}
}
GEThttps://oneapi.ro/api/business/v1/firme/2054341/registre
{
"data": {
"nr_registre": 1,
"registre": [
{
"registru": "mcpds_sponsorizari",
"denumire": "Firme care au dedus sponsorizări către ONG-uri",
"autoritate": "MCPDS",
"licenta": "Guvernare Deschisă (data.gov.ro)",
"nr_intrari": 1
}
]
}
}
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 | The company with tax ID [{cui}] was 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."
]
}
}
}