oneapi
Sign in
Financiar v1 / Inflatie

The labour cost components

The thirteen elements, with the level and the validity range of each — the figure that says which years can be compared and which cannot.

GET
https://oneapi.ro/api/financiar/v1/cost-forta-munca/elemente

Query parameters

This route accepts no query parameters.

How it behaves

  • The components published in the labour cost structure, with the level and the validity span of each — the figure that says across which years it compares and across which it does not.
  • ⚠️ Only three components cover the whole 2000-2024 span: the total and the two groups. The details start in 2008, and two of them change definition along the way — the source writes it into the row name.
  • total is exactly 100 everywhere: it is a percentage structure.

What it is for

  • Finding the component slug before requesting the series.
  • Checking the years in which a component is comparable with itself.

Response structure

FieldTypeDescription
data.elemente integer
data.lista[].element string The code-list item the value refers to.
data.lista[].denumire string The name, exactly as the source publishes it.
data.lista[].nivel string Level in the classification hierarchy — the deeper, the more detailed.
data.lista[].valabil_de_la integer The first published year, measured from the data.
data.lista[].valabil_pana_la integer
data.grupe array The two groups that make up the 100% total.
data.nota_total string What the total includes and what stays outside it.
data.nota_valabilitate string
meta.sursa string The official source the data comes from, with its licence where one is required.
meta.nota_unitate string What to know about the unit of measure before comparing or summing values.
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/cost-forta-munca/elemente
{
    "data": {
        "elemente": 13,
        "lista": [
            {
                "element": "alte_cheltuieli",
                "denumire": "Alte cheltuieli",
                "nivel": "detaliu",
                "valabil_de_la": 2008,
                "valabil_pana_la": 2024
            }
        ],
        "grupe": [
            "cheltuieli_directe",
            "cheltuieli_indirecte"
        ],
        "nota_total": "`total` e exact 100 în toate cele 1.700 de celule: e o structură procentuală, nu o sumă de bani.",
        "nota_valabilitate": "⚠️ Componenţa se schimbă de două ori pe parcursul seriei, iar sursa o scrie chiar în numele rândurilor. Doar `total`, `cheltuieli_directe` şi `cheltuieli_indirecte` acoperă tot intervalul 2000-2024; detaliile încep în 2008. `contributie_somaj` ţine până în 2017 şi e înlocuită din 2018 de `contributie_asiguratorie_munca`; `fond_salarii` ţine până în 2019 şi devine `fond_salarii_si_alte_fonduri` din 2020. Nu se compară peste ruptură."
    },
    "meta": {
        "sursa": "Institutul Naţional de Statistică — nomenclatorul matricei FOM112C (TEMPO).",
        "nota_unitate": "Toate valorile seriei sunt în procente din costul total."
    }
}

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