---
title: "Get Properties By State"
method: GET
path: "/properties/by-state/{state}"
tags: ["Propertys"]
---

# Get Properties By State

`GET /properties/by-state/{state}`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/properties/by-state/{state}`
- Auth: none declared

Get a geojson FeatureCollection of visible properties for a single state.

Caching: this dataset only changes when an admin edits a property,
so we cache the encoded payload in Redis for an hour and advertise
the same TTL to shared caches (Cloudflare). Browsers get a shorter
`max-age` so a stale tab heals quickly without a full reload.

## Path parameters

- `state` string, required

## Query parameters

- `expanded` boolean, nullable
- `include_capabilities` boolean, nullable
- `country` 'AU' | 'NZ': ISO country code used to scope public property inventory.

## Headers

- `API-Version` '1'

## Response `200`

Successful Response

- SuccessPayload
  - `msg` string, required
  - `data` union
    - object
    - unknown[]
      - unknown
    - string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/totalparks/apis/total-parks-public-api.md) · [All operations](https://skmtc.dev/totalparks/apis/total-parks-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/totalparks/apis/total-parks-public-api/revisions/dcb4c822e2c6?raw)
