Locations v1 / Șomaj & construcții
Building permits of a county
The permits issued in the county at the latest published year, by category.
GET
https://oneapi.ro/api/locations/v1/judete/{cod}/autorizatii
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 county total as published by the source, by category.
- The contrasts are large and instructive: in 2025, Ilfov county issued 3,610 residential permits against 403 in the city of Bucharest — the ring builds, the capital does not.
What it is for
- How much is being built in a county, by category, at the latest year.
- Comparing counties for commercial planning.
- Context for the figures of a unit within the county.
Response structure
FieldTypeDescription
data.entitate
string
The name of the county.
data.an
integer
The latest year published.
data.sursa
string
The data source.
data.categorii[].categorie
string
The construction category.
data.categorii[].numar
number | null
How many permits were issued.
data.categorii[].mp_utili
number | null
The usable floor area permitted, in m².
meta.actualizat
object
Prospețimea datelor pe domenii (dată ISO 8601).
Response examples
GEThttps://oneapi.ro/api/locations/v1/judete/CJ/autorizatii
{
"data": {
"entitate": "Cluj",
"an": 2025,
"sursa": "INS (autorizaţii de construire)",
"categorii": [
{
"categorie": "administrative",
"numar": 2,
"mp_utili": 12195
}
]
},
"meta": {
"actualizat": {
"somaj": "2026-09-14",
"autorizatii": "2026-04-01"
}
}
}
GEThttps://oneapi.ro/api/locations/v1/judete/IF/autorizatii
{
"data": {
"entitate": "Ilfov",
"an": 2025,
"sursa": "INS (autorizaţii de construire)",
"categorii": [
{
"categorie": "administrative",
"numar": 10,
"mp_utili": 5114
}
]
},
"meta": {
"actualizat": {
"somaj": "2026-09-14",
"autorizatii": "2026-04-01"
}
}
}
GEThttps://oneapi.ro/api/locations/v1/judete/AB/autorizatii
{
"data": {
"entitate": "Alba",
"an": 2025,
"sursa": "INS (autorizaţii de construire)",
"categorii": [
{
"categorie": "administrative",
"numar": 2,
"mp_utili": 562
}
]
},
"meta": {
"actualizat": {
"somaj": "2026-09-14",
"autorizatii": "2026-04-01"
}
}
}
GEThttps://oneapi.ro/api/locations/v1/judete/B/autorizatii
{
"data": {
"entitate": "București",
"an": 2025,
"sursa": "INS (autorizaţii de construire)",
"categorii": [
{
"categorie": "administrative",
"numar": 3,
"mp_utili": 8558
}
]
},
"meta": {
"actualizat": {
"somaj": "2026-09-14",
"autorizatii": "2026-04-01"
}
}
}
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 does not exist or has no permits published. |
| 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 does not exist or has no permits published."
}
}