---
title: "Comparable Sales Aggregated"
method: GET
path: "/api/v1/cd-planner/comparable-sales-aggregated"
tags: ["cd-planner"]
---

# Comparable Sales Aggregated

`GET /api/v1/cd-planner/comparable-sales-aggregated`

## Request

- Base URL: `https://api.casaintelligence.com.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.casaintelligence.com.au/api/v1/cd-planner/comparable-sales-aggregated`
- Auth: API key in header `X-API-Key`

Aggregated comparable-sales stats with price distribution + trend.

Two scopes:
  local — sales within radius_m metres of the subject property
  lga   — sales across the whole LGA, filtered to similar properties
          (lot size ±lot_band_pct, same property_type, same broad
          zone family if available)

Each scope returns:
  summary     — count, median, p25, p75, median $/m², most-recent date
  by_year     — sales-count + median-price per year (last :months)
  by_type     — sales-count + median-price per property_type
  buckets     — price histogram (10 buckets evenly spread p5..p95)
  sample_rows — up to 30 example rows for spot-checks (the user can
                deep-dive into the table view to see all)

## Query parameters

- `property_id` string, required
- `scope` string
- `radius_m` integer
- `months` integer
- `lot_band_pct` integer: LGA-scope similarity tolerance — pull sales whose lot is within ±X% of the subject lot.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/casaintelligence/apis/casa-intelligence-engine.md) · [All operations](https://skmtc.dev/casaintelligence/apis/casa-intelligence-engine/llms.txt) · [OpenAPI document](https://skmtc.dev/casaintelligence/apis/casa-intelligence-engine/revisions/71d711039de0?raw)
