# Retrieve a property

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

Return one property of the public catalogue by its ID.

Returns the same property object as [List properties](/properties/list). Use it to render a listing page or to refresh one property after a change.

## When a property is not found

`404 Property not found` is returned when the ID does not exist, but also when the property exists and is **not part of the public catalogue**: it is not marked as public, it is still a draft, or it belongs to another workspace. Commercial status does not override explicit publication. The response does not say which, so a listing that disappears from your site should simply be removed.

### GET /v1/properties/{property_id}

Retrieves an allowlisted public listing. Requires the `properties:read` scope.

Required scope: `properties:read`

Path parameters:
- `property_id` (integer, required, ≥ 1)

Response 200: Successful response.
- `status` (string, required, values: `ok`)
- `data` (ExternalProperty, required)
  - `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.

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

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/1355" \
  -H "X-Api-Key: $VESTTA_API_KEY"
```

#### JavaScript

```javascript
const response = await fetch('https://api.vestta.io/v1/properties/1355', {
  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/1355",
    headers={"X-Api-Key": os.environ["VESTTA_API_KEY"]},
)
response.raise_for_status()
data = response.json()
```
