RealEstateAPI · Capability

RealEstateAPI — Comparables

RealEstateAPI — Comparables. 1 operations. Lead operation: Retrieve comparable properties. Self-contained Naftiko capability covering one Realestateapi business surface.

Run with Naftiko RealestateapiComparables

What You Can Do

POST
Post — Retrieve comparable properties
/v1/v2/propertycomps

MCP Tools

retrieve-comparable-properties

Retrieve comparable properties

read-only

Capability Spec

realestateapi-comparables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: RealEstateAPI — Comparables
  description: 'RealEstateAPI — Comparables. 1 operations. Lead operation: Retrieve comparable properties. Self-contained
    Naftiko capability covering one Realestateapi business surface.'
  tags:
  - Realestateapi
  - Comparables
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    REALESTATEAPI_API_KEY: REALESTATEAPI_API_KEY
capability:
  consumes:
  - type: http
    namespace: realestateapi-comparables
    baseUri: https://api.realestateapi.com
    description: RealEstateAPI — Comparables business capability. Self-contained, no shared references.
    resources:
    - name: v2-PropertyComps
      path: /v2/PropertyComps
      operations:
      - name: post
        method: POST
        description: Retrieve comparable properties
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: x-api-key
      value: '{{env.REALESTATEAPI_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: realestateapi-comparables-rest
    port: 8080
    description: REST adapter for RealEstateAPI — Comparables. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v2/propertycomps
      name: v2-propertycomps
      description: REST surface for v2-PropertyComps.
      operations:
      - method: POST
        name: post
        description: Retrieve comparable properties
        call: realestateapi-comparables.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: realestateapi-comparables-mcp
    port: 9090
    transport: http
    description: MCP adapter for RealEstateAPI — Comparables. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: retrieve-comparable-properties
      description: Retrieve comparable properties
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: realestateapi-comparables.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.