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"
}
}
}
GEThttps://oneapi.ro/api/locations/v1/regiuni/RO32/judete
{
"data": [
{
"cod": "B",
"cod_siruta": 403,
"nume": "București",
"resedinta": null,
"populatie": 1716961,
"suprafata_kmp": 238.9761,
"nr_uat": 1
}
],
"meta": {
"actualizat": {
"administrativ": "2026-08-15T16: 39: 14+03: 00",
"populatie": "2026-08-15T16: 40: 07+03: 00"
}
}
}
GEThttps://oneapi.ro/api/locations/v1/regiuni/RO42/judete
{
"data": [
{
"cod": "AR",
"cod_siruta": 29,
"nume": "Arad",
"resedinta": "Arad",
"populatie": 410143,
"suprafata_kmp": 7743.4823,
"nr_uat": 78
}
],
"meta": {
"actualizat": {
"administrativ": "2026-08-15T16: 39: 14+03: 00",
"populatie": "2026-08-15T16: 40: 07+03: 00"
}
}
}
GEThttps://oneapi.ro/api/locations/v1/regiuni/RO22/judete
{
"data": [
{
"cod": "BR",
"cod_siruta": 92,
"nume": "Brăila",
"resedinta": "Brăila",
"populatie": 281452,
"suprafata_kmp": 4764.9107,
"nr_uat": 44
}
],
"meta": {
"actualizat": {
"administrativ": "2026-08-15T16: 39: 14+03: 00",
"populatie": "2026-08-15T16: 40: 07+03: 00"
}
}
}
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 region does not exist. |
| 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 region does not exist."
}
}