Financiar v1 / Inflatie
The activity catalogue for the employed population
The codes the employed population is published on, separately for the two NACE classifications, with the source's exact name and each one's level.
GET
https://oneapi.ro/api/financiar/v1/populatie-ocupata/activitati
Query parameters
NameTypeDescriptionAccepted values
versiuneoptional
string | null
Optional:
rev2 (default) or rev1.
rev1rev2
How it behaves
- The codes on which the employed population is published, separately for the two CAEN classifications, with the exact source wording and each one's level.
- Rev.2 holds 21 codes: 19 sections,
totalandindustrie. Rev.1 also holds 21, split differently: 14 sections,total,industrieand four spelled-out aggregates. - ⚠️ Codes do not carry across classifications:
Jmeans "Financial intermediation" in Rev.1 and "Information and communication" in Rev.2.
What it is for
- Finding the right code before requesting the series.
- Comparing the structure of the two classifications.
Response structure
FieldTypeDescription
data.versiune_caen
string
The revision the served series comes from.
data.activitati
integer
Activities for which values exist.
data.pe_nivel
object
How many codes each level holds in the requested classification.
data.pe_nivel.agregat
integer
The aggregate the value belongs to.
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.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
string
A note on how to read the data — a pitfall, a convention or a limit of the source.
meta.sursa
string
The official source the data comes from, with its licence where one is required.
meta.nota_versiune
string
A note on how to read the response: a caveat, a convention or a limit of the source.
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/populatie-ocupata/activitati
{
"data": {
"versiune_caen": "rev2",
"activitati": 21,
"pe_nivel": {
"agregat": 1,
"sectiune": 19,
"total": 1
},
"niveluri": {
"agregat": [
{
"caen": "industrie",
"denumire": "INDUSTRIE",
"cerere": {
"grupare": "industrie"
}
}
],
"sectiune": [
{
"caen": "A",
"denumire": "A AGRICULTURA, SILVICULTURA SI PESCUIT",
"cerere": {
"caen": "A"
}
}
],
"total": [
{
"caen": "total",
"denumire": "TOTAL",
"cerere": {
"grupare": "total"
}
}
]
},
"nota": "Codul `industrie` e un agregat peste secţiunile B, C, D, E, nu o secţiune."
},
"meta": {
"sursa": "Institutul Naţional de Statistică — clasificările CAEN aşa cum apar în matricile FOM103A şi FOM103D (TEMPO).",
"nota_versiune": "`rev1` şi `rev2` au coduri şi denumiri diferite; codul cerut trebuie să fie din clasificarea potrivită."
}
}
GEThttps://oneapi.ro/api/financiar/v1/populatie-ocupata/activitati?versiune=rev1
{
"data": {
"versiune_caen": "rev1",
"activitati": 21,
"pe_nivel": {
"agregat": 1,
"grupa": 5,
"sectiune": 14,
"total": 1
},
"niveluri": {
"agregat": [
{
"caen": "industrie",
"denumire": "Industrie",
"cerere": {
"grupare": "industrie"
}
}
],
"grupa": [
{
"caen": "agricultura_vanatoare",
"denumire": "Agricultura, vanatoare",
"cerere": {
"caen": "01"
}
}
],
"sectiune": [
{
"caen": "A",
"denumire": "A Agricultura, vanatoare si silvicultura",
"cerere": {
"caen": "A"
}
}
],
"total": [
{
"caen": "total",
"denumire": "Total",
"cerere": {
"grupare": "total"
}
}
]
},
"nota": "Rev.1 amestecă secţiunile CAEN cu câteva agregate scrise în clar („Industrie\", „Transport si depozitare\"), care apar la nivelul `grupa` şi nu intră în partiţia secţiunilor."
},
"meta": {
"sursa": "Institutul Naţional de Statistică — clasificările CAEN aşa cum apar în matricile FOM103A şi FOM103D (TEMPO).",
"nota_versiune": "`rev1` şi `rev2` au coduri şi denumiri diferite; codul cerut trebuie să fie din clasificarea potrivită."
}
}
GEThttps://oneapi.ro/api/financiar/v1/populatie-ocupata/activitati?versiune=rev2
{
"data": {
"versiune_caen": "rev2",
"activitati": 21,
"pe_nivel": {
"agregat": 1,
"sectiune": 19,
"total": 1
},
"niveluri": {
"agregat": [
{
"caen": "industrie",
"denumire": "INDUSTRIE",
"cerere": {
"grupare": "industrie"
}
}
],
"sectiune": [
{
"caen": "A",
"denumire": "A AGRICULTURA, SILVICULTURA SI PESCUIT",
"cerere": {
"caen": "A"
}
}
],
"total": [
{
"caen": "total",
"denumire": "TOTAL",
"cerere": {
"grupare": "total"
}
}
]
},
"nota": "Codul `industrie` e un agregat peste secţiunile B, C, D, E, nu o secţiune."
},
"meta": {
"sursa": "Institutul Naţional de Statistică — clasificările CAEN aşa cum apar în matricile FOM103A şi FOM103D (TEMPO).",
"nota_versiune": "`rev1` şi `rev2` au coduri şi denumiri diferite; codul cerut trebuie să fie din clasificarea potrivită."
}
}
Error codes
| Code | Slug | When it occurs |
|---|---|---|
| 401 | neautentificat | Missing or invalid token. |
| 403 | feature_indisponibil | financiar.indici is not in the current plan. |
| 422 | validare | A parameter failed validation (versiune); detalii says which and why. |
| 429 | cota_depasita | The 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 (versiune); detalii says which and why.",
"detalii": {
"versiune": [
"The value sent does not satisfy the parameter rule."
]
}
}
}