> ## 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.

# Proyectos en un mapa

> Versión ligera de los proyectos para pines y tarjetas en un área del mapa.

> [!NOTE]
>
> Pensado para pintar un mapa: no calcula el total y responde `has_more` para saber si hay más resultados. Usa el resumen del área para totales y estadísticas.


## OpenAPI

````yaml /api-reference/openapi.json get /v1/presale/projects/map
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/presale/projects/map:
    get:
      tags:
        - preventa
      summary: Proyectos en un mapa
      description: >-
        Versión ligera de los proyectos para pines y tarjetas en un área del
        mapa.
      operationId: Presale-presale-map
      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: Condición del proyecto, por ejemplo `vis` o `no_vis`.
          explode: false
          in: query
          name: housing_condition
          schema:
            type: string
        - 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_area
          schema:
            format: double
            minimum: 0
            type: number
          description: Área mínima en m².
        - explode: false
          in: query
          name: max_area
          schema:
            format: double
            minimum: 0
            type: number
          description: Área máxima en m².
        - explode: false
          in: query
          name: min_bedrooms
          schema:
            format: int64
            minimum: 0
            type: integer
          description: Número mínimo de habitaciones.
        - description: 'Plazo de entrega: `immediate`, `soon` o `future`.'
          explode: false
          in: query
          name: delivery
          schema:
            enum:
              - immediate
              - soon
              - future
            type: string
        - explode: false
          in: query
          name: sort
          schema:
            default: recent
            enum:
              - recent
              - price_asc
              - price_desc
              - price_m2_asc
              - price_m2_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/ListPresaleMapOutputBody'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - apiKey: []
components:
  schemas:
    ListPresaleMapOutputBody:
      additionalProperties: false
      properties:
        has_more:
          type: boolean
        items:
          items:
            $ref: '#/components/schemas/PresaleMapItem'
          type:
            - array
            - 'null'
        limit:
          format: int64
          type: integer
        offset:
          format: int64
          type: integer
      required:
        - limit
        - offset
        - has_more
        - 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
    PresaleMapItem:
      additionalProperties: false
      properties:
        avg_price_per_m2:
          format: double
          type: number
        city_slug:
          type: string
        country_code:
          type: string
        cover_photo_url:
          type: string
        currency:
          type: string
        delivery_date_raw:
          type: string
        delivery_horizon:
          type: string
        first_seen_date:
          type: string
        housing_condition:
          type: string
        id:
          type: string
        last_seen_date:
          type: string
        latitude:
          format: double
          type: number
        longitude:
          format: double
          type: number
        max_area_m2:
          format: double
          type: number
        max_bathrooms:
          format: int32
          maximum: 32767
          minimum: -32768
          type: integer
        max_bedrooms:
          format: int32
          maximum: 32767
          minimum: -32768
          type: integer
        max_price:
          format: double
          type: number
        min_area_m2:
          format: double
          type: number
        min_bedrooms:
          format: int32
          maximum: 32767
          minimum: -32768
          type: integer
        min_price:
          format: double
          type: number
        min_price_per_m2:
          format: double
          type: number
        months_to_delivery:
          format: int64
          type: integer
        neighborhood:
          type: string
        project_name:
          type: string
        project_tag:
          type: string
        source_name:
          type: string
        source_scraped_at:
          format: date-time
          type: string
        typology_count:
          format: int32
          maximum: 32767
          minimum: -32768
          type: integer
        url:
          type: string
        zone_slug:
          type: string
      required:
        - id
        - source_name
        - country_code
        - city_slug
        - currency
        - typology_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.