Logo
Openapi.it Public API Documentation

{{baseUrl}}/territorio

GET {{baseUrl}}/territorio?tipo_catasto=<string>

This method allows you to see all the provinces of Italy; if the tipo_catasto is not passed, the buildings database is shown.

 

Body PARAM

Key Datatype Required Description 
tipo_catasto
string cadastre type; F for buildings, T for land



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "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 }



Curl
curl -X GET 'baseUrl/territorio?tipo_catasto=<string>?tipo_catasto=<string>' -H 'Accept: application/json'

ENDPOINTS