# List properties

URL: https://api-docs.vestta.io/properties/list

Return the public property catalogue, filtered, sorted and paginated.

Returns a page of the public catalogue and the total number of matching properties. Without filters, it returns every public property, most recently updated first.

## Filters

Filters combine with AND and use the same vocabulary as Vestta. `operation` and `city` ignore case; the other text filters must match exactly:

| Filter | Match | Example |
| --- | --- | --- |
| `operation` | Contains the value, so `alquiler` also matches `venta,alquiler` | `operation=alquiler` |
| `type` | Exact, lowercase key | `type=apartamento` |
| `subtype` | Exact, using the subtype **key** | `subtype=atico` |
| `city` | Exact, ignoring case | `city=Madrid` |
| `status` | Exact | `status=reservada` |
| `rental_type` | `temporal` or `anual` | `rental_type=anual` |
| `min_bedrooms` | At least | `min_bedrooms=2` |
| `is_featured` | `true` or `false` | `is_featured=true` |

Note that `subtype` filters by key (`atico`) while responses return a display label (`Ático`).

## Prices

`min_price`, `max_price` and `sort` compare the price of the operation you filter by:

- `operation=alquiler` → the monthly rent, `specs.price_calc.price_alq`.
- `operation=traspaso` → the transfer price, `specs.price_calc.price_trasp`.
- any other value, or no `operation` → the sale price, `price`.

So a rental search in Madrid between 800 and 1,200 € per month, cheapest first, is:

```text
GET /v1/properties?operation=alquiler&city=Madrid&min_price=800&max_price=1200&sort=price_asc
```

## Map areas

`locations` restricts results to areas drawn on a map. It is a JSON array, URL-encoded into the query string. Each element is one area; a property matches if it falls inside **any** of them. Three shapes are supported:

```json
[
  { "geometry": { "type": "circle", "center": { "lat": 40.4168, "lng": -3.7038 }, "radius": 1500 } },
  { "geometry": { "type": "polygon", "coordinates": [
    { "lat": 40.43, "lng": -3.71 }, { "lat": 40.43, "lng": -3.68 }, { "lat": 40.41, "lng": -3.69 }
  ] } },
  { "type": "point", "position": { "lat": 39.4699, "lng": -0.3763 }, "radius": 800 }
]
```

- **Circle** — `center` and `radius` in metres.
- **Polygon** — at least three `coordinates`; `rectangle` is accepted as a synonym. Coordinates can also be `[lat, lng]` pairs, and `lon` is accepted in place of `lng`.
- **Point** — a `position` and an optional `radius` in metres, 500 by default. `marker` is a synonym.

Areas are matched against the **published** coordinates: rounded ones for approximate locations, none for hidden ones. Approximate properties can match an area up to about 1 km away from their real position, and properties with a hidden location never match an area. Elements without a recognised geometry — for example `{ "name": "Madrid" }` — are ignored, and so is the whole parameter if it is not valid JSON. The `filters.locations` field of the response echoes the areas that were applied, so you can check what was understood.

Most HTTP clients URL-encode query parameters for you: pass the JSON string as the value of `locations` instead of encoding it by hand.

### GET /v1/properties

Lists the public catalogue. Requires the `properties:read` scope.

Required scope: `properties:read`

Query parameters:
- `limit` (integer, optional, ≥ 1, ≤ 1000, default 100): Maximum number of properties to return.
- `offset` (integer, optional, ≥ 0, default 0): Number of matching properties to skip before returning results.
- `status` (string, optional, nullable): Exact commercial status match. Only explicitly published properties are returned; drafts are excluded.
- `operation` (string, optional, nullable): Operation: `venta`, `alquiler` or `traspaso`. Case-insensitive partial match, so properties offered for several operations match each of them. Also selects which price `min_price`, `max_price` and `sort` use.
- `rental_type` (string, optional, nullable, values: `temporal` | `anual`): Rental type: `temporal` for temporary rentals, `anual` for long-term rentals that are neither temporary nor holiday rentals.
- `type` (string, optional, nullable): Exact property type: `apartamento`, `casa`, `local`, `nave`, `almacenaje`, `oficina`, `terreno`, `aparcamiento` or `edificio`.
- `subtype` (string, optional, nullable): Exact subtype key as stored in Vestta, for example `atico`, `duplex`, `chalet` or `villa`. Responses return the subtype as a display label.
- `city` (string, optional, nullable): City name. Case-insensitive exact match.
- `locations` (string, optional, nullable): URL-encoded JSON array of map areas. Supports `circle` (center + radius in metres), `polygon`/`rectangle` (coordinates) and `point`/`marker` (500 m default radius). Invalid JSON is ignored.
- `min_price` (number, optional, nullable, ≥ 0): Minimum price, inclusive. Uses the rent or transfer price when `operation` is `alquiler` or `traspaso`.
- `max_price` (number, optional, nullable, ≥ 0): Maximum price, inclusive. Uses the rent or transfer price when `operation` is `alquiler` or `traspaso`.
- `min_bedrooms` (integer, optional, nullable, ≥ 0): Minimum number of bedrooms, inclusive.
- `is_featured` (boolean, optional, nullable): `true` returns only featured properties; `false` only non-featured ones.
- `sort` (string, optional, nullable, values: `price_asc` | `price_desc`): Sort by price (properties without a price go last). When omitted, results are ordered by last update, newest first.

