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

# Search Swedish properties (POST)

> Multi-search body equivalent of the GET endpoint. Proxies to the Typesense `properties_se` collection. `per_page` is capped at 50.

<Badge color="purple" size="sm">Max+ tier</Badge>


## OpenAPI

````yaml post /search-public/properties
openapi: 3.1.1
info:
  title: TIC Lens API
  description: "The TIC Lens API provides programmatic access to company, person, property, vehicle, and order data.\r\n\r\n## Authentication\r\n\r\nAll requests require an API key passed via the `x-api-key` header:\r\n\r\n```bash\r\ncurl -H \"x-api-key: YOUR_API_KEY\" https://lens-api.tic.io/companies/123\r\n```\r\n\r\nAPI keys are managed through the TIC Lens web application under **Settings → API Keys**.\r\n\r\n## Base URL\r\n\r\n| Environment | URL |\r\n|-------------|-----|\r\n| Production  | `https://lens-api.tic.io` |\r\n\r\n## Feature Access\r\n\r\nEndpoints are gated by your subscription plan. If your plan does not include a feature, the endpoint will return `403 Forbidden`.\r\n\r\n## Rate Limits\r\n\r\nRate limits are applied per API key. If you exceed the limit, requests will return `429 Too Many Requests`.\r\n\r\n## Response Format\r\n\r\nAll responses are JSON. Null values are omitted from responses.\r\n"
  version: v1
servers:
  - url: https://lens-api.tic.io
security:
  - ApiKey: []
tags:
  - name: Addresses
  - name: Bolagsverket
  - name: Brf
  - name: Companies
  - name: Documents
  - name: FlightImages
  - name: Free
  - name: Orders
  - name: OrdersExports
  - name: PaymentControl
  - name: PaymentControlImport
  - name: Persons
  - name: Properties
  - name: PublicSearch
  - name: SearchAutocomplete
  - name: Sentinel
  - name: ServingPermits
  - name: Team
  - name: Teams
  - name: Transportstyrelsen
  - name: Vehicles
  - name: WatchList
