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

# Retícula de precio por m²

> Celdas hexagonales H3 de resolución 8 con el precio por m², para construir mapas de calor. Con `include_geom` cada celda incluye su polígono.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/geo/price-grid
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/geo/price-grid:
    get:
      tags:
        - geoespacial
      summary: Retícula de precio por m²
      description: >-
        Celdas hexagonales H3 de resolución 8 con el precio por m², para
        construir mapas de calor. Con `include_geom` cada celda incluye su
        polígono.
      operationId: Geospatial-geo-price-grid
      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 operación.
          explode: false
          in: query
          name: business_type
          schema:
            default: sale
            enum:
              - sale
              - rent
            type: string
        - explode: false
          in: query
          name: property_type
          schema:
            default: apartment
            type: string
          description: >-
            Tipo de inmueble: `apartment`, `house`, `office`, `retail`,
            `studio`, `warehouse` o `land`.
        - description: >-
            Área rectangular del mapa: `oeste,sur,este,norte` en grados
            decimales.
          explode: false
          in: query
          name: bbox
          schema:
            type: string
        - description: Incluye el polígono GeoJSON de cada celda.
          explode: false
          in: query
          name: include_geom
          schema:
            default: false
            type: boolean
        - explode: false
          in: query
          name: limit
          schema:
            default: 200
            format: int64
            maximum: 2000
            minimum: 1
            type: integer
          description: Número máximo de resultados.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PriceGridOutputBody'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - apiKey: []
components:
  schemas:
    PriceGridOutputBody:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        items:
          items:
            $ref: '#/components/schemas/PriceGridCell'
          type:
            - array
            - 'null'
      required:
        - count
        - 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
    PriceGridCell:
      additionalProperties: false
      properties:
        business_type:
          type: string
        city_slug:
          type: string
        computed_at:
          format: date-time
          type: string
        country_code:
          type: string
        geometry: {}
        h3_res8:
          type: string
        model_version:
          type: string
        p25_price_m2:
          format: double
          type: number
        p75_price_m2:
          format: double
          type: number
        predicted_price_m2:
          format: double
          type: number
        property_type:
          type: string
        sample_size:
          format: int64
          type: integer
      required:
        - country_code
        - city_slug
        - computed_at
        - h3_res8
        - business_type
        - property_type
        - predicted_price_m2
        - sample_size
        - model_version
      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.