oneapi
Sign in
Locations v1 / Ierarhie & dropdown-uri

Counties of a region

All 42 counties or, when called as /regiuni/{regiune}/judete, only the counties of the given region. Each item carries its seat and its number of administrative units.

GET
https://oneapi.ro/api/locations/v1/regiuni/{regiune}/judete

Path parameters

NameTypeDescriptionExample
regiunerequired string NUTS 2 code of the development region.

Query parameters

This route accepts no query parameters.

How it behaves

  • The same shape as /judete, filtered to one region. {regiune} is the NUTS-2 code (RO11…), case-insensitive.
  • Counties come back alphabetically; a region has no cod_siruta, its key is cod.

What it is for

  • The second level of a cascading address selector, after the region is chosen
  • Populating a county dropdown already narrowed to the selected region
  • Commercial or logistics aggregation by development region

Response structure

FieldTypeDescription
data[].cod string Vehicle registration prefix (CJ, IF, B) — the county's public key.
data[].cod_siruta integer The SIRUTA code (the entity's public key).
data[].nume string The name of the entity.
data[].resedinta string | null The county seat.
data[].populatie integer | null Population (census).
data[].suprafata_kmp number | null Area, in km².
data[].nr_uat integer The number of administrative units.
data[].nr_firme integer How many companies were ever registered here (equal to total from the summary route).
data[].nr_firme_functiune integer How many exist NOW. ⚠️ The figure to put next to the name: nr_firme also includes struck-off companies, 48.8% of the total.
meta.actualizat object Prospețimea datelor pe domenii (dată ISO 8601).

Response examples

GEThttps://oneapi.ro/api/locations/v1/regiuni/RO11/judete
{
    "data": [
        {
            "cod": "BH",
            "cod_siruta": 56,
            "nume": "Bihor",
            "resedinta": "Oradea",
            "populatie": 551297,
            "suprafata_kmp": 7537.6551,
            "nr_uat": 101
        }
    ],
    "meta": {
        "actualizat": {
            "administrativ": "2026-08-15T16: 39: 14+03: 00",
            "populatie": "2026-08-15T16: 40: 07+03: 00"
        }
    }
}

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 region 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 region does not exist."
    }
}