oneapi
Sign in
Financiar v1 / Inflatie

The territories in the regional accounts

The 56 territories — the country, four macro-regions, eight regions, 42 counties and extra_regiuni — with the code, the source's name and how many indicators each one covers.

GET
https://oneapi.ro/api/financiar/v1/conturi-regionale/teritorii

Query parameters

This route accepts no query parameters.

How it behaves

  • The territories published in the regional accounts, grouped by level: the country, four macroregions, eight regions, 42 counties and extra_regiuni. Each with its short code, the exact source wording, and how many indicators it covers.
  • ⚠️ The indicatori field says in advance where what can be requested. Counties carry only two of six — populatie_ocupata and salariati; the other territories carry all six.
  • ⚠️ The code is the same as teritoriu_cod in /financiar/v1/pib/judete and is accepted there as the teritoriu filter. It was needed because the INS sources write the same regions differently from one matrix to the next.
  • extra_regiuni is not a real territory: it is the bucket the source uses for what cannot be allocated geographically. It carries its own level so it never pollutes rankings.

What it is for

  • Finding the territory code before requesting the series.
  • Checking which indicators a territory covers.
  • Joining the regional accounts to regional GDP on the same code.

Response structure

FieldTypeDescription
data.teritorii integer Each concept’s territories, counted by level, with the detail underneath.
data.pe_nivel.extra_regiuni integer
data.pe_nivel.judet integer The county the value refers to.
data.pe_nivel.macroregiune integer
data.pe_nivel.regiune integer
data.pe_nivel.tara integer The country the value refers to.
data.niveluri.extra_regiuni[].teritoriu string The territory the value refers to.
data.niveluri.extra_regiuni[].denumire string The name, exactly as the source publishes it.
data.niveluri.extra_regiuni[].indicatori integer The six indicators with their units.
data.niveluri.judet[].teritoriu string The territory the value refers to.
data.niveluri.judet[].denumire string The name, exactly as the source publishes it.
data.niveluri.judet[].indicatori integer The six indicators with their units.
data.niveluri.macroregiune[].teritoriu string The territory the value refers to.
data.niveluri.macroregiune[].denumire string The name, exactly as the source publishes it.
data.niveluri.macroregiune[].indicatori integer The six indicators with their units.
data.niveluri.regiune[].teritoriu string The territory the value refers to.
data.niveluri.regiune[].denumire string The name, exactly as the source publishes it.
data.niveluri.regiune[].indicatori integer The six indicators with their units.
data.niveluri.tara[].teritoriu string The territory the value refers to.
data.niveluri.tara[].denumire string The name, exactly as the source publishes it.
data.niveluri.tara[].indicatori integer The six indicators with their units.
data.indicatori.remunerare_angajati string
data.indicatori.formare_capital_fix string
data.indicatori.populatie_ocupata string
data.indicatori.salariati string
data.indicatori.ore_lucrate_ocupati string
data.indicatori.ore_lucrate_salariati string
data.ramuri array The ten branches, the same slugs as in /financiar/v1/pib/judete.
data.nota_cod string How to read the code and which code list it comes from.
data.nota_judet string What to know about the county breakdown: what it covers and what stays unattributed.
data.nota_unitati string What to know about the units of measure in the response.
meta.sursa string The official source the data comes from, with its licence where one is required.
meta.nota_extra string A note on how to read the response: a caveat, a convention or a limit of the source.
data.niveluri[].indicatori The six indicators with their units.
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/conturi-regionale/teritorii
{
    "data": {
        "teritorii": 56,
        "pe_nivel": {
            "extra_regiuni": 1,
            "judet": 42,
            "macroregiune": 4,
            "regiune": 8,
            "tara": 1
        },
        "niveluri": {
            "extra_regiuni": [
                {
                    "teritoriu": "extra_regiuni",
                    "denumire": "Extra-regiuni",
                    "indicatori": 6
                }
            ],
            "judet": [
                {
                    "teritoriu": "alba",
                    "denumire": "Alba",
                    "indicatori": 2
                }
            ],
            "macroregiune": [
                {
                    "teritoriu": "macroregiunea_doi",
                    "denumire": "MACROREGIUNEA DOI",
                    "indicatori": 6
                }
            ],
            "regiune": [
                {
                    "teritoriu": "bucuresti_ilfov",
                    "denumire": "Regiunea BUCURESTI - ILFOV",
                    "indicatori": 6
                }
            ],
            "tara": [
                {
                    "teritoriu": "total",
                    "denumire": "TOTAL",
                    "indicatori": 6
                }
            ]
        },
        "indicatori": {
            "remunerare_angajati": "milioane lei",
            "formare_capital_fix": "milioane lei",
            "populatie_ocupata": "mii persoane",
            "salariati": "mii persoane",
            "ore_lucrate_ocupati": "mii ore",
            "ore_lucrate_salariati": "mii ore"
        },
        "ramuri": [
            "agricultura",
            "industrie",
            "constructii",
            "comert_transport_horeca",
            "it_comunicatii",
            "financiar_asigurari",
            "imobiliare",
            "profesionale_administrative",
            "administratie_educatie_sanatate",
            "spectacole_alte_servicii"
        ],
        "nota_cod": "Codul e acelaşi cu `teritoriu_cod` din /financiar/v1/pib/judete şi e acceptat acolo şi ca filtru `teritoriu`. A fost nevoie de el fiindcă sursele INS scriu aceleaşi regiuni altfel: `Total` faţă de `TOTAL`, `Regiunea Nord -Vest` faţă de `Regiunea NORD-VEST`.",
        "nota_judet": "Numai `populatie_ocupata` şi `salariati` coboară la judeţ; ceilalţi patru indicatori se opresc la regiune. Câmpul `indicatori` spune câţi acoperă fiecare teritoriu.",
        "nota_unitati": "Indicatorii au unităţi diferite şi nu se adună între ei."
    },
    "meta": {
        "sursa": "Institutul Naţional de Statistică — nomenclatorul matricilor CON116A-CON120A (TEMPO).",
        "nota_extra": "`extra_regiuni` nu e un teritoriu real: e coşul în care sursa pune ce nu se repartizează geografic. Are nivel propriu, ca să nu polueze clasamentele."
    }
}

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