APIs / Habitaclia / Locations

Habitaclia: Locations

Locations from Habitaclia as JSON. 1 credit per successful call.

GET /v1/habitaclia/locations

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 120 characters
property_typestringRequiredflat, house, office, garage, building, land
transaction_typestringOptionalbuy, rent

Example request

Habitaclia
GET/v1/habitaclia/locations?query=Valencia&transaction_type=buy&property_type=flat
{
  "success": true,
  "data": [
    {
      "code": "46250",
      "name": "Valencia, Valencia",
      "layer_id": 20,
      "count": 3825
    },
    {
      "code": "46",
      "name": "Valencia",
      "layer_id": 11,
      "count": 17647
    },
    {
      "code": "358",
      "name": "Valencia, Zona de, Valencia",
      "layer_id": 14,
      "count": 3825
    }
  ],
  "meta": {
    "endpoint_family": "locations",
    "duration_ms": 488
  }
}
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 has these 4 fields, read from a recorded call that returned 10 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
codestring
namestring
layer_idinteger
countinteger