Response 200: Successful response.
- `status` (string, required, values: `ok`)
- `data` (array of objects, required): The requested page of properties.
  - `id` (integer, required): Numeric property ID. Use it with Retrieve a property.
  - `operation` (string, optional, nullable): Operations the property is offered for: `venta`, `alquiler`, `traspaso`, or several joined by commas (e.g. `venta,alquiler`).
  - `type` (string, optional, nullable): Property type key, e.g. `apartamento`, `casa`, `local`, `oficina`, `terreno` or `edificio`.
  - `subtype` (string, optional, nullable): Subtype as a Spanish display label (e.g. `Ático`, `Local Comercial`), or `Sin Especificar`.
  - `title` (string, optional, nullable): Listing title. May be empty.
  - `price` (number, optional, nullable): Sale price in euros. Rent and transfer prices are in `specs.price_calc`.
  - `size_total` (number, optional, nullable): Total size in m².
  - `bedrooms` (integer, optional, nullable)
  - `bathrooms` (integer, optional, nullable)
  - `postal_code` (string, optional, nullable): Omitted when the property's location is hidden.
  - `description` (string, optional, nullable): Listing description as HTML.
  - `images` (array of objects, optional): Opaque public copies. New photos are watermarked; legacy copies may remain unmarked. Original paths and IDs are never included.
    - `id` (string, required)
    - `url` (string, required): Permanent opaque public-copy URL. New photos are watermarked; migrated legacy copies may remain unmarked. Never an original or upload URL.
    - `order` (integer, optional, default 1)
    - `is_primary` (boolean, optional, default false)
    - `title` (string, optional, default )
  - `videos` (array of objects, optional, nullable): Processed public videos.
    - `id` (string, required)
    - `title` (string, optional, nullable)
    - `order` (integer, optional, nullable)
    - `url` (string, optional, nullable)
    - `hls_url` (string, optional, nullable)
    - `thumbnail_url` (string, optional, nullable)
    - `embed_url` (string, optional, nullable)
  - `specs` (PublicationSpecs, optional, nullable): Listing characteristics. Keys depend on the property type. `price_calc.price_alq` and `price_calc.price_trasp` hold the monthly rent and transfer price; `address_privacy` is `public`, `approximate` or `hidden`; `building_name` is only present when the address is public.
    - `translations` (TranslationSpec, optional, nullable): Traducciones de las descripciones
      - `ca` (TranslatedDescription, optional, nullable): Traduccion en catalán de la descripción
        - `title` (string, optional, nullable): Título de la descripción
        - `description` (string, optional, nullable): Descripción
      - `en` (TranslatedDescription, optional, nullable): Traduccion en ingles de la descripción
        - `title` (string, optional, nullable): Título de la descripción
        - `description` (string, optional, nullable): Descripción
      - `fr` (TranslatedDescription, optional, nullable): Traduccion en francés de la descripción
        - `title` (string, optional, nullable): Título de la descripción
        - `description` (string, optional, nullable): Descripción
      - `de` (TranslatedDescription, optional, nullable): Traduccion en alemán de la descripción
        - `title` (string, optional, nullable): Título de la descripción
        - `description` (string, optional, nullable): Descripción
      - `pt` (TranslatedDescription, optional, nullable): Traduccion en portuges de la descripción
        - `title` (string, optional, nullable): Título de la descripción
        - `description` (string, optional, nullable): Descripción
      - `it` (TranslatedDescription, optional, nullable): Traduccion en italiano de la descripción
        - `title` (string, optional, nullable): Título de la descripción
        - `description` (string, optional, nullable): Descripción
    - `usable_area` (number, optional, nullable, ≥ 0): Metros cuadrados útiles
    - `plot_size` (number, optional, nullable, ≥ 0): Metros cuadrados parcela
    - `size_built` (number, optional, nullable, ≥ 0): Superficie construida
    - `porch_size` (number, optional, nullable, ≥ 0): Metros cuadrados porche
    - `size_terraces` (number, optional, nullable, ≥ 0): Metros cuadrados terrazas
    - `attic_size` (number, optional, nullable, ≥ 0): Metros cuadrados ático
    - `storage_dimensions` (number, optional, nullable): Dimensiones del trastero
    - `doble_bedrooms` (integer, optional, nullable, ≥ 0): Número de habitaciones dobles
    - `suite_bathrooms` (integer, optional, nullable, ≥ 0): Número de baños en suite
    - `num_terraces` (integer, optional, nullable, ≥ 0): Número de terrazas
    - `conservation` (string, optional, nullable): Estado de conservación
    - `floor` (string, optional, nullable): Planta canónica para portales
    - `house_floors` (integer, optional, nullable, ≥ 1): Número de plantas de una casa
    - `elevator` (boolean, optional, nullable): Tiene ascensor (0/1 o Sí/No)
    - `views` (string, optional, nullable): Vistas de la propiedad
    - `orientation` (string, optional, nullable): Orientación (norte, sur, este, oeste)
    - `energy_certificate` (string, optional, nullable): Certificado energético A-G
    - `emissions` (string, optional, nullable): Emisiones A-G
    - `energy_consumption_value` (number, optional, nullable, ≥ 1, ≤ 999): Consumo (kWh/m² año)
    - `emissions_value` (number, optional, nullable, ≥ 1, ≤ 999): Emisiones (kg CO₂/m² año)
    - `height` (number, optional, nullable): Altura del local
    - `facade_meters` (number, optional, nullable): Metros de fachada
    - `meters_showcase` (number, optional, nullable): Metros de escaparate
    - `entrace_type` (string, optional, nullable): Tipo de entrada de la oficina
    - `position` (string, optional, nullable): 1ª/2ª Linea del mar
    - `offices` (integer, optional, nullable, ≥ 0): Número de despachos
    - `meeting_rooms` (integer, optional, nullable, ≥ 0): Número de salas de reuniones
    - `camino` (string, optional, nullable): Tipo de suelo
    - `terrain_extension` (string, optional, nullable): Tamaño (Grande/Pequeño)
    - `topography` (string, optional, nullable): Topografía del terreno
    - `num_seats` (integer, optional, nullable, ≥ 0): Número de plazas
    - `dimensions` (string, optional, nullable): Dimensiones del aparcamiento
    - `turistic_license` (string, optional, nullable): Licencia turística
    - `construction_year` (integer, optional, nullable): Año de construcción
    - `exposure` (string, optional, nullable): Interior o Exterior
    - `style` (string, optional, nullable): Conservación
    - `num_viviendas` (integer, optional, nullable): Número de viviendas
    - `num_locales` (integer, optional, nullable): Número de locales
    - `num_ascensores` (integer, optional, nullable): Número de ascensores
    - `num_parkings` (integer, optional, nullable, ≥ 0): Número de parkings incluidos
    - `num_floors` (integer, optional, nullable): Número de plantas
    - `luxury_property` (boolean, optional, nullable): Propiedad de lujo
    - `holiday_renting` (boolean, optional, nullable): Alquiler vacacional
    - `temporal_renting` (boolean, optional, nullable): Alquiler temporal
    - `purchase_option_rental` (boolean, optional, nullable): Alquiler con opción a compra
    - `address_privacy` (string, optional, nullable): Privacidad de la ubicación en portales: public | approximate | hidden
    - `activities` (ActivitiesSpec, optional, nullable): Actividades permitidas
      - `predefined` (array of strings, optional): Actividades predefinidas
      - `custom` (array of strings, optional): Actividades personalizadas
    - `num_entrances` (NumEntrancesSpec, optional, nullable): Número de entradas
      - `total` (integer, optional, ≥ 0, default 0): Total de entradas
      - `peaton_entrances` (integer, optional, ≥ 0, default 0): Entradas de peatones
      - `moto_entrances` (integer, optional, ≥ 0, default 0): Entradas de motos
      - `van_entrances` (integer, optional, ≥ 0, default 0): Entradas de furgoneta
      - `car_entrances` (integer, optional, ≥ 0, default 0): Entradas de coche
    - `floor_breakdown` (FloorBreakdownSpec, optional, nullable): Desglose de plantas
      - `base_floor` (integer, optional, default 0): Metros ² de la planta baja
      - `first_floor` (integer, optional, default 0): Metros ² de la primera planta
      - `second_floor` (integer, optional, default 0): Metros ² de la segunda planta
    - `price_calc` (PublicPrices, optional, nullable)
      - `price_alq` (number, optional, nullable, ≥ 0)
      - `price_trasp` (number, optional, nullable, ≥ 0)
    - `building_name` (string, optional, nullable): Published only when address privacy is public.
  - `features` (array of objects, optional, nullable): Typed amenities. `label` is a display string; `key` is stable.
    - `key` (string, required, 1–100 chars)
    - `label` (string, required, 1–200 chars)
    - `value` (string | boolean | integer | number, required)
    - `isextra` (boolean, optional, default false)
  - `status` (string, optional, nullable): Commercial status of the explicitly published property. Drafts are never returned.
  - `address` (string, optional, nullable): Follows the property's address privacy: the full address when public, the approximate address when approximate, omitted when hidden.
  - `city` (string, optional, nullable)
  - `province` (string, optional, nullable)
  - `country` (string, optional, nullable)
  - `lat` (number, optional, nullable): Latitude in decimal degrees. Exact when the address is public, rounded to 2 decimals (about 1 km) when approximate, omitted when hidden.
  - `lon` (number, optional, nullable): Longitude in decimal degrees, with the same precision rules as `lat`.
  - `is_featured` (boolean, optional, nullable): Whether the business marked the property as featured.
  - `created_at` (string, optional, nullable): ISO 8601 timestamp with UTC offset.
  - `updated_at` (string, optional, nullable): ISO 8601 timestamp with UTC offset. The default sort key.
