> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inmodata.builker.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Listar alojamientos

> Alojamientos de renta corta con su tarifa nocturna observada, la capacidad bruta a 30 noches y el estado de la estimación de ocupación.

> [!WARNING]
>
> La tarifa nocturna observada es una señal de precio, no un ingreso. La capacidad a 30 noches supone disponibilidad total y no es un ingreso esperado. Lee [cómo interpretar las métricas de renta corta](https://docs.inmodata.builker.com/conceptos/rentas-cortas.md).


## OpenAPI

````yaml /api-reference/openapi.json get /v1/str/listings
openapi: 3.1.0
info:
  title: InmoData API
  version: 1.0.0
  description: >-
    API comercial de datos inmobiliarios: mercado tradicional, rentas cortas,
    preventa, análisis geoespacial y valoraciones.
  termsOfService: https://inmodata.builker.com/terms
  contact:
    name: InmoData
    url: https://inmodata.builker.com
    email: contacto@builker.com
servers:
  - url: https://api.inmodata.builker.com
    description: Producción
security: []
tags:
  - name: mercados
    x-group: Mercados
    description: Cobertura, referencias y tendencias de precio por m².
  - name: tradicional
    x-group: Mercado tradicional
    description: Avisos de venta y arriendo.
  - name: rentas-cortas
    x-group: Rentas cortas
    description: Alojamientos de renta corta y tarifas observadas.
  - name: preventa
    x-group: Preventa
    description: Proyectos de vivienda nueva.
  - name: geoespacial
    x-group: Geoespacial
    description: Geocodificación, contexto urbano y retícula de precios.
  - name: valoraciones
    x-group: Valoraciones
    description: Estimaciones orientativas de valor.
paths:
  /v1/str/listings:
    get:
      tags:
        - rentas-cortas
      summary: Listar alojamientos
      description: >-
        Alojamientos de renta corta con su tarifa nocturna observada, la
        capacidad bruta a 30 noches y el estado de la estimación de ocupación.
      operationId: Short-Term-Rentals-str-list
      parameters:
        - description: Código de país ISO-2. Por defecto `CO`.
          explode: false
          in: query
          name: country
          schema:
            default: CO
            type: string
        - description: >-
            Slug de la ciudad, por ejemplo `bogota` o `medellin`. Consulta los
            disponibles en la cobertura.
          explode: false
          in: query
          name: city
          schema:
            type: string
        - description: >-
            Tipo de inmueble: `apartment`, `house`, `office`, `retail`,
            `studio`, `warehouse` o `land`.
          explode: false
          in: query
          name: property_type
          schema:
            type: string
        - explode: false
          in: query
          name: room_type
          schema:
            type: string
          description: Tipo de alojamiento.
        - explode: false
          in: query
          name: min_price
          schema:
            format: double
            minimum: 0
            type: number
          description: Precio mínimo, en la moneda local.
        - explode: false
          in: query
          name: max_price
          schema:
            format: double
            minimum: 0
            type: number
          description: Precio máximo, en la moneda local.
        - explode: false
          in: query
          name: min_capacity
          schema:
            format: int64
            minimum: 0
            type: integer
          description: Capacidad mínima de huéspedes.
        - explode: false
          in: query
          name: min_bedrooms
          schema:
            format: int64
            minimum: 0
            type: integer
          description: Número mínimo de habitaciones.
        - explode: false
          in: query
          name: min_rating
          schema:
            format: double
            maximum: 5
            minimum: 0
            type: number
          description: Calificación mínima (0 a 5).
        - description: >-
            Solo alojamientos de anfitriones destacados (`true`) o solo los
            demás (`false`).
          explode: false
          in: query
          name: superhost
          schema:
            enum:
              - 'true'
              - 'false'
            type: string
        - description: Solo los alojamientos de este anfitrión del portal.
          explode: false
          in: query
          name: host_id
          schema:
            type: string
        - description: >-
            Vigencia de los avisos: `fresh` (vistos en los últimos `stale_days`
            días), `stale` (más antiguos) o `all`.
          explode: false
          in: query
          name: freshness
          schema:
            default: all
            enum:
              - all
              - fresh
              - stale
            type: string
        - description: >-
            Días desde la última observación a partir de los cuales un aviso se
            considera desactualizado.
          explode: false
          in: query
          name: stale_days
          schema:
            default: 30
            format: int64
            maximum: 365
            minimum: 1
            type: integer
        - explode: false
          in: query
          name: sort
          schema:
            default: recent
            enum:
              - recent
              - price_asc
              - price_desc
              - rating_desc
            type: string
          description: Orden de los resultados.
        - description: >-
            Área rectangular del mapa: `oeste,sur,este,norte` en grados
            decimales.
          explode: false
          in: query
          name: bbox
          schema:
            type: string
        - explode: false
          in: query
          name: limit
          schema:
            default: 24
            format: int64
            maximum: 500
            minimum: 1
            type: integer
          description: Número máximo de resultados.
        - explode: false
          in: query
          name: offset
          schema:
            default: 0
            format: int64
            minimum: 0
            type: integer
          description: Número de resultados que se saltan, para paginar.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSTROutputBody'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - apiKey: []
components:
  schemas:
    ListSTROutputBody:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/ShortTermListingSummary'
          type:
            - array
            - 'null'
        limit:
          format: int64
          type: integer
        offset:
          format: int64
          type: integer
        total:
          format: int64
          type: integer
      required:
        - total
        - limit
        - offset
        - items
      type: object
    ErrorModel:
      additionalProperties: false
      properties:
        detail:
          description: Explicación de este caso concreto.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Lista de errores individuales, cuando los hay.
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type:
            - array
            - 'null'
        instance:
          description: URI de esta ocurrencia del problema.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: Código de estado HTTP.
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: Resumen corto del tipo de problema.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: URI que identifica el tipo de problema.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
      type: object
    ShortTermListingSummary:
      additionalProperties: false
      properties:
        avg_min_nights:
          format: double
          type: number
        bedrooms:
          format: int32
          maximum: 32767
          minimum: -32768
          type: integer
        beds:
          format: int32
          maximum: 32767
          minimum: -32768
          type: integer
        calendar_observed_days:
          format: int32
          maximum: 32767
          minimum: -32768
          type: integer
        calendar_unavailable_days:
          format: int32
          maximum: 32767
          minimum: -32768
          type: integer
        calendar_unavailable_pct:
          description: Observed unavailable calendar share (not confirmed bookings)
          format: double
          type: number
        capacity:
          format: int32
          maximum: 32767
          minimum: -32768
          type: integer
        city_display_name:
          type: string
        city_slug:
          type: string
        country_code:
          type: string
        cover_photo_url:
          type: string
        currency:
          type: string
        est_monthly_income:
          format: double
          type:
            - number
            - 'null'
        estimated_occupancy_pct:
          format: double
          type:
            - number
            - 'null'
        external_id:
          type: string
        first_seen_date:
          type: string
        h3_res8:
          type: string
        host_id:
          description: Public portal host identifier; filter listings with host_id
          type: string
        host_name:
          type: string
        id:
          type: string
        is_superhost:
          type: boolean
        last_seen_date:
          type: string
        latitude:
          format: double
          type: number
        locality_name:
          type: string
        longitude:
          format: double
          type: number
        monthly_gross_potential_30n:
          description: >-
            Full-availability 30-night gross capacity (observed_night_price *
            30), not expected income
          format: double
          type: number
        name:
          type: string
        neighborhood_name:
          type: string
        observed_night_price:
          description: Observed nightly price signal from scrape history (not revenue)
          format: double
          type: number
        occupancy_confidence:
          type: string
        occupancy_method:
          type: string
        occupancy_snapshot_count:
          format: int64
          type: integer
        occupancy_status:
          type: string
        photo_count:
          format: int64
          type: integer
        property_type:
          type: string
        rating_overall:
          format: double
          type: number
        review_count:
          format: int64
          type: integer
        room_type:
          type: string
        source_name:
          type: string
        source_scraped_at:
          format: date-time
          type: string
        title:
          type: string
        url:
          type: string
      required:
        - id
        - external_id
        - source_name
        - country_code
        - city_slug
        - property_type
        - currency
        - occupancy_method
        - occupancy_status
        - occupancy_confidence
        - occupancy_snapshot_count
        - estimated_occupancy_pct
        - est_monthly_income
        - photo_count
        - first_seen_date
        - last_seen_date
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: Dónde está el error, por ejemplo `body.latitude` o `query.limit`.
          type: string
        message:
          description: Descripción del error.
          type: string
        value:
          description: Valor recibido en esa ubicación.
      type: object
  securitySchemes:
    apiKey:
      description: >-
        API key de InmoData (`imd_...`). También se acepta como `Authorization:
        Bearer imd_...`.
      in: header
      name: X-Api-Key
      type: apiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.