Business v1 / Statistici ONRC
County ONRC profile
Every ONRC indicator for one county, at a given month (the latest by default). {cod} is the county's SIRUTA code — the same one used in the Locations module.
GET
https://oneapi.ro/api/business/v1/statistici/onrc/judete/{cod}
Path parameters
NameTypeDescriptionExample
codrequired
string
County key in the ONRC series — the SIRUTA code, not the two-letter abbreviation.
Query parameters
NameTypeDescriptionAccepted values
perioadaoptional
string | null
The month you want, as
YYYY-MM. Defaults to the latest available.
e.g. 2026-07
How it behaves
- The full picture of a county in one request: incorporations, removals, suspensions, dissolutions, insolvencies, SRL-D and the foreign capital attracted that month — each with its year-on-year change.
{cod}is the county SIRUTA code, the same one the Locations module returns, so the profile joins directly to the rest of the platform. Withoutperioada, the last month in which the county appears is used.
What it is for
- A county's monthly snapshot in one call, for a local report.
- Comparing a county with itself, month by month.
- A regional panel that does not require six separate calls.
Response structure
All fields below live inside data.
FieldTypeDescription
cheie
string
The county name, from the Locations nomenclature.
perioada
string
The month the values belong to, as
YYYY-MM.
indicatori[].indicator
string
The indicator code.
indicatori[].denumire
string
Its name.
indicatori[].natura
string
flux_cumulat, flux_lunar or stoc.
indicatori[].unitate
string
The unit of measure.
indicatori[].valoare
number
The value for that month.
indicatori[].valoare_an_anterior
number|null
The same period a year earlier, from the source.
indicatori[].variatie
number|null
The percentage change against the previous year, or
null when there is nothing to compare against.
Response examples
GEThttps://oneapi.ro/api/business/v1/statistici/onrc/judete/127
{
"data": {
"cheie": "Cluj",
"perioada": "2026-07",
"indicatori": [
{
"indicator": "cap_strain_noi_eur",
"denumire": "Capital străin subscris în lună",
"natura": "flux_lunar",
"unitate": "EUR",
"valoare": 24908,
"valoare_an_anterior": null,
"variatie": null
}
]
}
}
GEThttps://oneapi.ro/api/business/v1/statistici/onrc/judete/B
{
"data": {
"cheie": "București",
"perioada": "2026-07",
"indicatori": [
{
"indicator": "dizolvari",
"denumire": "Dizolvări",
"natura": "flux_cumulat",
"unitate": "firme",
"valoare": 7302,
"valoare_an_anterior": 6206,
"variatie": 17.66
}
]
}
}
GEThttps://oneapi.ro/api/business/v1/statistici/onrc/judete/54975
{
"data": null,
"meta": {
"fara_date": "Nu există serii ONRC pentru judeţul cu codul [54975]. Se acceptă codul auto (`AB`) sau codul SIRUTA; lista e la /business/v1/statistici/onrc/chei.",
"fara_date_cod": "indisponibil"
}
}
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 | Nothing exists for the cod in the path. |
| 422 | validare | A parameter failed validation (perioada); detalii says which and why. |
| 429 | cota_depasita | The plan's monthly quota has been exceeded (see Retry-After). |
| negasit | eroare | No ONRC series exist for that county code, or there is no data for the requested month. |
| perioada_invalida | eroare | The period is written as YYYY-MM. |
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": "A parameter failed validation (perioada); detalii says which and why.",
"detalii": {
"cod": [
"The value sent does not satisfy the parameter rule."
]
}
}
}