Locations v1 / Statistici INS
Series of one INS indicator
Every value over time of one indicator for a county, chronologically — for trend charts. The indicator keys are at /statistici/ins/indicatori.
GET
https://oneapi.ro/api/locations/v1/judete/{cod}/statistici/ins/{indicator}
Path parameters
NameTypeDescriptionExample
codrequired
string
County code, two letters (e.g.
CJ). Bucharest is B.
indicatorrequired
string
The statistical indicator requested. The full list is in the route code list.
Query parameters
This route accepts no query parameters.
How it behaves
- The full series, in chronological order — from the first period INS published to the last.
- The length differs from indicator to indicator (population starts in 1992, employment much later).
- The valid keys are at
/statistici/ins/indicatori.
What it is for
- A trend chart: a county's population over 30+ years.
- Computing a trend (growth or decline) between two periods, without asking for each year separately.
- Feeding a model with the complete series of a regional indicator.
Response structure
FieldTypeDescription
data.judet
string
The name of the county.
data.indicator
string
The requested indicator key.
data.nume
string
The name of the indicator.
data.tema
string
The theme it belongs to.
data.um
string | null
The unit of measure, valid for the whole series.
data.sursa
string
The data source (INS TEMPO).
data.matrice
string
The source TEMPO matrix.
data.serie[].data
string
The reference period (its start date).
data.serie[].valoare
number
The value in that period.
meta.actualizat
object
Prospețimea datelor pe domenii (dată ISO 8601).
Response examples
GEThttps://oneapi.ro/api/locations/v1/judete/CJ/statistici/ins/populatie_domiciliu
{
"data": {
"judet": "Cluj",
"indicator": "populatie_domiciliu",
"nume": "Populația după domiciliu (1 ianuarie)",
"tema": "demografie",
"um": "Numar persoane",
"sursa": "INS TEMPO",
"matrice": "POP107A",
"serie": [
{
"data": "1992-01-01",
"valoare": 735031
}
]
},
"meta": {
"actualizat": {
"ins_tempo": "2026-09-07"
}
}
}
GEThttps://oneapi.ro/api/locations/v1/judete/TM/statistici/ins/salariati
{
"data": {
"judet": "Timiș",
"indicator": "salariati",
"nume": "Numărul mediu al salariaților",
"tema": "ocupare",
"um": "Numar persoane",
"sursa": "INS TEMPO",
"matrice": "FOM104B",
"serie": [
{
"data": "1990-01-01",
"valoare": 282360
}
]
},
"meta": {
"actualizat": {
"ins_tempo": "2026-09-07"
}
}
}
GEThttps://oneapi.ro/api/locations/v1/judete/AB/statistici/ins/populatie_domiciliu
{
"data": {
"judet": "Alba",
"indicator": "populatie_domiciliu",
"nume": "Populația după domiciliu (1 ianuarie)",
"tema": "demografie",
"um": "Numar persoane",
"sursa": "INS TEMPO",
"matrice": "POP107A",
"serie": [
{
"data": "1992-01-01",
"valoare": 419698
}
]
},
"meta": {
"actualizat": {
"ins_tempo": "2026-09-07"
}
}
}
GEThttps://oneapi.ro/api/locations/v1/judete/B/statistici/ins/populatie_domiciliu
{
"data": {
"judet": "București",
"indicator": "populatie_domiciliu",
"nume": "Populația după domiciliu (1 ianuarie)",
"tema": "demografie",
"um": "Numar persoane",
"sursa": "INS TEMPO",
"matrice": "POP107A",
"serie": [
{
"data": "1992-01-01",
"valoare": 2188461
}
]
},
"meta": {
"actualizat": {
"ins_tempo": "2026-09-07"
}
}
}
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 | negasit | The county or the indicator does not exist; or the indicator has no data for that county. |
| 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": "negasit",
"mesaj": "The county or the indicator does not exist; or the indicator has no data for that county."
}
}