APIs / Casa.it / Locations

Casa.it: Locations

Locations from Casa.it as JSON. 1 credit per successful call.

GET /v1/casa-it/locations

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 100 characters

Example request

Casa.it
GET/v1/casa-it/locations?query=rom
{
  "success": true,
  "data": {
    "locations": [
      {
        "id": "IT-LAZ-058091",
        "name": "Roma",
        "slug": "roma",
        "type": "town",
        "level": 9,
        "has_children": true,
        "searchable": true,
        "latitude": 41.885454,
        "longitude": 12.460768,
        "parents": [
          {
            "name": "Italia",
            "slug": "italia"
          },
          {
            "name": "Lazio",
            "slug": "lazio"
          },
          {
            "name": "Roma",
            "slug": "roma"
          }
        ]
      },
      {
        "id": "IT-LAZ-RM",
        "name": "Roma",
        "slug": "roma",
        "type": "province",
        "level": 6,
        "has_children": true,
        "searchable": true,
        "latitude": 41.851809,
        "longitude": 12.63105,
        "parents": [
          {
            "name": "Italia",
            "slug": "italia"
          },
          {
            "name": "Lazio",
            "slug": "lazio"
          }
        ]
      },
      {
        "id": "IT-LOM-019086",
        "name": "Romanengo",
        "slug": "romanengo",
        "type": "town",
        "level": 9,
        "has_children": false,
        "searchable": true,
        "latitude": 45.383664,
        "longitude": 9.787745,
        "parents": [
          {
            "name": "Italia",
            "slug": "italia"
          },
          {
            "name": "Lombardia",
            "slug": "lombardia"
          },
          {
            "name": "Cremona",
            "slug": "cremona"
          }
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "locations"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.locations has these 10 fields, read from a recorded call that returned 50 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
namestring
slugstring
typestring
levelinteger
has_childrenboolean
searchableboolean
latitudenumber
longitudenumber
parentsobject[]