Financiar v1 / Inflatie
The transaction catalogue for the sector accounts
The eighty-one published ESA transactions, grouped by their depth in the tree, with the source's exact name and with how many sectors and how many sides each one has.
GET
https://oneapi.ro/api/financiar/v1/conturi-sectoare/tranzactii
Query parameters
This route accepts no query parameters.
How it behaves
- The transactions published in the quarterly sector accounts, grouped by their depth in the tree, with the exact source wording and with how many sectors and how many sides each one carries: 38 at depth 0, 24 at 1, 14 at 2 and 5 at 3.
- ⚠️ Depth is not decorative. A depth-1 code is a component of the one above it, not an addition; added together they would count the same flows twice.
- The sector count tells in advance where a comparison can be run:
B1GQcarries a single sector (the total economy), whereasD1carries all six.
What it is for
- Finding the right code before requesting the series.
- Checking a code's depth, so it is not mixed into sums.
Response structure
FieldTypeDescription
data.tranzactii
integer
data.pe_adancime
array
How many transactions each level holds.
data.adancimi[][].cod
string
Code from the source code list — the key you filter on.
data.adancimi[][].denumire
string
The name, exactly as the source publishes it.
data.adancimi[][].unitate
string
Unit of measure of the values. Read it before plotting or summing them.
data.adancimi[][].sectoare
integer
Available sectors.
data.adancimi[][].laturi
integer
Account sides for which values exist.
data.nota
string
A note on how to read the data — a pitfall, a convention or a limit of the source.
data.nota_defalcare
string
data.motive_defalcare.B4G
string
data.motive_defalcare.D2
string
data.motive_defalcare.D3
string
meta.sursa
string
The official source the data comes from, with its licence where one is required.
meta.nota_unitate
string
What to know about the unit of measure before comparing or summing values.
data.adancimi[].sectoare
For how many of the six sectors the source publishes the transaction.
data.adancimi[].laturi
One or two — some transactions appear only as resources, others on both sides.
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-sectoare/tranzactii
{
"data": {
"tranzactii": 81,
"pe_adancime": [
38,
24,
14,
5
],
"adancimi": [
[
{
"cod": "B101",
"denumire": "Variatii ale valorii nete datorate economiei si transferurilor de capital",
"unitate": "milioane lei",
"sectoare": 6,
"laturi": 1
}
]
],
"nota": "Adâncimea vine din liniuţele pe care sursa le pune în faţa denumirii: zero e nivelul de sus, iar fiecare liniuţă coboară un nivel. Codurile de adâncimi diferite nu se adună între ele — ar număra aceleaşi fluxuri de mai multe ori.",
"nota_defalcare": "Tranzacţiile B4G, D2, D3 nu au aceeaşi defalcare pe sectoare ca restul: acolo economia totală nu e suma sectoarelor interne.",
"motive_defalcare": {
"B4G": "Rândul economiei totale e publicat constant zero în toate cele 109 trimestre: sursa nu însumează venitul întreprinderii peste sectoare. Sectoarele au valori, totalul nu.",
"D2": "Totalul cuprinde impozitele pe produse, pe care sursa nu le repartizează pe sectorul care le plăteşte; suma sectoarelor rămâne sub total la utilizări.",
"D3": "Totalul cuprinde subvenţiile pe produse, nerepartizate pe sectorul care le încasează; suma sectoarelor rămâne sub total la resurse."
}
},
"meta": {
"sursa": "Institutul Naţional de Statistică — nomenclatorul matricei CON112A (TEMPO).",
"nota_unitate": "Valorile sunt în milioane lei, preţuri curente — cu excepţia celor două rânduri de ocupare: `EMP_PS_DC` în mii persoane şi `EMP_HW_DC` în mii ore lucrate, deşi sursa declară „Milioane lei\" pe toată matricea."
}
}
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."
}
}