Web service that allows you to consult the land and buildings cadastre of the Italian territory.
Methods that allows you to consult provinces, municipalities and sections of the Italian territory
This method allows you to see all the provinces of Italy
Array of objects[ items ] | |
success | boolean |
message | string |
error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://catasto.openapi.it/territorio"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": [
- {
- "provincia": "GE",
- "nome_provincia": "GENOVA",
- "id": "60c9cc8f24a66c54f04c6df2"
}, - {
- "provincia": "AV",
- "nome_provincia": "AVELLINO",
- "id": "60c9d49517d4af446c1af7b2"
}, - {
- "provincia": "BI",
- "nome_provincia": "BIELLA",
- "id": "60c9d64b85f9e932be303783"
}, - {
- "provincia": "CN",
- "nome_provincia": "CUNEO",
- "id": "60c9f3a26a0e5632ea37e0d4"
}
], - "success": true,
- "message": "",
- "error": null
}
Allows you to see the detail of the province with the municipalities
provincia_or_nome_provincia_or_id required | string Default: "<string>" Example: TR Province, province name or id |
Array of objects (Provincia) [ items ] | |
success | boolean |
message | string |
error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://catasto.openapi.it/territorio/%7Bprovincia_or_nome_provincia_or_id%7D"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);
{- "data": {
- "provincia": "TR",
- "nome_provincia": "TERNI",
- "comuni": [
- {
- "comune": "ACQUASPARTA",
- "sezioni": null,
- "codice_catastale": "A045"
}, - {
- "comune": "ALLERONA",
- "sezioni": null,
- "codice_catastale": "A207"
}, - {
- "comune": "ALVIANO",
- "sezioni": null,
- "codice_catastale": "A242"
}, - {
- "comune": "AMELIA",
- "sezioni": null,
- "codice_catastale": "A262"
}, - {
- "comune": "STRONCONE",
- "sezioni": null,
- "codice_catastale": "I981"
}, - {
- "comune": "TERNI",
- "sezioni": null,
- "codice_catastale": "L117"
}
], - "id": "60ca2d837e1f2f6f3a2bfd42"
}, - "success": true,
- "message": "",
- "error": null
}
Allows you to see the detail of the municipality
provincia_or_nome_provincia_or_id required | string Default: "<string>" Example: TR Province, province name or id |
comune required | string Default: "<string>" Example: TERNI City name |
Array of objects (Provincia) [ items ] | |
success | boolean |
message | string |
error | integer |
CURL *hnd = curl_easy_init(); curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET"); curl_easy_setopt(hnd, CURLOPT_URL, "https://catasto.openapi.it/territorio/%7Bprovincia_or_nome_provincia_or_id%7D/%7Bcomune%7D"); struct curl_slist *headers = NULL; headers = curl_slist_append(headers, "Authorization: Bearer REPLACE_BEARER_TOKEN"); curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers); CURLcode ret = curl_easy_perform(hnd);