paths:
  /search-public/properties:
    post:
      tags:
        - PublicSearch
      summary: Search Swedish properties (POST)
      description: >-
        Multi-search body equivalent of the GET endpoint. Proxies to the
        Typesense `properties_se` collection. `per_page` is capped at 50.
      operationId: SearchPropertiesPost
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/Ormeo_Web_Lens_Models_Search_Search_Dto'
          application/json:
            schema:
              $ref: '#/components/schemas/Ormeo_Web_Lens_Models_Search_Search_Dto'
          text/json:
            schema:
              $ref: '#/components/schemas/Ormeo_Web_Lens_Models_Search_Search_Dto'
          application/*+json:
            schema:
              $ref: '#/components/schemas/Ormeo_Web_Lens_Models_Search_Search_Dto'
      responses:
        '200':
          description: Typesense multi-search response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Ormeo_Library_Search_Documents_TypesenseLantmaterietFastighetDocumentTypesenseMultiSearchResponse
        '502':
          description: Upstream Typesense error
components:
  schemas:
    Ormeo_Web_Lens_Models_Search_Search_Dto:
      type: object
      properties:
        collection:
          type:
            - 'null'
            - string
        q:
          type:
            - 'null'
            - string
        query_by:
          type:
            - 'null'
            - string
        filter_by:
          type:
            - 'null'
            - string
        sort_by:
          type:
            - 'null'
            - string
        per_page:
          type:
            - 'null'
            - integer
          format: int32
        page:
          type:
            - 'null'
            - integer
          format: int32
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesenseLantmaterietFastighetDocumentTypesenseMultiSearchResponse:
      type: object
      properties:
        results:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_Documents_TypesenseLantmaterietFastighetDocumentTypesenseSearchResponse
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesenseLantmaterietFastighetDocumentTypesenseSearchResponse:
      type: object
      properties:
        facet_counts:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Search_TypesenseFacetCounts'
        found:
          type: integer
          format: int32
        hits:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_Documents_TypesenseLantmaterietFastighetDocumentHit
        grouped_hits:
          $ref: >-
            #/components/schemas/Ormeo_Library_Search_Documents_TypesenseLantmaterietFastighetDocumentGroupedHits
        out_of:
          type: integer
          format: int32
        page:
          type: integer
          format: int32
        request_params:
          $ref: '#/components/schemas/Ormeo_Library_Search_RequestParams'
        search_cutoff:
          type:
            - 'null'
            - boolean
        search_time_ms:
          type: integer
          format: int32
      additionalProperties: false
    Ormeo_Library_Search_TypesenseFacetCounts:
      type: object
      properties:
        counts:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_TypesenseFacetCountDetails
        field_name:
          type:
            - 'null'
            - string
        sampled:
          type: boolean
        stats:
          $ref: '#/components/schemas/Ormeo_Library_Search_TypesenseFacetCountsStats'
        localizedFieldName:
          type:
            - 'null'
            - string
          readOnly: true
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesenseLantmaterietFastighetDocumentHit:
      type: object
      properties:
        document:
          $ref: >-
            #/components/schemas/Ormeo_Library_Search_Documents_TypesenseLantmaterietFastighetDocument
        geo_distance_meters:
          type: 'null'
        highlight:
          type: 'null'
        highlights:
          type:
            - 'null'
            - array
          items:
            $ref: '#/components/schemas/Ormeo_Library_Search_HighlightElement'
        text_match:
          type:
            - 'null'
            - number
          format: double
        text_match_info:
          $ref: '#/components/schemas/Ormeo_Library_Search_TextMatchInfo'
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesenseLantmaterietFastighetDocumentGroupedHits:
      type: object
      properties:
        group_key:
          type:
            - 'null'
            - array
          items:
            type: string
        hits:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_Documents_TypesenseLantmaterietFastighetDocumentHit
      additionalProperties: false
    Ormeo_Library_Search_RequestParams:
      type: object
      properties:
        collection_name:
          type:
            - 'null'
            - string
        first_q:
          type:
            - 'null'
            - string
        per_page:
          type:
            - 'null'
            - integer
          format: int64
        q:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Library_Search_TypesenseFacetCountDetails:
      type: object
      properties:
        count:
          type: integer
          format: int64
        highlighted:
          type:
            - 'null'
            - string
        value:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Library_Search_TypesenseFacetCountsStats:
      type: object
      properties:
        total_values:
          type: integer
          format: int64
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesenseLantmaterietFastighetDocument:
      type: object
      properties:
        id:
          type:
            - 'null'
            - string
        propertyId:
          type:
            - 'null'
            - integer
          format: int32
        propertyDesignation:
          type:
            - 'null'
            - string
        propertySlug:
          type:
            - 'null'
            - string
        propertyType:
          $ref: '#/components/schemas/Ormeo_Library_Entities_LantmaterietFastighetTyp'
        statusType:
          $ref: >-
            #/components/schemas/Ormeo_Library_Entities_LantmaterietFastighetStatus
        buildingNames:
          type:
            - 'null'
            - array
          items:
            type: string
        centroidArea1:
          type:
            - 'null'
            - array
          items:
            type: number
            format: double
        municipalityCode:
          type:
            - 'null'
            - integer
          format: int32
        countyCode:
          type:
            - 'null'
            - integer
          format: int32
        landArea:
          type:
            - 'null'
            - number
          format: double
        waterArea:
          type:
            - 'null'
            - number
          format: double
        totalArea:
          type:
            - 'null'
            - number
          format: double
        streetAddress:
          type:
            - 'null'
            - string
        postalCode:
          type:
            - 'null'
            - integer
          format: int32
        city:
          type:
            - 'null'
            - string
        buildingTypes:
          type:
            - 'null'
            - array
          items:
            type: string
        buildingPurposes:
          type:
            - 'null'
            - array
          items:
            type: string
        numberOfAreas:
          type:
            - 'null'
            - integer
          format: int32
        areas:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_Documents_TypesenseLantmaterietOmrade
        lastOwnerRegistrationDate:
          type:
            - 'null'
            - integer
          format: int64
        owners:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_Documents_TypesenseLantmaterietOwner
        numberOfBuildings:
          type:
            - 'null'
            - integer
          format: int32
        numberOfAddresses:
          type:
            - 'null'
            - integer
          format: int32
        safetyShelterNumbers:
          type:
            - 'null'
            - array
          items:
            type: string
        taxationCode:
          type:
            - 'null'
            - integer
          format: int32
        taxationValue:
          type:
            - 'null'
            - integer
          format: int64
        taxationYear:
          type:
            - 'null'
            - integer
          format: int32
        taxationProperties:
          type:
            - 'null'
            - array
          items:
            type: string
        taxationValueParts:
          type:
            - 'null'
            - array
          items:
            $ref: >-
              #/components/schemas/Ormeo_Library_Search_Documents_TypesenseTaxeringDelvarde
      additionalProperties: false
    Ormeo_Library_Search_HighlightElement:
      type: object
      properties:
        field:
          type:
            - 'null'
            - string
        matched_tokens:
          type:
            - 'null'
            - array
          items:
            type: string
        snippet:
          type:
            - 'null'
            - string
      additionalProperties: false
    Ormeo_Library_Search_TextMatchInfo:
      type: object
      properties:
        best_field_score:
          type:
            - 'null'
            - string
        best_field_weight:
          type:
            - 'null'
            - integer
          format: int64
        fields_matched:
          type:
            - 'null'
            - integer
          format: int64
        num_tokens_dropped:
          type:
            - 'null'
            - integer
          format: int64
        score:
          type:
            - 'null'
            - string
        tokens_matched:
          type:
            - 'null'
            - integer
          format: int64
        typo_prefix_score:
          type:
            - 'null'
            - integer
          format: int64
      additionalProperties: false
    Ormeo_Library_Entities_LantmaterietFastighetTyp:
      enum:
        - fastighet
        - samfallighet
      type: string
    Ormeo_Library_Entities_LantmaterietFastighetStatus:
      enum:
        - avregistrerad
        - levande
      type: string
    Ormeo_Library_Search_Documents_TypesenseLantmaterietOmrade:
      type: object
      properties:
        areaId:
          type:
            - 'null'
            - integer
          format: int32
        surface:
          type:
            - 'null'
            - array
          items:
            type: array
            items:
              type: array
              items:
                type: number
                format: double
        centroid:
          type:
            - 'null'
            - array
          items:
            type: number
            format: double
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesenseLantmaterietOwner:
      type: object
      properties:
        companyId:
          type:
            - 'null'
            - integer
          format: int32
        personId:
          type:
            - 'null'
            - integer
          format: int32
        numerator:
          type:
            - 'null'
            - integer
          format: int64
        denominator:
          type:
            - 'null'
            - integer
          format: int64
        registrationDate:
          type:
            - 'null'
            - integer
          format: int64
      additionalProperties: false
    Ormeo_Library_Search_Documents_TypesenseTaxeringDelvarde:
      type: object
      properties:
        part:
          type:
            - 'null'
            - string
        amount:
          type:
            - 'null'
            - integer
          format: int64
      additionalProperties: false
  securitySchemes:
    ApiKey:
      type: apiKey
      name: x-api-key
      in: header

````