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

# Enriquecer coordenadas

> Contexto de un punto: ciudad, localidad y barrio, estrato DANE inferido, distancia a transporte y parques, puntos de interés cercanos, contexto de seguridad y precio por m² de la zona.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/geo/enrich
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/enrich:
    post:
      tags:
        - geoespacial
      summary: Enriquecer coordenadas
      description: >-
        Contexto de un punto: ciudad, localidad y barrio, estrato DANE inferido,
        distancia a transporte y parques, puntos de interés cercanos, contexto
        de seguridad y precio por m² de la zona.
      operationId: Geospatial-geo-enrich
      parameters: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EnrichInputBody'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EnrichResult'
          description: OK
        default:
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Error
      security:
        - apiKey: []
components:
  schemas:
    EnrichInputBody:
      additionalProperties: false
      properties:
        country_code:
          default: CO
          type: string
          description: Código de país ISO-2. Por defecto `CO`.
        latitude:
          format: double
          maximum: 90
          minimum: -90
          type: number
          description: Latitud en grados decimales (WGS84).
        longitude:
          format: double
          maximum: 180
          minimum: -180
          type: number
          description: Longitud en grados decimales (WGS84).
      required:
        - latitude
        - longitude
      type: object
    EnrichResult:
      additionalProperties: false
      properties:
        city_name:
          type: string
        city_slug:
          type: string
        country_code:
          type: string
        inferred_stratum:
          format: int32
          maximum: 32767
          minimum: -32768
          type: integer
        latitude:
          format: double
          type: number
        locality_name:
          type: string
        locality_slug:
          type: string
        longitude:
          format: double
          type: number
        nearest_park_m:
          format: double
          type: number
        nearest_transit_m:
          format: double
          type: number
        nearest_transit_name:
          type: string
        neighborhood_name:
          type: string
        neighborhood_slug:
          type: string
        parks_within_1000m:
          format: int64
          type: integer
        pois_within_1000m:
          format: int64
          type: integer
        price_grid_signals:
          items:
            $ref: '#/components/schemas/PriceGridPoint'
          type:
            - array
            - 'null'
        safety_context:
          $ref: '#/components/schemas/SafetyContext'
        spatial_details: {}
        transit_within_1000m:
          format: int64
          type: integer
        transit_within_500m:
          format: int64
          type: integer
      required:
        - latitude
        - longitude
        - country_code
        - transit_within_500m
        - transit_within_1000m
        - parks_within_1000m
        - pois_within_1000m
        - price_grid_signals
      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
    PriceGridPoint:
      additionalProperties: false
      properties:
        business_type:
          type: string
        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:
        - h3_res8
        - business_type
        - property_type
        - predicted_price_m2
        - sample_size
        - model_version
      type: object
    SafetyContext:
      additionalProperties: false
      properties:
        cais_within_1000m:
          format: int64
          type: integer
        locality_name:
          type: string
        metrics:
          additionalProperties:
            $ref: '#/components/schemas/CrimeMetric'
          type: object
        nearest_cai_m:
          format: double
          type: number
        nearest_cai_name:
          type: string
        period:
          type: string
        reference_year:
          format: int64
          type: integer
        source:
          type: string
      required:
        - cais_within_1000m
      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
    CrimeMetric:
      additionalProperties: false
      properties:
        count:
          format: int64
          type: integer
        previous_count:
          format: int64
          type: integer
        yoy_change_pct:
          format: double
          type: number
      required:
        - count
      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.