---
title: "Code violations on a parcel"
method: GET
path: "/api/v1/parcels/{id}/violations"
tags: ["Parcels"]
---

# Code violations on a parcel

`GET /api/v1/parcels/{id}/violations`

## Request

- Base URL: `https://propraven.com`
- URL: `https://propraven.com/api/v1/parcels/{id}/violations`
- Auth: HTTP bearer

Municipal code-enforcement cases matched to the parcel, with the source coverage that says whether an empty list means 'none recorded' or 'not collected here'.

## Path parameters

- `id` string, required

## Response `200`

Violations.

- object
  - `data` unknown[], required
    - unknown
  - `violation_count` integer, required
  - `violation_count_basis` string, required
  - `truncated` boolean, required
  - `row_cap` integer, required
  - `coverage` string, required
  - `coverage_reason` string, required
  - `place` object, required
    - `place_geoid` string, nullable, required
    - `place_name` string, nullable, required
  - `sources` unknown[], required
    - unknown
  - `summary` object, required
    - `open_count` integer, required
    - `closed_count` integer, required
    - `other_count` integer, required
    - `unknown_status_count` integer, required
    - `unmapped_status_count` integer, required
    - `latest_issued_date` string, nullable, required
    - `latest_status` string, nullable, required
    - `oldest_open_issued_date` string, nullable, required
    - `has_open_code_violation` boolean, nullable, required
  - `withheld` object, required
    - `outside_publisher_area` number, required
    - `account_only_fields` unknown[], required
      - unknown
  - `covered_jurisdictions` object[], required
    - `source_id` string, nullable, required
    - `state_fips` string, required
    - `county_fips` string, required
    - `place_geoid` string, nullable, required
    - `place_name` string, nullable, required
    - `publisher` string, nullable, required
  - `notes` string[], required

## Other responses

- `400`: A query or body parameter is invalid. Nothing was read or charged.
- `401`: Missing, malformed or invalid credential.
- `402`: Monthly call cap reached (free tier, or a paid tier with the hard cap enabled).
- `404`: The resource (or the endpoint) does not exist.
- `405`: The endpoint exists but does not support this method. `Allow` lists the methods it does.
- `429`: Rate limit exceeded.
- `500`: Unexpected server error. The body never carries database or driver text.

---

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