get_property_issues
Get HPD housing, DOB building code, and ECB/OATH violations for a property. Assess regulatory risk with summary counts and detailed violation history.
Instructions
Get HPD housing violations, DOB building code violations, and ECB/OATH violations for a property.
HPD Class C violations are immediately hazardous. ECB violations include
penalties and balances due. Returns both summary counts and violation
details. Use this to assess a building's regulatory risk profile.
Note on historical depth: our local DB retains all historical HPD
violations and complaints, while NYC's live Socrata API rolls older
records out of its public feed. As a result, the totals reported here
may exceed what data.cityofnewyork.us shows for the same BBL — the
extra rows are real, just no longer surfaced by NYC Open Data.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbl | Yes | ||
| source | No | ALL | |
| status | No | ||
| severity | No | ||
| since_date | No | ||
| limit | No | ||
| include_summary | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||