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

# Create a property valuation

> Creates a valuation that searches comparable properties in the area and generates a price estimate. Consumes `maxValuationsPerMonth` quota.



## OpenAPI

````yaml /openapi.json post /public/v1/valuations
openapi: 3.0.0
info:
  title: Hostreach API
  description: >-
    Public REST API for Hostreach.


    Authenticate with an API key via the `X-Api-Key` header or `Authorization:
    Bearer <key>` header.


    Generate API keys from **Settings › Workspace › Acceso API** in the
    dashboard.
  version: '1.0'
  contact: {}
servers:
  - url: https://api.hostreach.io/v1
    description: Production
  - url: http://localhost:3001/v1
    description: Local
security:
  - apiKey: []
tags:
  - name: Identity
    description: Current workspace and usage
  - name: Platforms
    description: Supported real-estate portals and filter schemas
  - name: Extractions
    description: Lead extraction jobs
  - name: Leads
    description: Lead management
  - name: Campaigns
    description: Campaign management
  - name: Messaging
    description: Inbox and WhatsApp conversations
  - name: Templates
    description: WhatsApp message templates
  - name: Accounts
    description: WhatsApp accounts
  - name: Valuations
    description: Property valuations
  - name: Fichas
    description: Property listing sheets
  - name: Scheduling
    description: Calendar and appointments
  - name: Webhooks
    description: Event subscriptions
paths:
  /public/v1/valuations:
    post:
      tags:
        - Valuations
      summary: Create a property valuation
      description: >-
        Creates a valuation that searches comparable properties in the area and
        generates a price estimate. Consumes `maxValuationsPerMonth` quota.
      operationId: PublicValuationsController_createValuation
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - latitude
                - longitude
                - squareMeters
              properties:
                latitude:
                  type: number
                  description: Property latitude (WGS84).
                  example: 40.4168
                longitude:
                  type: number
                  description: Property longitude (WGS84).
                  example: -3.7038
                squareMeters:
                  type: number
                  description: Usable floor area in m².
                  example: 80
                searchRadius:
                  type: number
                  description: >-
                    Search radius in km for comparable properties. Defaults to
                    5. Ignored when `polygon` is provided.
                  example: 2
                polygon:
                  type: array
                  items:
                    type: object
                    properties:
                      lat:
                        type: number
                      lng:
                        type: number
                  description: >-
                    Custom polygon area (min 3 points). Takes precedence over
                    `searchRadius`.
                locationId:
                  type: string
                  description: Idealista location ID (optional, for tier management).
                bedrooms:
                  type: integer
                  example: 3
                bathrooms:
                  type: integer
                  example: 2
                hasParking:
                  type: boolean
                  example: false
                hasPool:
                  type: boolean
                  example: false
                hasGarden:
                  type: boolean
                  example: false
                hasElevator:
                  type: boolean
                  example: true
                floorNumber:
                  type: integer
                  example: 4
                propertyType:
                  type: string
                  enum:
                    - homes
                    - offices
                    - premises
                    - garages
                  example: homes
                operation:
                  type: string
                  enum:
                    - sale
                    - rent
                  example: sale
                conservation:
                  type: string
                  enum:
                    - new
                    - good
                    - to_renovate
                  example: good
                name:
                  type: string
                  description: Custom label for this valuation.
                  example: Calle Mayor 12, 3º B
                locationName:
                  type: string
                  description: Human-readable address for display.
                  example: Madrid Centro
                amenities:
                  type: array
                  items:
                    type: string
                  description: Property amenity tags.
                selectedLocations:
                  type: array
                  items:
                    type: string
                  description: Comparable IDs to include in the calculation.
                excludedComparables:
                  type: array
                  items:
                    type: string
                  description: Comparable IDs to exclude from the calculation.
                reportConfig:
                  type: object
                  description: Initial report configuration.
                  properties:
                    brandLogo:
                      type: boolean
                    includePhotos:
                      type: boolean
                    includeComparables:
                      type: boolean
                    includeMarketStats:
                      type: boolean
                    customMessage:
                      type: string
                    operation:
                      type: string
                      enum:
                        - sale
                        - rent
              example:
                latitude: 40.4168
                longitude: -3.7038
                squareMeters: 80
                bedrooms: 3
                bathrooms: 2
                propertyType: homes
                operation: sale
                name: Calle Mayor 12, 3º B
      responses:
        '201':
          description: ''
      security:
        - bearerApiKey: []
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-Api-Key
      description: >-
        API key (hr_live_... or hr_test_...). Generate from Settings › Workspace
        › Acceso API.

````