Energie v1 / Balanţe energetice
Final energy consumption in industry
How much energy industry actually consumes, across 19 activities — 2,413 values, annually 1992–2024 (IND109A, IND112A, IND113A), on the same three carriers as the balance.
⚠️ The carrier is part of the series' identity, as in the balance: the same 19 activities in thousand toe, million kWh and thousand Gcal / terajoules. They are not additive across carriers.
⚠️ This is final energy consumption — energy burned as energy, not energy used as feedstock; non-energy use is a separate element in the balance, on the /balante/elemente route.
GET
https://oneapi.ro/api/energie/v1/balante/consum-industrie
Query parameters
NameTypeDescriptionAccepted values
purtatoroptional
string | null
total (default), electrica or termica.
totalelectricatermica
umoptional
string | null
The unit. Only useful for
termica.
e.g. mii_gigacalorii
de_laoptional
string | null
First year included, from 1992.
e.g. 2010
pana_laoptional
string | null
Last year included.
e.g. 2024
caenoptional
string | null
Any CAEN code — section, division, group, class — from any revision; it is brought to the balance activity that contains it.
e.g. 2410
caen_versiuneoptional
string | null
The revision of the
caen code (1, 2, 3), when its form is ambiguous. Without it, the code is looked up in Rev.2 first.
123
grupareoptional
string | null
industrie_inclusiv_constructii — the total, which is not a CAEN code. Not sent together with caen.
e.g. industrie_inclusiv_constructii
How it behaves
- How much energy industry actually consumes, across 19 activities — 2,413 values, annual 1992-2024 (
IND109A,IND112A,IND113A), on the same three carriers as the balance. - The carrier is part of the series identity, as in the balance: the same 19 activities in ktoe, million kWh and thousand Gcal / terajoules. They do not add up across carriers.
- This is final energy consumption — energy burned as energy, not energy used as feedstock. Non-energy use is a separate element of the balance, at
/energie/v1/balante/elemente. - Activity is requested the same way across the platform:
caentakes any CAEN code, from any revision, and brings it to the balance activity that contains it — a division (24metals), a group of divisions (25–30metal products, machinery and equipment) or sectionF;meta.caenstates what was used.grupare=industrie_inclusiv_constructiiis the total. The nomenclature givescerereon each activity.
What it is for
- See which industrial branches consume the most energy and how that changed.
- Compare the electric and thermal consumption of the same activity.
- Measure deindustrialisation through energy consumed rather than output.
Response structure
FieldTypeDescription
data.purtator
string
Purtătorul cerut.
data.serii[].activitate
string
Slugul activităţii industriale.
data.serii[].um
string
Unitatea seriei.
data.serii[].valori
object
An → valoare, ca text zecimal.
data.granularitate
string
The series step. For balances it is always
anual: INS publishes the balance once a year.
data.de_la
integer
First year in the response.
data.pana_la
integer
Last year in the response.
data.filtre
object
The filters actually applied, so you can see what was read from the request.
data.ani
array
The years covered, in order — the keys inside
valori.
data.serii[].um_denumire
string
The unit of measure spelled out. Read it: series in the same response can use different units, and adding them would mean nothing.
data.serii[].ani_publicati
integer
How many years carry an actual value. The difference from the length of
ani is the gaps in INS publication.
meta.sursa
string
The INS dataset the series comes from, with the source matrix.
meta.acoperire
object
The year range available in the database for this zone, regardless of the filter requested.
meta.serii_returnate
integer
How many series are in the response.
data.descriere_purtator
string
What that carrier covers.
data.serii[].activitate_denumire
string
The branch name.
meta.nota_purtator
string
What the requested carrier includes.
meta.nota_concept
string
What "industrial consumption" means at INS — it is not the whole economy's consumption.
meta.nota_sen
string
The relationship with the real-time data in the
sen zone.
meta.nota_lista
string
Where the activity codes are.
meta.caen
object
How the
caen parameter was understood: the requested code, the revision it was read in and the code the route used. For a list of codes, one object per code.
meta.caen.cerut
string
The CAEN code sent, normalised (upper case, no dots).
meta.caen.versiune_cerut
string
The revision the code sent was read in: the one in
caen_versiune, otherwise the first it exists in.
meta.caen.folosit
string
The code the series used: the requested one, its first published parent or the source aggregate that contains it (
02-03).
meta.caen.cod
string
The CAEN code the key used stands for, when the series names its activities differently (
agricultura = 01) or the key is an aggregate (62-63).
meta.caen.nivel
string
The level of the code used — on company routes, of the requested code:
sectiune, subsectiune, diviziune, grupa, clasa or agregat.
meta.caen.denumire
string
The name of the code, from the CAEN nomenclature.
meta.caen.versiune_serie
string
The CAEN revision the series is published in.
meta.caen.conversie
boolean
true when the code was translated from one revision to another through the official INS correspondence.
meta.caen.urcat
boolean
true when the series does not publish the requested code and a higher level was used.
Response examples
GEThttps://oneapi.ro/api/energie/v1/balante/consum-industrie?de_la=2015
{
"data": {
"purtator": "total",
"descriere_purtator": "energie totală, în mii tone echivalent petrol (tep)",
"granularitate": "anual",
"de_la": 2015,
"pana_la": 2024,
"filtre": {
"purtator": "total"
},
"ani": [
2015,
2016,
2017,
2018,
2019,
2020,
2021,
2022,
2023,
2024
],
"serii": [
{
"activitate": "alimentara_bauturi_si_tutun",
"activitate_denumire": "Alimentara, bauturi si tutun",
"um": "mii_tone_echivalent_petrol",
"um_denumire": "Mii tone echivalent petrol",
"ani_publicati": 10,
"valori": {
"2015": "565",
"2016": "574",
"2017": "582",
"2018": "537",
"2019": "575",
"2020": "553",
"2021": "570",
"2022": "609",
"2023": "528",
"2024": "539"
}
}
]
},
"meta": {
"sursa": "Institutul Naţional de Statistică — balanţele energetice (TEMPO, matricile IND107A-IND121A).",
"acoperire": {
"de_la": "1992-01-01",
"pana_la": "2024-01-01"
},
"serii_returnate": 19,
"nota_purtator": "⚠️ Cei trei purtători sunt aceleaşi activităţi în unităţi diferite. Nu se adună între ei.",
"nota_concept": "E consumul FINAL ENERGETIC — energia arsă ca energie. Cea folosită ca materie primă e „Neenergetic\", element separat la /energie/v1/balante/elemente.",
"nota_sen": "Sunt date statistice anuale. Starea instantanee a sistemului, de la Transelectrica, e la /energie/v1/sen — altă natură, nu se compară.",
"nota_lista": "Nomenclatoarele zonei: /energie/v1/balante/nomenclator."
}
}
GEThttps://oneapi.ro/api/energie/v1/balante/consum-industrie?purtator=electrica&caen=24
{
"data": {
"purtator": "electrica",
"descriere_purtator": "energie electrică, în milioane kWh",
"granularitate": "anual",
"de_la": 1992,
"pana_la": 2024,
"filtre": {
"purtator": "electrica",
"activitate": "metalurgie"
},
"ani": [
1992,
1993,
1994,
1995,
1996,
1997,
1998,
1999,
2000,
2001,
2002,
2003,
2004,
2005,
2006,
2007,
2008,
2009,
2010,
2011,
2012,
2013,
2014,
2015,
2016,
2017,
2018,
2019,
2020,
2021,
2022,
2023,
2024
],
"serii": [
{
"activitate": "metalurgie",
"activitate_denumire": "Metalurgie",
"um": "milioane_kilowatti_ora",
"um_denumire": "Milioane kilowatti-ora",
"ani_publicati": 33,
"valori": {
"1992": "6984",
"1993": "6762",
"1994": "6790",
"1995": "7439",
"1996": "7352",
"1997": "7912",
"1998": "7558",
"1999": "7346",
"2000": "5893",
"2001": "7271",
"2002": "6966",
"2003": "7220",
"2004": "8544",
"2005": "8463",
"2006": "8499",
"2007": "8327",
"2008": "7826",
"2009": "5540",
"2010": "6703",
"2011": "6757",
"2012": "6352",
"2013": "5263",
"2014": "5375",
"2015": "5694",
"2016": "5635",
"2017": "5899",
"2018": "5899",
"2019": "5647",
"2020": "5092",
"2021": "5252",
"2022": "4398",
"2023": "3639",
"2024": "3683"
}
}
]
},
"meta": {
"sursa": "Institutul Naţional de Statistică — balanţele energetice (TEMPO, matricile IND107A-IND121A).",
"acoperire": {
"de_la": "1992-01-01",
"pana_la": "2024-01-01"
},
"serii_returnate": 1,
"nota_purtator": "⚠️ Cei trei purtători sunt aceleaşi activităţi în unităţi diferite. Nu se adună între ei.",
"nota_concept": "E consumul FINAL ENERGETIC — energia arsă ca energie. Cea folosită ca materie primă e „Neenergetic\", element separat la /energie/v1/balante/elemente.",
"nota_sen": "Sunt date statistice anuale. Starea instantanee a sistemului, de la Transelectrica, e la /energie/v1/sen — altă natură, nu se compară.",
"nota_lista": "Nomenclatoarele zonei: /energie/v1/balante/nomenclator.",
"caen": {
"cerut": "24",
"versiune_cerut": "Rev.2",
"folosit": "metalurgie",
"cod": "24",
"nivel": "diviziune",
"denumire": "Industria metalurgică",
"versiune_serie": "Rev.2",
"conversie": false,
"urcat": false
}
}
}
GEThttps://oneapi.ro/api/energie/v1/balante/consum-industrie?caen=2712&de_la=2015
{
"data": {
"purtator": "total",
"descriere_purtator": "energie totală, în mii tone echivalent petrol (tep)",
"granularitate": "anual",
"de_la": 2015,
"pana_la": 2024,
"filtre": {
"purtator": "total",
"activitate": "constructii_metalice_masini_si_echipamente"
},
"ani": [
2015,
2016,
2017,
2018,
2019,
2020,
2021,
2022,
2023,
2024
],
"serii": [
{
"activitate": "constructii_metalice_masini_si_echipamente",
"activitate_denumire": "Constructii metalice, masini si echipamente",
"um": "mii_tone_echivalent_petrol",
"um_denumire": "Mii tone echivalent petrol",
"ani_publicati": 10,
"valori": {
"2015": "579",
"2016": "578",
"2017": "625",
"2018": "726",
"2019": "721",
"2020": "657",
"2021": "667",
"2022": "702",
"2023": "669",
"2024": "690"
}
}
]
},
"meta": {
"sursa": "Institutul Naţional de Statistică — balanţele energetice (TEMPO, matricile IND107A-IND121A).",
"acoperire": {
"de_la": "1992-01-01",
"pana_la": "2024-01-01"
},
"serii_returnate": 1,
"nota_purtator": "⚠️ Cei trei purtători sunt aceleaşi activităţi în unităţi diferite. Nu se adună între ei.",
"nota_concept": "E consumul FINAL ENERGETIC — energia arsă ca energie. Cea folosită ca materie primă e „Neenergetic\", element separat la /energie/v1/balante/elemente.",
"nota_sen": "Sunt date statistice anuale. Starea instantanee a sistemului, de la Transelectrica, e la /energie/v1/sen — altă natură, nu se compară.",
"nota_lista": "Nomenclatoarele zonei: /energie/v1/balante/nomenclator.",
"caen": {
"cerut": "2712",
"versiune_cerut": "Rev.2",
"folosit": "constructii_metalice_masini_si_echipamente",
"cod": "27",
"nivel": "agregat",
"denumire": "Fabricarea echipamentelor electrice",
"versiune_serie": "Rev.2",
"conversie": false,
"urcat": true
}
}
}
GEThttps://oneapi.ro/api/energie/v1/balante/consum-industrie
{
"data": {
"purtator": "total",
"descriere_purtator": "energie totală, în mii tone echivalent petrol (tep)",
"granularitate": "anual",
"de_la": 1992,
"pana_la": 2024,
"filtre": {
"purtator": "total"
},
"ani": [
1992,
1993,
1994,
1995,
1996,
1997,
1998,
1999,
2000,
2001,
2002,
2003,
2004,
2005,
2006,
2007,
2008,
2009,
2010,
2011,
2012,
2013,
2014,
2015,
2016,
2017,
2018,
2019,
2020,
2021,
2022,
2023,
2024
],
"serii": [
{
"activitate": "alimentara_bauturi_si_tutun",
"activitate_denumire": "Alimentara, bauturi si tutun",
"um": "mii_tone_echivalent_petrol",
"um_denumire": "Mii tone echivalent petrol",
"ani_publicati": 33,
"valori": {
"1992": "1290",
"1993": "1073",
"1994": "1148",
"1995": "1449",
"1996": "1470",
"1997": "1149",
"1998": "819",
"1999": "617",
"2000": "639",
"2001": "788",
"2002": "741",
"2003": "705",
"2004": "888",
"2005": "987",
"2006": "581",
"2007": "730",
"2008": "691",
"2009": "526",
"2010": "561",
"2011": "567",
"2012": "584",
"2013": "538",
"2014": "564",
"2015": "565",
"2016": "574",
"2017": "582",
"2018": "537",
"2019": "575",
"2020": "553",
"2021": "570",
"2022": "609",
"2023": "528",
"2024": "539"
}
}
]
},
"meta": {
"sursa": "Institutul Naţional de Statistică — balanţele energetice (TEMPO, matricile IND107A-IND121A).",
"acoperire": {
"de_la": "1992-01-01",
"pana_la": "2024-01-01"
},
"serii_returnate": 19,
"nota_purtator": "⚠️ Cei trei purtători sunt aceleaşi activităţi în unităţi diferite. Nu se adună între ei.",
"nota_concept": "E consumul FINAL ENERGETIC — energia arsă ca energie. Cea folosită ca materie primă e „Neenergetic\", element separat la /energie/v1/balante/elemente.",
"nota_sen": "Sunt date statistice anuale. Starea instantanee a sistemului, de la Transelectrica, e la /energie/v1/sen — altă natură, nu se compară.",
"nota_lista": "Nomenclatoarele zonei: /energie/v1/balante/nomenclator."
}
}
Error codes
| Code | Slug | When it occurs |
|---|---|---|
| 401 | neautentificat | Token missing, invalid, expired or revoked. |
| 403 | feature_indisponibil | The current plan does not include the feature the route depends on. |
| 404 | caen_nepublicat | Neither the code nor its parents are in the balance; detalii.disponibile lists the keys. |
| 404 | grupare_nepublicata | The grouping is not in the balance. |
| 404 | necunoscut | The activity does not appear on the requested carrier. |
| 404 | in_afara_acoperirii | The requested range falls outside the published years. |
| 422 | caen_inexistent | The code exists in no CAEN revision. |
| 422 | validare | caen and grupare sent together, caen_versiune without caen, or a code that is not CAEN-shaped. |
| 422 | raspuns_prea_mare | Over 20,000 cells. |
| 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": "caen_inexistent",
"mesaj": "The code exists in no CAEN revision.",
"detalii": {
"purtator": [
"The value sent does not satisfy the parameter rule."
]
}
}
}