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

# /midland/commercial/properties/search

> Search Midland ICI (美聯工商舖) Hong Kong commercial listings — offices, industrial space and shops for sale or lease. Filters cover property class, sale or lease, free text, districts, building, street and MTR station ids, building grade, floor band, stock type, sole-agency and newly listed tags, asking price, monthly rent, area, price per square foot, rent per square foot, and whether photos, a video or a virtual tour are attached. Each listing carries the reference number, name and address, district, street and building, grade, floor band and stock type (street-level shop, basement, upper-floor shop, industrial), the area range, price and rent with per-square-foot figures and negotiability flags, unit features such as lift-facing, sea or garden outlook, tags, media flags, thumbnail, coordinates, the nearest MTR station with walking time, a link to deals in the same building, and the assigned agents with EAA licence numbers and contact channels.

**Price:** 1 credit



## OpenAPI

````yaml /openapi/real-estate.json post /api/midland/commercial/properties/search
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/midland/commercial/properties/search:
    post:
      tags:
        - /midland/commercial
      summary: /midland/commercial/properties/search
      description: >-
        Search Midland ICI (美聯工商舖) Hong Kong commercial listings — offices,
        industrial space and shops for sale or lease. Filters cover property
        class, sale or lease, free text, districts, building, street and MTR
        station ids, building grade, floor band, stock type, sole-agency and
        newly listed tags, asking price, monthly rent, area, price per square
        foot, rent per square foot, and whether photos, a video or a virtual
        tour are attached. Each listing carries the reference number, name and
        address, district, street and building, grade, floor band and stock type
        (street-level shop, basement, upper-floor shop, industrial), the area
        range, price and rent with per-square-foot figures and negotiability
        flags, unit features such as lift-facing, sea or garden outlook, tags,
        media flags, thumbnail, coordinates, the nearest MTR station with
        walking time, a link to deals in the same building, and the assigned
        agents with EAA licence numbers and contact channels.


        **Price:** 1 credit
      operationId: __api_midland_commercial_properties_search_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MidlandCommercialPropertiesSearchPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MidlandCommercialProperty'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MidlandCommercialPropertiesSearchPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        lang:
          $ref: '#/components/schemas/MidlandLang'
          default: zh-hk
        count:
          type: integer
          minimum: 1
        usage:
          anyOf:
            - $ref: '#/components/schemas/MidlandCommercialUsage'
            - type: 'null'
        transaction_type:
          anyOf:
            - $ref: '#/components/schemas/MidlandCommercialTransactionType'
            - type: 'null'
        text:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
        districts:
          anyOf:
            - items:
                $ref: '#/components/schemas/MidlandCommercialDistrict'
              type: array
            - type: 'null'
        building_id:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
        street_id:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
        mtr_id:
          anyOf:
            - type: string
              minLength: 1
            - type: 'null'
        grades:
          anyOf:
            - items:
                $ref: '#/components/schemas/MidlandCommercialGrade'
              type: array
            - type: 'null'
        floor_levels:
          anyOf:
            - items:
                $ref: '#/components/schemas/MidlandCommercialFloorLevel'
              type: array
            - type: 'null'
        stock_types:
          anyOf:
            - items:
                $ref: '#/components/schemas/MidlandCommercialStockType'
              type: array
            - type: 'null'
        tags:
          anyOf:
            - items:
                $ref: '#/components/schemas/MidlandCommercialTag'
              type: array
            - type: 'null'
        min_price:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        max_price:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        min_rent:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        max_rent:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        min_area:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        max_area:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        min_price_per_area:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        max_price_per_area:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        min_rent_per_area:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        max_rent_per_area:
          anyOf:
            - type: number
              minimum: 0
            - type: 'null'
        with_photo:
          anyOf:
            - type: boolean
            - type: 'null'
        with_video:
          anyOf:
            - type: boolean
            - type: 'null'
        with_vr:
          anyOf:
            - type: boolean
            - type: 'null'
        with_vr720:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
      required:
        - count
    MidlandCommercialProperty:
      properties:
        '@type':
          type: string
          default: MidlandCommercialProperty
        property_no:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        usage:
          anyOf:
            - type: string
            - type: 'null'
        transaction_types:
          items:
            type: string
          type: array
          default: []
        address:
          anyOf:
            - type: string
            - type: 'null'
        district_code:
          anyOf:
            - type: string
            - type: 'null'
        district:
          anyOf:
            - type: string
            - type: 'null'
        street:
          anyOf:
            - $ref: '#/components/schemas/MidlandRef'
            - type: 'null'
        building:
          anyOf:
            - $ref: '#/components/schemas/MidlandRef'
            - type: 'null'
        grade:
          anyOf:
            - $ref: '#/components/schemas/MidlandRef'
            - type: 'null'
        floor_level:
          anyOf:
            - $ref: '#/components/schemas/MidlandRef'
            - type: 'null'
        stock_type:
          anyOf:
            - $ref: '#/components/schemas/MidlandRef'
            - type: 'null'
        min_area:
          anyOf:
            - type: number
            - type: 'null'
        max_area:
          anyOf:
            - type: number
            - type: 'null'
        price:
          anyOf:
            - type: number
            - type: 'null'
        price_per_area:
          anyOf:
            - type: number
            - type: 'null'
        rent:
          anyOf:
            - type: number
            - type: 'null'
        rent_per_area:
          anyOf:
            - type: number
            - type: 'null'
        is_price_negotiable:
          anyOf:
            - type: boolean
            - type: 'null'
        is_rent_negotiable:
          anyOf:
            - type: boolean
            - type: 'null'
        features:
          items:
            $ref: '#/components/schemas/MidlandRef'
          type: array
          default: []
        tags:
          items:
            $ref: '#/components/schemas/MidlandRef'
          type: array
          default: []
        has_photo:
          anyOf:
            - type: boolean
            - type: 'null'
        has_video:
          anyOf:
            - type: boolean
            - type: 'null'
        has_vr:
          anyOf:
            - type: boolean
            - type: 'null'
        has_vr720:
          anyOf:
            - type: boolean
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        location:
          anyOf:
            - $ref: '#/components/schemas/MidlandLocation'
            - type: 'null'
        mtr_station:
          anyOf:
            - type: string
            - type: 'null'
        mtr_walking_seconds:
          anyOf:
            - type: integer
            - type: 'null'
        transactions_url:
          anyOf:
            - type: string
            - type: 'null'
        agents:
          items:
            $ref: '#/components/schemas/MidlandCommercialAgent'
          type: array
          default: []
      type: object
      required:
        - property_no
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    MidlandLang:
      type: string
      enum:
        - zh-hk
        - zh-cn
        - en
    MidlandCommercialUsage:
      type: string
      enum:
        - COMMERCIAL
        - INDUSTRIAL
        - SHOPS
    MidlandCommercialTransactionType:
      type: string
      enum:
        - S
        - L
    MidlandCommercialDistrict:
      type: string
      enum:
        - ABE
        - ADM
        - ALC
        - CAB
        - CEN
        - CHW
        - CSW
        - FAN
        - FOT
        - HAV
        - HMT
        - HSK
        - HUH
        - ISD
        - JOR
        - KAT
        - KOB
        - KOC
        - KOT
        - KWC
        - KWT
        - MEF
        - MIL
        - MOK
        - MOS
        - NCW
        - NOP
        - NTK
        - PFL
        - PRE
        - QUB
        - SAK
        - SHM
        - SHS
        - SHT
        - SHW
        - SKW
        - SLY
        - SOU
        - SPK
        - SSP
        - STS
        - TAH
        - TAK
        - TAP
        - TAW
        - TIH
        - TIS
        - TIW
        - TKO
        - TKT
        - TKW
        - TSE
        - TSI
        - TST
        - TSW
        - TSY
        - TUC
        - TUM
        - VIP
        - WAC
        - WCH
        - WCN
        - WES
        - WTS
        - YAT
        - YMT
        - YUL
    MidlandCommercialGrade:
      type: string
      enum:
        - MISC00165
        - MISC00166
    MidlandCommercialFloorLevel:
      type: string
      enum:
        - MISC00169
        - MISC00170
        - MISC00171
        - MISC00172
        - MISC00173
        - MISC00174
    MidlandCommercialStockType:
      type: string
      enum:
        - MISC00177
        - MISC00178
        - MISC00179
        - MISC00180
        - MISC00109
        - MISC00100
        - MISC00110
        - MISC00108
        - MISC00105
        - MISC00115
    MidlandCommercialTag:
      type: string
      enum:
        - soleagent
        - new_property
    MidlandRef:
      properties:
        '@type':
          type: string
          default: MidlandRef
        id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    MidlandLocation:
      properties:
        '@type':
          type: string
          default: MidlandLocation
        latitude:
          anyOf:
            - type: number
            - type: 'null'
        longitude:
          anyOf:
            - type: number
            - type: 'null'
      type: object
    MidlandCommercialAgent:
      properties:
        '@type':
          type: string
          default: MidlandCommercialAgent
        id:
          anyOf:
            - type: string
            - type: 'null'
        licence_no:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        name_zh_cn:
          anyOf:
            - type: string
            - type: 'null'
        name_en:
          anyOf:
            - type: string
            - type: 'null'
        job_title:
          anyOf:
            - type: string
            - type: 'null'
        email:
          anyOf:
            - type: string
            - type: 'null'
        phone:
          anyOf:
            - type: string
            - type: 'null'
        whatsapp:
          anyOf:
            - type: string
            - type: 'null'
        wechat_id:
          anyOf:
            - type: string
            - type: 'null'
        wechat_qr:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        department_id:
          anyOf:
            - type: string
            - type: 'null'
        department_name:
          anyOf:
            - type: string
            - type: 'null'
        department_code:
          anyOf:
            - type: string
            - type: 'null'
        is_sole_agent:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````