Financiar v1 / Inflatie
The activity catalogue for local units
The NACE categories the local units economy is published on — 18 in Rev. 2 and 19 in Rev. 1 — with the level, the source's exact name and each one's years.
⚠️ It is not a regular classification in either version: in Rev. 2 three agriculture divisions sit next to eleven sections, a merged R+S pair, two aggregates written out in words and the total; in Rev. 1, eleven lettered sections sit next to six unlettered aggregates and two totals.
GET
https://oneapi.ro/api/financiar/v1/unitati-locale/activitati
Query parameters
This route accepts no query parameters.
How it behaves
- The CAEN categories on which the economy of local units is published — 18 under Rev.2 and 19 under Rev.1 — with each one's level, exact source wording and years.
- ⚠️ This is not a regular classification under either version. Under Rev.2, three divisions split out of agriculture sit next to eleven sections, a merged pair (
R+S), two spelled-out aggregates and the total. Under Rev.1, eleven lettered sections sit next to six aggregates with no letter —industrie(C+D+E),agricultura_vanatoare,silvicultura,posta_telecomunicatii,transport_depozitare,alte_activitati— and two different totals. Codes of different levels do not add together, and the two classifications do not compare code for code. - ⚠️ Four Rev.2 codes are published only between 2008 and 2012:
total,01,02and03. From 2013 the aggregate covering the whole series isindustrie_comert_servicii. - ⚠️ Under Rev.1 it is the reverse: the
industrie_comert_serviciiaggregate and sectionIappear only from 2003, whiletotalis the single code published across all eleven years.
What it is for
- Finding the right code before requesting the 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_versiune
object
How many codes each classification holds.
data.pe_versiune.rev1
integer
Values on the first revision of the classification.
data.pe_versiune.rev2
integer
Values on the second revision of the classification.
data.versiuni
object
The codes grouped by classification and then by level, with the years of each.
data.versiuni.rev1.agregat[].caen
string
The CAEN (NACE) code of the activity, in the series revision.
data.versiuni.rev1.agregat[].denumire
string
The name, exactly as the source publishes it.
data.versiuni.rev1.agregat[].cerere.caen
string
The CAEN code to send in
caen for this key.
data.versiuni.rev1.agregat[].de_la
integer
Start of the covered interval.
data.versiuni.rev1.agregat[].pana_la
integer
End of the covered interval, inclusive.
data.versiuni.rev1.sectiune[].caen
string
The CAEN (NACE) code of the activity, in the series revision.
data.versiuni.rev1.sectiune[].denumire
string
The name, exactly as the source publishes it.
data.versiuni.rev1.sectiune[].cerere.caen
string
The CAEN code to send in
caen for this key.
data.versiuni.rev1.sectiune[].de_la
integer
Start of the covered interval.
data.versiuni.rev1.sectiune[].pana_la
integer
End of the covered interval, inclusive.
data.versiuni.rev1.total[].caen
string
The CAEN (NACE) code of the activity, in the series revision.
data.versiuni.rev1.total[].denumire
string
The name, exactly as the source publishes it.
data.versiuni.rev1.total[].cerere.grupare
string
The value to send in
grupare: the key is a source aggregate, not a CAEN code.
data.versiuni.rev1.total[].de_la
integer
Start of the covered interval.
data.versiuni.rev1.total[].pana_la
integer
End of the covered interval, inclusive.
data.versiuni.rev2.agregat[].caen
string
The CAEN (NACE) code of the activity, in the series revision.
data.versiuni.rev2.agregat[].denumire
string
The name, exactly as the source publishes it.
data.versiuni.rev2.agregat[].cerere.grupare
string
The value to send in
grupare: the key is a source aggregate, not a CAEN code.
data.versiuni.rev2.agregat[].de_la
integer
Start of the covered interval.
data.versiuni.rev2.agregat[].pana_la
integer
End of the covered interval, inclusive.
data.versiuni.rev2.diviziune[].caen
string
The CAEN (NACE) code of the activity, in the series revision.
data.versiuni.rev2.diviziune[].denumire
string
The name, exactly as the source publishes it.
data.versiuni.rev2.diviziune[].cerere.caen
string
The CAEN code to send in
caen for this key.
data.versiuni.rev2.diviziune[].de_la
integer
Start of the covered interval.
data.versiuni.rev2.diviziune[].pana_la
integer
End of the covered interval, inclusive.
data.versiuni.rev2.sectiune[].caen
string
The CAEN (NACE) code of the activity, in the series revision.
data.versiuni.rev2.sectiune[].denumire
string
The name, exactly as the source publishes it.
data.versiuni.rev2.sectiune[].cerere.caen
string
The CAEN code to send in
caen for this key.
data.versiuni.rev2.sectiune[].de_la
integer
Start of the covered interval.
data.versiuni.rev2.sectiune[].pana_la
integer
End of the covered interval, inclusive.
data.versiuni.rev2.sectiuni_comasate[].caen
string
The CAEN (NACE) code of the activity, in the series revision.
data.versiuni.rev2.sectiuni_comasate[].denumire
string
The name, exactly as the source publishes it.
data.versiuni.rev2.sectiuni_comasate[].cerere.grupare
string
The value to send in
grupare: the key is a source aggregate, not a CAEN code.
data.versiuni.rev2.sectiuni_comasate[].de_la
integer
Start of the covered interval.
data.versiuni.rev2.sectiuni_comasate[].pana_la
integer
End of the covered interval, inclusive.
data.versiuni.rev2.total[].caen
string
The CAEN (NACE) code of the activity, in the series revision.
data.versiuni.rev2.total[].denumire
string
The name, exactly as the source publishes it.
data.versiuni.rev2.total[].cerere.grupare
string
The value to send in
grupare: the key is a source aggregate, not a CAEN code.
data.versiuni.rev2.total[].de_la
integer
Start of the covered interval.
data.versiuni.rev2.total[].pana_la
integer
End of the covered interval, inclusive.
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_niveluri
string
What each level means and which of them are comparable.
data.versiuni[][].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/unitati-locale/activitati
{
"data": {
"activitati": 37,
"pe_versiune": {
"rev1": 19,
"rev2": 18
},
"versiuni": {
"rev1": {
"agregat": [
{
"caen": "agricultura_vanatoare",
"denumire": "Agricultura, vanatoare",
"cerere": {
"caen": "01"
},
"de_la": 1998,
"pana_la": 2008
}
],
"sectiune": [
{
"caen": "B",
"denumire": "B Pescuit si piscicultura",
"cerere": {
"caen": "B"
},
"de_la": 1998,
"pana_la": 2008
}
],
"total": [
{
"caen": "total",
"denumire": "Total",
"cerere": {
"grupare": "total"
},
"de_la": 1998,
"pana_la": 2008
}
]
},
"rev2": {
"agregat": [
{
"caen": "imobiliare_si_servicii_firme",
"denumire": "TRANZACTII IMOBILIARE, INCHIRIERI SI ACTIVITATI DE SERVICII PRESTATE IN PRINCIPAL INTREPRINDERILOR (activitati profesionale, stiintifice si tehnice, activitati de servicii administrative si activitati de servicii suport )",
"cerere": {
"grupare": "imobiliare_si_servicii_firme"
},
"de_la": 2008,
"pana_la": 2024
}
],
"diviziune": [
{
"caen": "01",
"denumire": "01 Agricultura, vanatoare si servicii anexe",
"cerere": {
"caen": "01"
},
"de_la": 2008,
"pana_la": 2012
}
],
"sectiune": [
{
"caen": "B",
"denumire": "B INDUSTRIA EXTRACTIVA",
"cerere": {
"caen": "B"
},
"de_la": 2008,
"pana_la": 2024
}
],
"sectiuni_comasate": [
{
"caen": "R+S",
"denumire": "R+S ALTE ACTIVITATI DE SERVICII COLECTIVE, SOCIALE SI PERSONALE",
"cerere": {
"grupare": "R+S"
},
"de_la": 2008,
"pana_la": 2024
}
],
"total": [
{
"caen": "total",
"denumire": "TOTAL",
"cerere": {
"grupare": "total"
},
"de_la": 2008,
"pana_la": 2012
}
]
}
},
"nota": "Dimensiunea nu e o partiţie curată în nicio clasificare. Rev.2 amestecă trei diviziuni desfăcute din agricultură, unsprezece secţiuni, perechea comasată `R+S`, două agregate şi totalul; Rev.1 are unsprezece secţiuni cu literă, şase agregate fără literă şi două totaluri. Codurile de niveluri diferite nu se adună între ele, iar cele două clasificări nu se compară cod cu cod."
},
"meta": {
"sursa": "Institutul Naţional de Statistică — clasificarea aşa cum e publicată în matricile INT102D, INT104D şi INT105D (TEMPO).",
"nota_niveluri": "`sectiune` are o literă, `diviziune` două cifre, `sectiuni_comasate` e perechea `R+S`, iar `agregat` sunt cele două rânduri fără cod de clasificare."
}
}
Error codes
| Code | Slug | When it occurs |
|---|---|---|
| 401 | neautentificat | Missing or invalid token. |
| 403 | feature_indisponibil | financiar.indici is not in the current plan. |
| 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": "neautentificat",
"mesaj": "Missing or invalid token."
}
}