oneapi
Sign in
Financiar v1 / Inflatie

The activities in the employment accounts

The code lists of the two classifications: the eleven NACE Rev. 2 rows and the thirty-two Rev. 1 ones, each with its level.

GET
https://oneapi.ro/api/financiar/v1/ocupare-conturi/activitati

Query parameters

This route accepts no query parameters.

How it behaves

  • The nomenclatures of the two classifications: the 11 NACE Rev.2 rows — ten aggregated branches plus the total — and the 32 Rev.1 ones, each with its level and the years it appears in.
  • ⚠️ In Rev.1 the levels sit mixed in the same nomenclature: 10 sections, 13 subsections, 7 scattered divisions, "other activities" and the total. They do not add together.
  • The Rev.2 slugs are the same as in /financiar/v1/pib/judete and /financiar/v1/conturi-regionale.

What it is for

  • Finding the activity slug before requesting the series.
  • Checking the level of a Rev.1 row, so it is not mixed into sums.

Response structure

FieldTypeDescription
data.activitati integer Activities for which values exist.
data.pe_clasificare object How many activities each classification holds.
data.pe_clasificare.rev1 integer Values on the first revision of the classification.
data.pe_clasificare.rev2 integer Values on the second revision of the classification.
data.clasificari.rev1[].activitate string The economic activity the value refers to.
data.clasificari.rev1[].denumire string The name, exactly as the source publishes it.
data.clasificari.rev1[].cerere.caen string The CAEN code to send in caen for this key.
data.clasificari.rev1[].nivel string Level in the classification hierarchy — the deeper, the more detailed.
data.clasificari.rev1[].de_la integer Start of the covered interval.
data.clasificari.rev1[].pana_la integer End of the covered interval, inclusive.
data.clasificari.rev2[].activitate string The economic activity the value refers to.
data.clasificari.rev2[].denumire string The name, exactly as the source publishes it.
data.clasificari.rev2[].cerere.grupare string The value to send in grupare: the key is a source aggregate, not a CAEN code.
data.clasificari.rev2[].nivel string Level in the classification hierarchy — the deeper, the more detailed.
data.clasificari.rev2[].de_la integer Start of the covered interval.
data.clasificari.rev2[].pana_la integer End of the covered interval, inclusive.
data.ramuri_rev2 array
data.nota_rev2 string
data.nota_rev1 string
data.nota_periodicitate string
meta.sursa string The official source the data comes from, with its licence where one is required.
meta.nota_niveluri string What each level means and which of them are comparable.
data.clasificari[][].nivel total, ramura in Rev.2; sectiune, subsectiune, diviziune, rest in Rev.1.
meta.fara_date data is null and this says why. The projection over the INS data is empty.
meta.fara_date_cod The short, STABLE word for the reason, for clients that branch on it in code: fara_date is prose and may be rephrased, this is not.

Response examples

GEThttps://oneapi.ro/api/financiar/v1/ocupare-conturi/activitati
{
    "data": {
        "activitati": 43,
        "pe_clasificare": {
            "rev1": 32,
            "rev2": 11
        },
        "clasificari": {
            "rev1": [
                {
                    "activitate": "05",
                    "denumire": "05 Pescuitul, piscicultura si serviciile anexe",
                    "cerere": {
                        "caen": "B"
                    },
                    "nivel": "diviziune",
                    "de_la": 1999,
                    "pana_la": 2008
                }
            ],
            "rev2": [
                {
                    "activitate": "administratie_educatie_sanatate",
                    "denumire": "ADMINISTRATIE PUBLICA SI APARARE; ASIGURARI SOCIALE DIN SISTEMUL PUBLIC; INVATAMANT; SANATATE SI ASISTENTA SOCIALA",
                    "cerere": {
                        "grupare": "administratie_educatie_sanatate"
                    },
                    "nivel": "ramura",
                    "de_la": 1995,
                    "pana_la": 2026
                }
            ]
        },
        "ramuri_rev2": [
            "agricultura",
            "industrie",
            "constructii",
            "comert_transport_horeca",
            "it_comunicatii",
            "financiar_asigurari",
            "imobiliare",
            "profesionale_administrative",
            "administratie_educatie_sanatate",
            "spectacole_alte_servicii"
        ],
        "nota_rev2": "În CAEN Rev.2 sunt cele zece ramuri agregate plus `total`, cu aceleaşi sluguri ca la /financiar/v1/pib/judete şi /financiar/v1/conturi-regionale — se pot pune una lângă alta.",
        "nota_rev1": "⚠️ CAEN Rev.1 amestecă niveluri în clar: secţiuni (`a`, `c`, `d`), subsecţiuni (`ca`, `da`…`dn`), diviziuni răzleţe (`05`, `25`, `55`) plus „Celelalte activităţi\" şi totalul. NU se adună între ele, iar identitatea totalului nu se poate rula acolo.",
        "nota_periodicitate": "Rev.2 e publicată şi anual, şi trimestrial; Rev.1 doar anual, pentru 1999-2008."
    },
    "meta": {
        "sursa": "Institutul Naţional de Statistică — nomenclatoarele matricilor CON108 şi CON109 (TEMPO).",
        "nota_niveluri": "În Rev.1, `sectiune`, `subsectiune` şi `diviziune` stau amestecate în acelaşi nomenclator: nu se adună între ele."
    }
}

Error codes

CodeSlugWhen it occurs
401neautentificatMissing or invalid token.
403feature_indisponibilfinanciar.indici is not in the current plan.
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": "neautentificat",
        "mesaj": "Missing or invalid token."
    }
}