How do I find housing code violation records in New York City?
NYC housing code violation data is free on data.cityofnewyork.us (NYC Open Data). Open the Housing Maintenance Code Violations dataset of HPD violations against residential buildings, filter ViolationStatus to Open, sort InspectionDate descending, and export your filtered list as a CSV.
How do I pull code violations records step by step?
New York City's Department of Housing Preservation and Development (HPD) issues these violations against residential buildings, and the records are published in the Housing Maintenance Code Violations dataset on NYC Open Data.
Go to the NYC Open Data Portal
Navigate to data.cityofnewyork.us (NYC Open Data). This is New York City's official open data portal.
Open the Housing Maintenance Code Violations dataset
Search for Housing Maintenance Code Violations and open it, or go directly to the dataset page. These are violations issued by the Department of Housing Preservation and Development (HPD) against residential buildings.
View the data table
Open the Data tab (or click Actions > Query data) to open the full table. This is a very large dataset, so filtering before you browse is essential.
Filter to open violations
Click Filter, add a condition on the ViolationStatus column, and set it to Open. This limits the list to violations that have not yet been corrected — the buildings most likely to have a motivated owner.
Sort by newest inspections first
Click the InspectionDate column header and choose Sort Descending so the most recently inspected violations appear at the top. You can also filter the Class column (A, B, or C) — Class C are the most serious, immediately hazardous violations.
Export the list
Click Export and choose CSV to download your filtered list for use in a spreadsheet or your CRM.
Record the Data
For each lead, capture the ViolationID, the violation Class, the ViolationStatus, the address (HouseNumber + StreetName), the Borough and Postcode, the Block (with Lot, this identifies the parcel), and the InspectionDate.
What property data does New York County publish?
| Code Violations | data.cityofnewyork.us · Socrata · FREE |
Common questions
Live in CountyPull for New York County right now
| List type | Records | New in 30 days |
|---|---|---|
| Code Violation | 10,738 | 10,738 |
CountyPull pulls New York County fresh every morning — cleaned, deduped, skip-trace ready. The free plan includes 100 rows every month.
Get 100 Free Leads →