oneapi
Sign in
Financiar v1 / Inflatie

The activity catalogue for employees

The 68 NACE codes employees and their earnings are published on — 19 sections, 47 divisions, plus total and industrie — with the source's exact name.

⚠️ industrie is an aggregate over sections B, C, D and E, not a section. Some divisions are merged by the source into pairs, such as 02-03.

GET
https://oneapi.ro/api/financiar/v1/salariati/activitati

Query parameters

This route accepts no query parameters.

How it behaves

  • The codes on which employees and their earnings are published: 19 sections, 47 divisions, plus total and industrie, each with the exact source wording.
  • ⚠️ industrie is a partial aggregate, not a section — it covers exactly sections B, C, D and E. It is the only code at the agregat level and belongs to no partition.
  • Four divisions are merged by the source into pairs: 02-03, 38-39, 59-60, 62-63. The code is requested as it is, with the hyphen.

What it is for

  • Finding an activity's code before requesting its series.
  • Checking a code's level, so it is not mixed into sums.

Response structure

FieldTypeDescription
data.activitati integer Activities for which values exist.
data.pe_nivel object How many codes each level holds.
data.pe_nivel.agregat integer The aggregate the value belongs to.
data.pe_nivel.diviziune integer
data.pe_nivel.sectiune integer Section of the classification — the broadest level.
data.pe_nivel.total integer
data.niveluri.agregat[].caen string The CAEN (NACE) code of the activity, in the series revision.
data.niveluri.agregat[].denumire string The name, exactly as the source publishes it.
data.niveluri.agregat[].cerere.grupare string The value to send in grupare: the key is a source aggregate, not a CAEN code.
data.niveluri.diviziune[].caen string The CAEN (NACE) code of the activity, in the series revision.
data.niveluri.diviziune[].denumire string The name, exactly as the source publishes it.
data.niveluri.diviziune[].cerere.caen string The CAEN code to send in caen for this key.
data.niveluri.sectiune[].caen string The CAEN (NACE) code of the activity, in the series revision.
data.niveluri.sectiune[].denumire string The name, exactly as the source publishes it.
data.niveluri.sectiune[].cerere.caen string The CAEN code to send in caen for this key.
data.niveluri.total[].caen string The CAEN (NACE) code of the activity, in the series revision.
data.niveluri.total[].denumire string The name, exactly as the source publishes it.
data.niveluri.total[].cerere.grupare string The value to send in grupare: the key is a source aggregate, not a CAEN code.
data.nota_industrie string What the industrial perimeter used here covers.
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.niveluri[].denumire The exact wording published by INS.
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/salariati/activitati
{
    "data": {
        "activitati": 68,
        "pe_nivel": {
            "agregat": 1,
            "diviziune": 47,
            "sectiune": 19,
            "total": 1
        },
        "niveluri": {
            "agregat": [
                {
                    "caen": "industrie",
                    "denumire": "INDUSTRIE",
                    "cerere": {
                        "grupare": "industrie"
                    }
                }
            ],
            "diviziune": [
                {
                    "caen": "01",
                    "denumire": "01 Agricultura, vanatoare si servicii anexe",
                    "cerere": {
                        "caen": "01"
                    }
                }
            ],
            "sectiune": [
                {
                    "caen": "A",
                    "denumire": "A  AGRICULTURA, SILVICULTURA SI PESCUIT",
                    "cerere": {
                        "caen": "A"
                    }
                }
            ],
            "total": [
                {
                    "caen": "total",
                    "denumire": "TOTAL",
                    "cerere": {
                        "grupare": "total"
                    }
                }
            ]
        },
        "nota_industrie": "Codul `industrie` e un agregat parţial, nu o secţiune: acoperă exact secţiunile B, C, D, E. Adunat lângă ele, numără industria de două ori."
    },
    "meta": {
        "sursa": "Institutul Naţional de Statistică — clasificarea CAEN Rev.2 aşa cum e publicată în matricile FOM (TEMPO).",
        "nota_niveluri": "`sectiune` are o literă, `diviziune` două cifre (uneori comasate, ca `02-03`), iar `total` şi `agregat` sunt cele două rânduri care nu ţin de clasificare."
    }
}

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."
    }
}