oneapi
Sign in
Financiar v1 / Inflatie

Industrial production value nomenclature

The categories of each NACE revision and of each breakdown, with their level, code and years. The code lists of the two revisions do not translate into one another — which is why they are given separately.

GET
https://oneapi.ro/api/financiar/v1/industrie/productie-valoare/nomenclator

Query parameters

NameTypeDescriptionAccepted values
revizieoptional string | null The CAEN classification of the list: caen_rev1 or caen_rev2. Codes and labels differ between them. caen_rev1caen_rev2

How it behaves

  • The categories of each CAEN revision and each breakdown, with their level, code and years.
  • ⚠️ The two revisions' nomenclatures do not translate into one another — the same numeric code means different activities. That is why they are given separately, not in one merged list.

What it is for

  • Finding the right slug in the revision that matches the period studied.
  • Checking a category's level, so it is not summed with others from a different level.

Response structure

FieldTypeDescription
data.niveluri[].nivel string Level in the classification hierarchy — the deeper, the more detailed.
data.niveluri[].descriere string Plain-language explanation of the value.
data.revizii[].revizie string Source revision the values come from; revisions are not comparable with one another.
data.revizii[].descriere string Plain-language explanation of the value.
data.revizii[].defalcari[] array The breakdowns published in that revision — by activity always, by ownership only in Rev.1.
data.revizii[].defalcari[].defalcare string The breakdown applied to the values.
data.revizii[].defalcari[].categorii[].categorie string Category in the source classification.
data.revizii[].defalcari[].categorii[].denumire string The name, exactly as the source publishes it.
data.revizii[].defalcari[].categorii[].cod_caen string
data.revizii[].defalcari[].categorii[].cerere.caen string The CAEN code to send in caen for this key.
data.revizii[].defalcari[].categorii[].nivel string Level in the classification hierarchy — the deeper, the more detailed.
data.revizii[].defalcari[].categorii[].masuri array Whether that category is published as value, as structure, or as both.
data.revizii[].defalcari[].categorii[].de_la integer Start of the covered interval.
data.revizii[].defalcari[].categorii[].pana_la integer End of the covered interval, inclusive.
meta.sursa string The official source the data comes from, with its licence where one is required.
meta.nota_revizii string A note on how to read the response: a caveat, a convention or a limit of the source.
meta.fara_date data is null and this says why. The projection over 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/industrie/productie-valoare/nomenclator
{
    "data": {
        "niveluri": [
            {
                "nivel": "total",
                "descriere": "totalul industriei"
            }
        ],
        "revizii": [
            {
                "revizie": "caen_rev1",
                "descriere": "CAEN Rev.1, publicată 1997-2008 — 3 secţiuni şi 28 de diviziuni, care formează o partiţie completă",
                "defalcari": [
                    {
                        "defalcare": "activitate",
                        "categorii": [
                            {
                                "categorie": "alimentara_si_bauturi",
                                "denumire": "Alimentara si bauturi",
                                "cod_caen": "15",
                                "cerere": {
                                    "caen": "15"
                                },
                                "nivel": "diviziune",
                                "masuri": [
                                    "structura",
                                    "valoare"
                                ],
                                "de_la": 1997,
                                "pana_la": 2008
                            }
                        ]
                    }
                ]
            }
        ]
    },
    "meta": {
        "sursa": "Institutul Naţional de Statistică — nomenclatoarele matricilor IND103A-IND103E (TEMPO).",
        "nota_revizii": "Acelaşi cod numeric înseamnă activităţi diferite în cele două revizii — „10\" e extracţia cărbunelui în Rev.1 şi industria alimentară în Rev.2. Nomenclatoarele nu se traduc unul în altul."
    }
}

Error codes

CodeSlugWhen it occurs
401neautentificatMissing or invalid token.
403feature_indisponibilfinanciar.indici is not in the current plan.
422validareA parameter failed validation (revizie); detalii says which and why.
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": "validare",
        "mesaj": "A parameter failed validation (revizie); detalii says which and why.",
        "detalii": {
            "revizie": [
                "The value sent does not satisfy the parameter rule."
            ]
        }
    }
}