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

> Get one Midland ICI (美聯工商舖) Hong Kong commercial listing by its reference number (or listing URL). Returns the property class (office, industrial or shop), sale or lease intent, name and address, district, street and building, building grade, floor band and stock type, the area range, asking price and monthly rent with per-square-foot figures and negotiability flags, unit features, 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, emails, phone, WhatsApp and WeChat contacts.

**Price:** 1 credit

**⚠️ Common errors:** 412: No commercial listing with this reference number.



## OpenAPI

````yaml /openapi/real-estate.json post /api/midland/commercial/properties
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:
    post:
      tags:
        - /midland/commercial
      summary: /midland/commercial/properties
      description: >-
        Get one Midland ICI (美聯工商舖) Hong Kong commercial listing by its
        reference number (or listing URL). Returns the property class (office,
        industrial or shop), sale or lease intent, name and address, district,
        street and building, building grade, floor band and stock type, the area
        range, asking price and monthly rent with per-square-foot figures and
        negotiability flags, unit features, 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,
        emails, phone, WhatsApp and WeChat contacts.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No commercial listing with this reference
        number.
      operationId: __api_midland_commercial_properties_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MidlandCommercialPropertiesPayload'
      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:
    MidlandCommercialPropertiesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        lang:
          $ref: '#/components/schemas/MidlandLang'
          default: zh-hk
        property_no:
          type: string
      type: object
      required:
        - property_no
    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
    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

````