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.

Verified November 5, 2026 6 steps OpenData Buffalo

What you need

Account
No account needed
Cost
Free
CAPTCHA
No CAPTCHA
Export
CSV download
VPN
No VPN needed

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

  1. Open the Code Violations page

    Go to OpenData Buffalo Code Violations. The page shows when the data was last updated.
    Screenshot of OpenData Buffalo, step 1: Open the Code Violations page Enlarge
  2. 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.
    Screenshot of OpenData Buffalo, step 2: Open the query screen Enlarge
  3. 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.
    Screenshot of OpenData Buffalo, step 3: Filter the list Enlarge
  4. Put the newest records first

    Find the Date column. Click the three lines next to its name, then click Sort descending.
    Screenshot of OpenData Buffalo, step 4: Put the newest records first Enlarge
  5. Download the file

    Click Export. Keep Download file and CSV selected. Click Download. Only your filtered rows go in the file.
    Screenshot of OpenData Buffalo, step 5: Download the file Enlarge
  6. 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.
    Screenshot of OpenData Buffalo, step 6: Check your records 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.

Do not want to do this by hand?

CountyPull pulls this list for you automatically.

Start free 100 free rows each month