Run with Postman

Comuni Italiani

This service provides an updated database of italian CAP, COMUNI, ISTAT CODE, PROVINCE and REGIONI

Elenco Comuni

Returns a list of italian COMUNI looking for a specific CAP, ISTAT code, PROVINCIA or Regione

This service returns a list of COMUNI included in a specific CAP

This service returns a list of COMUNI included in a specific CAP

Authorizations:
path Parameters
CAP
required
string
Default: "<string>"
Example: 05100

Italian ZipCode aka CAP of the COMUNE needed

Responses

Response Schema: application/json
success
boolean
message
string
error
integer
Array of objects (ElencoComuni) [ items ]

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://comuni.openapi.it/cap/%7BCAP%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);

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "message": "",
  • "error": null
}

This service returns a COMUNE with a specific ISTAT code

This service returns a COMUNE with a specific ISTAT code

Authorizations:
path Parameters
ISTAT
required
string
Default: "<string>"
Example: 055032

Italian ISTAT code of the COMUNE needed

Responses

Response Schema: application/json
success
boolean
message
string
error
integer
Array of objects (ElencoComuni) [ items ]

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://comuni.openapi.it/istat/%7BISTAT%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);

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "message": "",
  • "error": null
}

This service returns a COMUNE with a specific CODICE_CATASTALE

This service returns a COMUNE with a specific CODICE_CATASTALE

Authorizations:
path Parameters
CODICE_CATASTALE
required
string
Default: "<string>"
Example: L117

Italian Codice Catastale of the COMUNE needed

Responses

Response Schema: application/json
success
boolean
message
string
error
integer
Array of objects (ElencoComuni) [ items ]

Request samples

CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://comuni.openapi.it/catasto/%7BCODICE_CATASTALE%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);

Response samples

Content type
application/json
{
  • "data": {
    },
  • "success": true,
  • "message": "",
  • "error": null
}

This service returns a COMUNE located in a specific REGIONE

This service returns a list of COMUNI included in a specific REGIONE

Authorizations:
path Parameters
REGIONE
required
string
Default: "<string>"
Example: umbria

Italian region name

Responses

Response Schema: application/json
success
boolean
message
string
error
integer
Array of objects (ElencoComuni) [ items ]

Request samples