oneapi
Sign in
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. Without perioada, 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
            }
        ]
    }
}

Error codes

CodeSlugWhen it occurs
401neautentificatToken missing, invalid, expired or revoked.
403feature_indisponibilThe current plan does not include the feature the route depends on.
404negasitNothing exists for the cod in the path.
422validareA parameter failed validation (perioada); detalii says which and why.
429cota_depasitaThe plan's monthly quota has been exceeded (see Retry-After).
negasiteroareNo ONRC series exist for that county code, or there is no data for the requested month.
perioada_invalidaeroareThe 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."
            ]
        }
    }
}