- `count` (integer, required): Total number of properties matching the filters, across all pages.
- `limit` (integer, required): The `limit` that was applied.
- `offset` (integer, required): The `offset` that was applied.
- `filters` (object, required): Echo of the filters that were applied; `null` for filters that were not sent. `locations` contains only the areas that were understood.
- `authenticated_as` (string, optional, nullable): Name of the business that owns the API key.

```json
{
  "status": "ok",
  "data": [
    {
      "id": 1355,
      "operation": "traspaso,alquiler",
      "type": "local",
      "subtype": "Local Comercial",
      "title": "Local comercial en el centro",
      "price": 0,
      "size_total": 120,
      "bedrooms": 0,
      "bathrooms": 1,
      "postal_code": "07820",
      "description": "<h2>Características del local</h2><p>Superficie total de 120 m² en planta baja…</p>",
      "images": [
        {
          "id": "7eac604ad45147d19c7cedb2a10569aa",
          "url": "https://cdn.vestta.io/media/7eac604ad45147d19c7cedb2a10569aa.webp",
          "order": 1,
          "is_primary": true
        }
      ],
      "videos": [],
      "specs": {
        "holiday_renting": false,
        "temporal_renting": false,
        "address_privacy": "approximate",
        "price_calc": {
          "price_alq": 2000,
          "price_trasp": 25000
        }
      },
      "features": [
        {
          "key": "air_conditioning",
          "label": "Aire Acondicionado",
          "value": "Sí",
          "isextra": false
        }
      ],
      "status": "disponible",
      "address": "San Antonio",
      "city": "San Antonio",
      "province": "Islas Baleares",
      "country": "España",
      "lat": 38.98,
      "lon": 1.3,
      "is_featured": false,
      "created_at": "2026-07-21T11:42:51.820440+02:00",
      "updated_at": "2026-09-26T19:38:41.390976+02:00"
    }
  ],
  "count": 78,
  "limit": 20,
  "offset": 0,
  "filters": {
    "locations": [],
    "operation": "alquiler"
  },
  "authenticated_as": "Inmobiliaria Ejemplo"
}
```

Response 401: The API key is missing, malformed, unknown, revoked or expired.

Response 403: The API key lacks the required scope, or the business plan does not include API access.

Response 404: The resource does not exist in this business.

Response 409: Duplicate contact or idempotency key reused with a different payload.

Response 422: A path parameter, query parameter or body field is invalid.

Response 429: The API key reached its request limit. Wait for the number of seconds in `Retry-After` before retrying.

Response 500: Unexpected server error while processing the request.

### Example requests

#### cURL

```bash
curl "https://api.vestta.io/v1/properties?limit=20" \
  -H "X-Api-Key: $VESTTA_API_KEY"
```

#### JavaScript

```javascript
const response = await fetch('https://api.vestta.io/v1/properties?limit=20', {
  headers: { 'X-Api-Key': process.env.VESTTA_API_KEY },
})

const data = await response.json()
```

#### Python

```python
import os

import requests

response = requests.get(
    "https://api.vestta.io/v1/properties",
    headers={"X-Api-Key": os.environ["VESTTA_API_KEY"]},
    params={
        "limit": 20,
    },
)
response.raise_for_status()
data = response.json()
```
