---
title: "Sale Price Within County Dispersion"
method: GET
path: "/api/v1/stats/sale_price/dispersion/{geography_id}"
tags: ["stats"]
---

# Sale Price Within County Dispersion

`GET /api/v1/stats/sale_price/dispersion/{geography_id}`

## Request

- Base URL: `https://statsmapped.com`
- URL: `https://statsmapped.com/api/v1/stats/sale_price/dispersion/{geography_id}`
- Auth: none declared

The spread of individual sale prices WITHIN one county, not the spread between
counties (see `sale_price_dispersion()` for that) -- "is this county one market or
two?", which a single county-quarter median actively hides. See this function's own
module-level comment above for why this is cached rather than a bare per-request query.

## Path parameters

- `geography_id` string, required

## Response `200`

Successful Response

- SalePriceWithinCountyDispersionResponse
  - `country` string
  - `geography_id` string, required
  - `area_name` string, required
  - `years` SalePriceWithinCountyYear[], required
    - `country` string
    - `year` integer, required
    - `min` number, required
    - `p25` number, required
    - `median` number, required
    - `p75` number, required
    - `max` number, required
    - `n` integer, required
    - `min_sale` number, required
    - `max_sale` number, required
  - `caveats` Caveat[]
    - `country` string
    - `kind` string, required
    - `severity` string, required
    - `label` string, required
    - `body` string, required
    - `source_url` string, nullable
    - `origin` string, required
    - `interpretive` boolean
    - `stats` CaveatStats
      - `country` string
      - `median` number, required
      - `n` integer, required
      - `modified_z` number, required
      - `peer_basis` string, required

## Other responses

- `400`: Bad request
- `401`: Missing or invalid credentials
- `403`: Not authorized for this request
- `404`: Not found
- `422`: Validation error
- `429`: Rate limited

---

[API](https://skmtc.dev/statsmapped/apis/statsmapped-api.md) · [All operations](https://skmtc.dev/statsmapped/apis/statsmapped-api/llms.txt) · [OpenAPI document](https://skmtc.dev/statsmapped/apis/statsmapped-api/revisions/7c5b264d05b7?raw)
