Business v1 / Firme
Change history
The history of the company's changes (names, statuses and so on) — the field changed with its old and new value, most recent first. Paginated.
GET
https://oneapi.ro/api/business/v1/firme/{cui}/istoric
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 history of the company's changes in the registry (field, old value, new value, date), paginated. Useful for tracking changes of name, headquarters, legal form.
What it is for
- Finding the name the company had on the date of an old document.
- Detecting changes of headquarters or legal form across a portfolio.
- Feeding an audit trail with a partner's official changes.
Response structure
FieldTypeDescription
data[].camp
string
The field that changed.
data[].valoare_veche
string | null
The value before the change.
data[].valoare_noua
string | null
The value after the change.
data[].snapshot_vechi
string | null
The date of the snapshot before the change.
data[].snapshot_nou
string | null
The date of the snapshot after the change.
meta.paginare.pagina
integer
Pagina curentă.
meta.paginare.per_pagina
integer
Rezultate pe pagină.
meta.paginare.total
integer
Total rezultate.
meta.paginare.pagini
integer
Număr de pagini.
Response examples
GEThttps://oneapi.ro/api/business/v1/firme/6719278/istoric
{
"data": [
{
"camp": "sediu",
"valoare_veche": "Bucureşti Sectorul 6, B-dul Timişoara, Nr. 26, Etaj 2",
"valoare_noua": "Bucureşti Sectorul 6, B-dul Timişoara, Nr. 26, Etaj 2, Cod poștal 61331",
"snapshot_vechi": "2020-08-01",
"snapshot_nou": "2020-12-08"
}
],
"meta": {
"paginare": {
"pagina": 1,
"per_pagina": 20,
"total": 1,
"pagini": 1
}
}
}
GEThttps://oneapi.ro/api/business/v1/firme/14399840/istoric
{
"data": [
{
"camp": "sediu",
"valoare_veche": "Bucureşti Sectorul 6, Şos. VIRTUŢII, Nr. 148, spatiul E47",
"valoare_noua": "Bucureşti Sectorul 6, Şos. VIRTUŢII, Nr. 148, spatiul E47, Cod poștal 60787",
"snapshot_vechi": "2020-08-01",
"snapshot_nou": "2020-12-08"
}
],
"meta": {
"paginare": {
"pagina": 1,
"per_pagina": 20,
"total": 1,
"pagini": 1
}
}
}
GEThttps://oneapi.ro/api/business/v1/firme/2054341/istoric
{
"data": [
{
"camp": "sediu",
"valoare_veche": "Iaşi|Municipiul Iaşi|TĂTĂRAŞI|65",
"valoare_noua": "Neamţ|Municipiul Roman|B-dul REPUBLICII|123-125",
"snapshot_vechi": "2025-10-06",
"snapshot_nou": "2025-11-13"
}
],
"meta": {
"paginare": {
"pagina": 1,
"per_pagina": 20,
"total": 5,
"pagini": 1
}
}
}
GEThttps://oneapi.ro/api/business/v1/firme/24890577/istoric
{
"data": [
{
"camp": "sediu",
"valoare_veche": "Municipiul Gheorgheni, Str. MARGARETEI, Nr. 4, Județ Harghita",
"valoare_noua": "Municipiul Gheorgheni, Str. POMPIERILOR, Nr. 118, Județ Harghita, Cod poștal 535500",
"snapshot_vechi": "2020-08-01",
"snapshot_nou": "2020-12-08"
}
],
"meta": {
"paginare": {
"pagina": 1,
"per_pagina": 20,
"total": 1,
"pagini": 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."
]
}
}
}