get_dob_complaints
Retrieve Department of Buildings complaints filed against a property. These public records signal potential construction, safety, or code violations before formal inspections occur.
Instructions
Get DOB complaints filed against a property with the Dept of Buildings.
Queries the DOB Complaints Received dataset (NYC Open Data `eabe-havv`).
Complaints are filed *before* formal violations are issued — they trigger
DOB inspections and are the earliest public signal of construction, safety,
or code issues at a building.
Key insight: compare this with `get_property_issues` violations. If a
property has many complaints but few violations, DOB may not be inspecting.
If complaints are recent and unresolved, it flags active safety concerns.
Common complaint categories: illegal construction (01), elevator (02),
plumbing (03), illegal conversion (04), boiler (05), structural (06),
facade (07), fire egress (09), work without permit (10), electrical (11).
Provide either `address` OR `bbl` (not both).
Args:
address: Street address, e.g. "350 5th Ave, Manhattan".
bbl: 10-digit NYC BBL. Resolved via BIN lookup for accurate matching.
category: Filter by complaint category code, e.g. "01" for
construction without permit, "04" for illegal conversion.
status: Filter by status keyword, e.g. "OPEN", "CLOSED",
"REFERRED TO DA".
since_year: Return only complaints from this year onward.
limit: Max complaints to return (1–100, default 25).Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | No | ||
| bbl | No | ||
| category | No | ||
| status | No | ||
| since_year | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||