Financiar v1 / Inflatie
The category catalogue for regional GDP
The fifteen published rows, grouped by their four kinds: branches, aggregate, transition elements and total, with the source's exact name.
GET
https://oneapi.ro/api/financiar/v1/pib/judete/categorii
Query parameters
This route accepts no query parameters.
How it behaves
- The rows published in regional GDP, grouped by level, with the exact source wording: ten branches, the
vabaggregate, three transition elements and thepibrtotal. - ⚠️ The four kinds do not add together. The branches compose value added; the transition elements carry it up to GDP.
- ⚠️
subventiiis published with a negative sign and is ADDED in the identity, not subtracted.
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.categorii
integer
Available categories.
data.pe_nivel
object
How many codes each kind of row holds.
data.pe_nivel.agregat
integer
The aggregate the value belongs to.
data.pe_nivel.element_trecere
integer
data.pe_nivel.ramura
integer
Branch of activity.
data.pe_nivel.total
integer
data.niveluri.agregat[].categorie
string
Category in the source classification.
data.niveluri.agregat[].denumire
string
The name, exactly as the source publishes it.
data.niveluri.agregat[].cerere.categorie
string
The value to send in
categorie: the key is not an activity (ownership form, accounts row).
data.niveluri.element_trecere[].categorie
string
Category in the source classification.
data.niveluri.element_trecere[].denumire
string
The name, exactly as the source publishes it.
data.niveluri.element_trecere[].cerere.categorie
string
The value to send in
categorie: the key is not an activity (ownership form, accounts row).
data.niveluri.ramura[].categorie
string
Category in the source classification.
data.niveluri.ramura[].denumire
string
The name, exactly as the source publishes it.
data.niveluri.ramura[].cerere.grupare
string
The value to send in
grupare: the key is a source aggregate, not a CAEN code.
data.niveluri.total[].categorie
string
Category in the source classification.
data.niveluri.total[].denumire
string
The name, exactly as the source publishes it.
data.niveluri.total[].cerere.categorie
string
The value to send in
categorie: the key is not an activity (ownership form, accounts row).
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_semn
string
What the sign of the value means (inflow/outflow, rise/fall).
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/pib/judete/categorii
{
"data": {
"categorii": 15,
"pe_nivel": {
"agregat": 1,
"element_trecere": 3,
"ramura": 10,
"total": 1
},
"niveluri": {
"agregat": [
{
"categorie": "vab",
"denumire": "Valoarea adaugata bruta regionala (VABR)",
"cerere": {
"categorie": "vab"
}
}
],
"element_trecere": [
{
"categorie": "impozite",
"denumire": "Impozite pe produs",
"cerere": {
"categorie": "impozite"
}
}
],
"ramura": [
{
"categorie": "administratie_educatie_sanatate",
"denumire": "Administratie publica si aparare; asigurari sociale din sistemul public; invatamant; sanatate si asistenta sociala",
"cerere": {
"grupare": "administratie_educatie_sanatate"
}
}
],
"total": [
{
"categorie": "pibr",
"denumire": "Produs intern brut regional (PIBR) - total",
"cerere": {
"categorie": "pibr"
}
}
]
},
"nota": "Cele trei feluri de rânduri nu se amestecă: `ramura` sunt cele zece componente ale valorii adăugate, `agregat` e chiar valoarea adăugată, `element_trecere` sunt impozitele, subvenţiile şi taxele vamale care duc de la ea la PIB, iar `total` e PIB-ul regional."
},
"meta": {
"sursa": "Institutul Naţional de Statistică — nomenclatorul matricei CON103J (TEMPO).",
"nota_semn": "Categoria `subventii` e publicată cu semn negativ şi se ADUNĂ în identitatea PIB, nu se scade."
}
}
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."
}
}