Reference registry
A building in the registry
GET/api/v1/referential/cladire/{nis}/
Bearer token required
Parameters
adresebooleanquery- Include adresele legate (implicit
true). geometriestringquerygeojson(implicit),wktsaunone.include_arhivatbooleanquery- Adaugă
arhivate[]cu înregistrările arhivate ale aceluiași NIS. nisstringpathrequired- NIS of the building or individual unit (e.g. ABCDEF-01, ABCDEF-01-U0012).
sridintegerquery- Sistemul de coordonate al ieșirii (implicit 3844).
Response fields
nisstring- NIS of the building or individual unit (e.g. ABCDEF-01, ABCDEF-01-U0012).
nis_extinsstringNIS-stare, ex.KIJYYJ-01-A.starestringA…D, derivat dinvalidat+existent.validatboolean- The building is validated (confirmed from the cadastre).
existentboolean- The building exists (not planned).
arhivatboolean- The document is archived (no longer the current version).
an_construireinteger- Year of construction.
denumirestring- Name.
grid_codestring- Primele 6 litere ale NIS-ului.
identificatoriIdentificatori- External identifiers of the building.
identificatori.nr_cadastral_cladirestring- Cadastral number of the building.
identificatori.nr_cadastral_imobilstring- Cadastral number of the property.
identificatori.nr_cartefinciarastring- Land book number.
identificatori.eterra_ie_cladirestring- eTerra identifier of the building.
identificatori.eterra_ie_imobilstring- eTerra identifier of the property.
identificatori.inspire_idstring- INSPIRE identifier.
spatialSpatial- Spatial data.
spatial.sridinteger- Coordinate reference system (e.g. 4326, 3844).
spatial.centroidobject- Centroidul din blocul
spatial: SRID-ul stă un nivel mai sus, pespatial. spatial.centroid.xnumber (double)- Est (3844) sau longitudine (4326).
spatial.centroid.ynumber (double)- Nord (3844) sau latitudine (4326).
spatial.geometrieoricare- GeoJSON (obiect) sau WKT (șir), după
?geometrie.nulllanone. adresearray<AdresaResponse>- Doar dacă
?adrese=true(implicit). adrese[].stradastring- Poate lipsi (adrese rurale).
adrese[].numarstring- Number.
adrese[].cod_postalstring- Postal code.
adrese[].renns_idstring- RENNS identifier of the address.
adrese[].validataboolean- Adresa e confirmată prin RENNS.
adrese[].siruta_judetinteger- SIRUTA code of the county.
adrese[].siruta_uatinteger- SIRUTA code of the administrative unit.
adrese[].siruta_localitateinteger- SIRUTA code of the locality.
arhivatearray<oricare>- Doar dacă
?include_arhivat=true: celelalte înregistrări cu același NIS.
Responses
- 200
- Success.
- 400
- Invalid request; details in erori[].
- 404
- The resource does not exist.
- 503
- An internal service is not responding; retry.
curl -X GET "https://registrulcladirilor.graphit.ro/rndc/api/v1/referential/cladire/ABCDEF-01/" \ -H "X-Api-Key: $API_KEY" \ -H "Authorization: Bearer $TOKEN"
{
"nis": "ABCDEF-01",
"nis_extins": "ABCDEF-01-B",
"stare": "B",
"validat": true,
"existent": true,
"arhivat": true,
"an_construire": 1978,
"denumire": "Reabilitare termică bloc A3",
"grid_code": "ABCDEF",
"identificatori": {
"nr_cadastral_cladire": "234567-C1",
"nr_cadastral_imobil": "234567",
"nr_cartefinciara": "234567",
"eterra_ie_cladire": "5523104",
"eterra_ie_imobil": "5523090",
"inspire_id": "RO.ANCPI.CP.5523104"
},
"spatial": {
"srid": 4326,
"centroid": {
"x": 26.1196,
"y": 44.4268
},
"geometrie": null
},
"adrese": [
{
"strada": "Str. Exemplu",
"numar": "…",
"cod_postal": "030167",
"renns_id": "RENNS-403-179132-0001",
"validata": true,
"siruta_judet": 403,
"siruta_uat": 179132,
"siruta_localitate": 179141
}
],
"arhivate": [
null
]
}