California · San Francisco County · Verified Aug 2026

How do you pull building code complaint records in San Francisco?

The short answer

San Francisco's open data portal, data.sfgov.org (DataSF), offers the Department of Building Inspection Complaints dataset free: building, housing, electrical, and plumbing code complaints with address, parcel number, and status, filterable to active cases and exportable to CSV.

COST FREE LISTS 1 VERIFIED Aug 2026

How do I pull code violations records step by step?

The Department of Building Inspection logs complaints about building, housing, electrical, and plumbing code problems across San Francisco, and DataSF publishes each complaint with its address, parcel number, and current status.

Go to the San Francisco Open Data Portal

Navigate to data.sfgov.org (DataSF). This is the City and County of San Francisco's official open data portal.

Step 1: Go to the San Francisco Open Data Portal — San Francisco County, California code violations

Open the Building Inspection Complaints dataset

Search for Department of Building Inspection Complaints (All Divisions) and open it, or go directly to the dataset page. It lists complaints filed with the Department of Building Inspection about building, housing, electrical, and plumbing code problems.

Step 2: Open the Building Inspection Complaints dataset — San Francisco County, California code violations

View the data table

Open the Data tab (or click Actions > Query data) to open the full table. Each row is one complaint with its address, parcel number, and current status.

Step 3: View the data table — San Francisco County, California code violations

Filter to active complaints

Click Filter and add a condition on the Status column to keep only active or open complaints, skipping ones already abated or closed.

Sort by newest complaints first

Click the Date Filed column header and choose Sort Descending so the most recently filed complaints appear at the top.

Export the list

Click Export and choose CSV to download the filtered list for a spreadsheet or your CRM.

Record the Data

For each lead, capture the Complaint Number, the Complaint Description, the Status, the address (Street Number + Street Name + Street Suffix), the ZIP Code, the Parcel Number (block/lot), and the Date Filed. Use the parcel number on the SF Assessor-Recorder site to find the owner.

What property data does San Francisco County publish?

Code Violations data.sfgov.org · Socrata · FREE

Common questions

Is San Francisco building complaint data free to access?Yes. The Department of Building Inspection Complaints (All Divisions) dataset is free on data.sfgov.org (DataSF), the City and County of San Francisco's official open data portal, and the list exports to CSV.
What information does each San Francisco complaint record include?Each record includes the complaint number, the complaint description, the status, the street address (street number, street name, and street suffix), the ZIP code, the parcel number (block/lot), and the date filed.
How do I see only the newest active complaints in San Francisco?Click Filter and add a condition on the Status column to keep only active or open complaints, skipping ones already abated or closed. Then sort the Date Filed column descending so the most recently filed complaints appear at the top.
How do I find the owner of a San Francisco property with complaints?Use the parcel number (block/lot) from the record on the SF Assessor-Recorder site to find the owner.

Live in CountyPull for San Francisco County right now

List type Records New in 30 days
Code Violation 9,510 9,510
Want these lists without the clicking?

CountyPull pulls San Francisco County fresh every morning — cleaned, deduped, skip-trace ready. The free plan includes 100 rows every month.

Get 100 Free Leads →

Nearby counties