RNDCAPI documentation Request access

Reference registry

Buildings in a polygon

POST/api/v1/referential/cladiri/in-poligon/

Bearer token required

Parameters

cursorstringquery
Cursor of the next page, from the previous response.
page_sizeintegerquery
Results per page.

Request body

poligonoricarerequired
GeoJSON (obiect) sau WKT (text).
sridenum
Coordinate reference system (e.g. 4326, 3844). Values: 3844, 4326
siruta_uatinteger
SIRUTA code of the administrative unit.

Response fields

countinteger
Total number of results.
nextstring
URL cu următorul cursor.
previousstring
URL of the previous page (or null).
resultsarray<Card>
Items on the current page.
results[].nisstring
NIS of the building or individual unit (e.g. ABCDEF-01, ABCDEF-01-U0012).
results[].nis_extinsstring
NIS with the status appended (e.g. ABCDEF-01-B).
results[].starestring
Status A–D: validated/not validated × existing/planned.
results[].arhivatboolean
The document is archived (no longer the current version).
results[].an_construireinteger
Year of construction.
results[].grid_codestring
Cell of the national grid (first 6 characters of the NIS).
results[].nr_cadastral_cladirestring
Cadastral number of the building.
results[].nr_cadastral_imobilstring
Parcela pe care stă clădirea; null dacă nu e completată.
results[].centroidobject
Centroidul dintr-un card de căutare: poartă și SRID-ul, cardul n-are bloc spatial.
results[].centroid.xnumber (double)
Est (3844) sau longitudine (4326).
results[].centroid.ynumber (double)
Nord (3844) sau latitudine (4326).
results[].centroid.sridinteger
Coordinate reference system (e.g. 4326, 3844).
results[].adresa_principalastring
Main address of the building.
results[].siruta_uatinteger
SIRUTA code of the administrative unit.
results[].distanta_mnumber (double)
Doar la /aproape/ și la /la-punct/?toleranta=.
results[].hrefstring
Calea către detaliul clădirii.

Responses

200
Success.
400
Invalid request; details in erori[].
503
An internal service is not responding; retry.
request · curl
curl -X POST "http://registrulcladirilor.gov.ro/rndc/api/v1/referential/cladiri/in-poligon/" \
  -H "X-Api-Key: $API_KEY" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
       "poligon": null,
       "srid": 3844,
       "siruta_uat": 179132
     }'
response
{
  "count": 1,
  "next": "…",
  "previous": "…",
  "results": [
    {
      "nis": "ABCDEF-01",
      "nis_extins": "ABCDEF-01-B",
      "stare": "B",
      "arhivat": true,
      "an_construire": 1978,
      "grid_code": "ABCDEF",
      "nr_cadastral_cladire": "234567-C1",
      "nr_cadastral_imobil": "234567",
      "centroid": {
        "x": 26.1196,
        "y": 44.4268,
        "srid": 4326
      },
      "adresa_principala": "Str. Exemplu nr. 12, bl. A3, Sector 3, București",
      "siruta_uat": 179132,
      "distanta_m": 12.4,
      "href": "https://…/documente/…?X-Amz-Signature=…"
    }
  ]
}