How to Pull Code Violation County Data for Erie County, NY
A code violation list shows cases a city opens when a property breaks local building or safety rules. To find code violation records for Erie County, New York (NY), use OpenData Buffalo. No account is needed. It is free to use. No VPN is needed. You can download a CSV file.
Also known as: code enforcement, code enforcement cases, building code violations.
What you need
What it is
Code violations written by the City of Buffalo Department of Permit and Inspection Services since March 28, 2016.
Why it matters
An owner with an open violation may face fines and repair costs. Many of these owners are open to selling.
The fields you get
- Case number
- Date
- Case type
- Status
- Code
- Description
- Comments
- SBL (parcel ID)
- Address
- City
- ZIP
- Neighborhood
The page showed Last Updated November 4, 2026. The city holds new records for two weeks before it publishes them.
Follow these 6 steps
-
Open the Code Violations page
Go to OpenData Buffalo Code Violations. The page shows when the data was last updated.
Enlarge
-
Open the query screen
Click the Data tab. Click the Actions button, then click Query data. A table opens with a Filters panel under it.
Enlarge
-
Filter the list
Pick Status in the box Select a column to filter. In the value box type ACTIVE and tick it. Click Apply. The row count drops to about 83,800.
Enlarge
-
Put the newest records first
Find the Date column. Click the three lines next to its name, then click Sort descending.
Enlarge
-
Download the file
Click Export. Keep Download file and CSV selected. Click Download. Only your filtered rows go in the file.
Enlarge
-
Check your records
Open the CSV in Excel or Google Sheets. We saw 83,823 rows on November 4. Keep the case number, description, address, ZIP, SBL and date.
Enlarge
Watch out for these
- New violations appear about two weeks late. The newest date we saw on November 4 was October 21, 2026.
- Active goes back years. Filter by date in your sheet to get recent ones.
- There is no owner name. Use the SBL in Erie County tax records.
- This is a City of Buffalo list, not all of Erie County.
Other lists in Erie County
We only have this list for Erie County so far. See all New York guides.
Code Violation in other New York areas
More New York guides
Code Violation in other states
See every guide
Do not want to do this by hand?
CountyPull pulls this list for you automatically.