oneapi
Sign in
Locations v1 / Statistici INS

INS statistics for a county

⭐ The latest value of every INS TEMPO indicator for the county (registration prefix, e.g. CJ), grouped by theme: demography, employment, economy, tourism, housing, culture, agriculture. Complementary to /judete/{cod}/statistici, which gives the census aggregates.

GET
https://oneapi.ro/api/locations/v1/judete/{cod}/statistici/ins

Path parameters

NameTypeDescriptionExample
codrequired string County code, two letters (e.g. CJ). Bucharest is B.

Query parameters

This route accepts no query parameters.

How it behaves

  • ⭐ The latest available value for each INS TEMPO indicator, with the theme on every row.
  • Complementary to /judete/{cod}/statistici: there you get the census aggregates (RPL2021, a single snapshot), here you get official series that keep being updated, each with its own perioada.
  • The periods differ between indicators (population is current, employment lags by a year) — which is why perioada comes on each row rather than globally.
  • The values are county totals: on every non-geographic axis of the matrix, „Total" is taken (both sexes, urban+rural and so on).
  • Summing across the 42 counties reproduces exactly the national total published by INS, with one expected exception: for exporturi/importuri, INS keeps an Unspecified category (~3%) not attributed to any county, so the county sum stays below the total.

What it is for

  • A county's statistical record: population, employees, enterprises, tourism, housing — in a single call.
  • Comparing counties on official indicators, with the reference period stated explicitly.
  • Rounding out a market profile on top of the company data from /judete/{cod}/firme/sumar.

Response structure

FieldTypeDescription
data.judet string The name of the county.
data.sursa string The data source (INS TEMPO).
data.indicatori[].indicator string The indicator key (for the series route).
data.indicatori[].tema string The theme the indicator belongs to.
data.indicatori[].nume string The name of the indicator.
data.indicatori[].valoare number The latest published value.
data.indicatori[].um string | null The unit of measure (e.g. Numar persoane, Procente).
data.indicatori[].perioada string The reference period of the value (its start date).
data.indicatori[].matrice string The source TEMPO matrix.
meta.actualizat object Prospețimea datelor pe domenii (dată ISO 8601).

Response examples

GEThttps://oneapi.ro/api/locations/v1/judete/CJ/statistici/ins
{
    "data": {
        "judet": "Cluj",
        "sursa": "INS TEMPO",
        "indicatori": [
            {
                "indicator": "populatie_domiciliu",
                "tema": "demografie",
                "nume": "Populația după domiciliu (1 ianuarie)",
                "valoare": 747392,
                "um": "Numar persoane",
                "perioada": "2026-01-01",
                "matrice": "POP107A"
            }
        ]
    },
    "meta": {
        "actualizat": {
            "ins_tempo": "2026-09-07"
        }
    }
}

Error codes

CodeSlugWhen it occurs
401neautentificatToken missing, invalid, expired or revoked.
403feature_indisponibilThe current plan does not include the feature the route depends on.
404negasitThe county does not exist.
429cota_depasitaThe 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 does not exist."
    }
}