Every investor who starts mining public data asks me some version of the same question: if I pull a list of code violations and mail the owners, am I doing something shady? Is this even legal to look at?
Short answer, no hand-wringing required: code violations are public record. You can look them up, download them in bulk, and act on them. You don't need to be the owner, an attorney, or a licensed agent. Here is what that actually means, where the data lives, and how I use it to find motivated sellers in Seattle.
Are code violations public record? Yes.
Code violations are public record in nearly every US jurisdiction. When a city or county code-enforcement office issues a violation, for an unpermitted addition, a vacant building, overgrown weeds, or an unsafe structure, that action becomes a government record, the first step in how a case moves through the enforcement stages. Government records are public by default. Anyone can view or request them.
The legal backbone is your state's public-records law: a Public Records Act, a Freedom of Information Act, or a "Sunshine" law, depending on the state. Code enforcement is a government function, so the paper trail it generates, who was cited, for what, and when, is open to the public the same way property tax records and recorded deeds are.
That is the whole reason this works as a lead source. The data is sitting in the open. Most investors just never go get it.
What a code violation record actually contains
A typical record gives you:
- Case or complaint number
- Property address
- Violation type and a short description
- Status (open, in compliance, closed, resolved)
- Date opened, and often the dates of inspections or notices
- Sometimes the owner of record and inspector notes
What it usually does not contain: the owner's phone number or email. Sometimes not even the owner's name. So a violation tells you where the distress is, not how to reach the person. You get the owner from the county assessor or parcel record (also public), and you get a phone number by skip tracing. More on that workflow in the investor's guide to building and housing code violations.
How to access code violations
Three ways, easiest first.
| Method | What you get | Effort |
|---|---|---|
| City/county open-data portal | Live, bulk, searchable dataset | Lowest |
| Code-enforcement property lookup | One property at a time | Low |
| Public records request | Whatever isn't online | Highest |
Open-data portals are the fast path. A lot of cities publish violations as a live dataset on platforms like Socrata or ArcGIS. Seattle puts its SDCI code complaints and violations on data.seattle.gov, refreshed regularly, free to query. There are more than 13,000 active violations in Seattle at any given time. That is a standing list of stressed properties, updated for you.
Code-enforcement search tools are the one-off path. Most building or code departments have a property-lookup page where you type an address and see its open cases. Good for checking a single deal, slow for building a list.
Public records requests are the fallback. If a city has no portal, you file a request with the code-enforcement or building department. It's free or cheap, but turnaround ranges from days to weeks.
For owner names and mailing addresses, pull the county assessor or parcel records. For liens tied to unresolved violations, check the county recorder.
It varies a lot by jurisdiction
Code violations are just one entry in the wider set of public records for real estate. And "public record" does not always mean "easy to get." Seattle, NYC, LA, and Chicago publish clean open data you can pull daily. Plenty of other cities bury it in a clunky portal or make you file a request, and the fields they expose differ from place to place. One city gives you full case histories; the next gives you an address and a status code. Which cities fall where is its own map; I keep a running directory of code enforcement open data by city.
That friction is the opportunity. The harder a city makes its data to assemble, the fewer investors bother, and the less picked-over those leads are.
What's fair game, and what isn't
The violation and the owner of record are public. The owner's personal contact info is not, which is why skip tracing exists. Complaint records are a gray area worth knowing: in many cities the complaint itself is public, but the complainant's identity is redacted to protect whoever reported it.
Using public violation data to send direct mail is standard, legal practice. It's the same data the city would hand a journalist or a neighbor. You're not hacking anything. You're reading the public record faster than the competition.
How investors actually use this
Here's why any of it matters. A code violation is a distress signal. An owner sitting on an open vacant-building violation, the raw material for a vacant property list you can build from public records, or an emergency order is often a motivated seller, because the property is costing them money, attention, or both, and it isn't listed yet.
The play is simple to describe and tedious to do by hand: pull the violations, rank them by severity and how recent they are, cross-reference with owner data (absentee owners convert best), skip trace the top of the list, and reach out before the property hits MLS. The full version of that workflow is in how to find distressed properties.
That tedious part is exactly what I built FlaggedLeads to handle. It reads Seattle's violation data every morning, scores each property by distress, and maps it. The free Seattle map shows where the violations are. The scoring tells you which ones are worth a stamp.
Frequently Asked Questions
Are code violations public record in every state?
Effectively yes. Every US state has a public-records law that makes government records, including code-enforcement actions, open to the public. What changes by state and city is how the data is published, not whether you're allowed to see it.
Can I look up code violations on a specific property?
Yes. Most cities have an online code-enforcement or permit search where you enter an address and see open and closed cases. If your city has an open-data portal, you can also filter the full dataset down to one address.
Do code violations show up on a property or title report?
Not always. Standard title reports surface recorded items like liens and judgments, so a violation that escalated into a recorded lien will show up. An open violation that hasn't been recorded as a lien often won't, which is exactly why pulling code-enforcement data directly finds deals a title search misses.
Are code-violation complaints public?
Usually the complaint and resulting case are public, but many jurisdictions redact the complainant's identity. So you can see that a property was reported and for what, without seeing who reported it.
How far back do code violation records go?
It depends on the jurisdiction's retention policy, but open-data portals commonly hold several years of history, and full archives are available through a records request. For finding motivated sellers, recent and still-open cases matter most anyway.