oneapi
Sign in
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"
        }
    }
}

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 or has no permits published.
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 or has no permits published."
    }
}