Building & Housing Violations Scraper: Code Enforcement Alerts avatar

Building & Housing Violations Scraper: Code Enforcement Alerts

Pricing

$3.00 / 1,000 results

Go to Apify Store
Building & Housing Violations Scraper: Code Enforcement Alerts

Building & Housing Violations Scraper: Code Enforcement Alerts

New building, housing and code enforcement violations from 13 US cities: NYC (HPD, DOB, ECB, NYCHA, LL97, elevators), LA, Chicago, Philadelphia, SF, Seattle, Austin, New Orleans, Orlando, Norfolk, Cincinnati, Montgomery MD, Reading PA. Owner names, fines, ZIP filter. Distressed-property leads.

Pricing

$3.00 / 1,000 results

Rating

0.0

(0)

Developer

GovData Feeds

GovData Feeds

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Get new building, housing and property code violations and code enforcement cases from 13 US cities and counties in one format, with address, status, violation text and case number. Built for distressed-property leads, portfolio monitoring and risk checks.

Rate your experience: if you have used this Actor, you can tell us how it went on the reviews page. Honest feedback of any kind helps us improve it.

What it does and who it is for

This Actor reads the official open-data portals of New York City (HPD housing violations, DOB building violations, DOB safety violations: elevators, Local Law 97 emissions filings, facades, and NYCHA public housing violations by development), Los Angeles (LADBS code enforcement cases), Chicago (building violations, plus building code hearings with the named respondent, fine and upcoming hearing date), Philadelphia (L&I violations, with owner of record), San Francisco (DBI notices of violation), Seattle, Austin, New Orleans, Orlando FL, Norfolk VA, Cincinnati, Montgomery County MD (housing code) and Reading PA (code enforcement citations) and returns one flat record per violation, notice item or complaint: address, ZIP, latitude and longitude, date opened, status (open, closed, other), severity (NYC hazard class, Austin priority), violation code, category, the violation text, and a case or notice number.

Filter by city, keyword in the violation text, address, ZIP, violation versus complaint, open only and date window. Turn on Only new for a daily lead feed.

Use cases

  • Real-estate investors and wholesalers (distressed-property leads): pull open violations such as unsafe structures, vacant buildings, overgrown lots and failed repairs, then match them to your list or skip-trace them. Example: {"jurisdictions": ["philadelphia"], "openOnly": true, "keyword": "unsafe", "onlyNew": true} gives a daily feed of newly cited unsafe Philadelphia buildings, with the owner of record.
  • Landlords: get told the day the city cites one of your addresses, before fines or a court date pile up. Example: {"address": "1425 fitzwater", "openedWithinDays": 30}.
  • Property managers: watch every building in a portfolio by ZIP or street, and send new violations to Slack, email or a sheet on a daily schedule.
  • Insurers, lenders and title companies: check an address or ZIP for recent or open enforcement before you underwrite, lend or close, and monitor what is already on the books.
  • Contractors, roofers, pest-control and remediation companies: reach owners who were just cited for roof, mold, pest or plumbing problems.
  • Tenant advocates, journalists and researchers: track hazardous housing conditions by ZIP.
  • AI agents: answer "any new open violations on Broadway in ZIP 10452 this week?".

Why use this instead of the free official site or API

The underlying data is public and the official sources are free. What this Actor adds is convenience: 13 different city and county feeds become one format.

What you needOfficial site / APIThis Actor
Covering several citiesEach city has its own portal, columns and statusesOne input and one record format
Comparing status and severityDifferent wording in each cityA normalized status (open, closed, other) plus the city's own wording in statusText; severity where the city publishes it
Violations vs complaintsMixed in different datasetsrecordType is violation or complaint, with a filter
Narrowing a huge feedWrite a filter query for each portalKeyword, address, ZIP, open-only and date filters across all cities
Only new recordsCompare exports yourselfOnly new mode with a named alert

If you only need a single lookup now and then, the official site is fine. If you want the same data on a schedule, as flat rows you can feed to a spreadsheet, CRM or agent, this saves the glue work.

Data fields

FieldTypeWhat it contains
jurisdictiontextName of the city feed.
jurisdictionCodetextnyc, nyc_dob, nyc_dob_safety, nyc_nycha, nyc_oath_dob, los_angeles, chicago, chicago_hearings, philadelphia, sf, seattle, austin, new_orleans, orlando, norfolk_va, cincinnati, montgomery_md or reading_pa.
recordIdtextRecord ID from the source.
recordTypetextviolation (cited violation or notice) or complaint (a complaint or service request that may lead to one).
openedDatedateDate the violation or complaint was opened.
statustextNormalized status: open, closed or other.
statusTexttextThe city's own status wording.
severitytextNYC hazard class A, B or C, or Austin priority, where published.
codetextViolation code, where published.
categorytextCategory or type of the record.
descriptiontextViolation text (for Seattle, free text from complainants).
addresstextProperty address.
citytextCity or borough.
ziptextZIP code (not published by Chicago, Cincinnati, Reading, New Orleans, Orlando and Norfolk).
neighborhoodtextNeighborhood, where published.
latitudenumberLatitude, when published.
longitudenumberLongitude, when published.
caseNumbertextCase or notice number, where published.
urltextLink to the city's lookup site or dataset.
sourcetextThe open-data dataset the record came from.
scrapedAtdatetimeWhen the Actor collected the record (UTC).
inspectionStatustextChicago only: inspection status (for example FAILED).
divisiontextSan Francisco only: assigned DBI division.
closedDatetextAustin only: date the case was closed, when it has been.
lastUpdatetextAustin and Seattle: last update status or date from the city.
repeatOffenderRelatedbooleanAustin only: whether the case is flagged as related to a repeat offender.
ownerNametextPhiladelphia: owner of record from the city's property file, as published by Philadelphia L&I. Chicago hearings: the respondent(s) named in the city's case (usually the owner, LLC or manager).
hearingDatedateChicago hearings and NYC OATH tickets only: hearing date (can be in the future).
fineAmountnumberChicago hearings and NYC OATH tickets only: fine or penalty imposed (Chicago shows 0 while pending).
balanceDuenumberNYC OATH tickets only: penalty still unpaid, in dollars.
noticeNumbertextChicago hearings only: notice of violation number.
parcelIdtextParcel or tax account number, where published (Philadelphia, Los Angeles, Orlando, Norfolk).
noticeUrltextPhiladelphia only: link to the public notice of violation document, when published.
complianceDeadlinedateNorfolk only: date the city set for the violation to be fixed.
propertyTypetextOrlando only: property use, for example Single Family.

Fields a source does not publish are null. Fields marked with a city name appear only on records from that city. Complainant names are never included. Owner names appear only for Philadelphia (owner of record) and Chicago hearings (the respondent named in the public case).

"New since yesterday" alerts

Turn on Only new and the Actor remembers what it has already returned, so each scheduled run delivers only records you have not seen before.

  1. Open the Actor in Apify Console and set the input, with Only new since last run switched on and a fixed alert name (stateKey). Example input:
{
"jurisdictions": ["nyc", "chicago", "sf"],
"keyword": "mold",
"openOnly": true,
"openedWithinDays": 7,
"maxResultsPerJurisdiction": 500,
"maxResults": 5000,
"onlyNew": true,
"stateKey": "daily-open-mold-violations"
}
  1. Click Save as task, then open Schedules, create a schedule (for example the cron expression 0 7 * * * for every day at 7:00 in the time zone you pick) and add the task to it.
  2. Under the task's Integrations, send the results to Slack, email, Google Sheets, a webhook or your own system.

NYC issues thousands of violations a week, so combine the schedule with a keyword, ZIP or address filter and a result cap.

The first run returns everything that matches your window (all matching records opened in the last 7 days); later runs return only unseen records. Use a different alert name for each task so each keeps its own memory. A run with nothing new returns no results.

Cost per run

This Actor uses pay-per-result pricing: $3.00 per 1,000 results ($0.003 per result), with the Apify platform fee included. You are charged for the records a run returns and nothing is added on top for platform usage. A run that finds nothing new returns no results, so it has no per-result charge. The Max results input caps what a run can return (and so what it can cost).

Worked example: a daily alert returning 50 new violations costs 50 × $0.003 = $0.15 per run, about $4.50 for a 30-day month. Pulling 20,000 NYC violations costs 20 × $3.00 = $60.00, so use filters.

The pricing is configured in Apify Console; the Pricing tab on this page is the authoritative source if it ever differs from this text.

Example input and output

The output below comes from real test runs of this Actor. Email addresses are masked and very long text is shortened here; the Actor returns the full values.

Input used for the example:

{
"jurisdictions": ["nyc", "chicago", "sf", "austin"],
"openOnly": true,
"openedWithinDays": 7,
"maxResultsPerJurisdiction": 1,
"onlyNew": false
}

Output (the first 2 records of a test run):

[
{
"jurisdiction": "New York City (HPD housing)",
"jurisdictionCode": "nyc",
"recordId": "19313651",
"recordType": "violation",
"openedDate": "2026-10-21",
"status": "open",
"statusText": "VIOLATION OPEN",
"severity": "Class C (immediately hazardous)",
"code": "530",
"category": "HPD housing maintenance violation",
"description": "§ 27-2005, 27-2007, 27-2041.1 HMC, §238, § 309; § 107 (2) ( C) MDL AND 28 RCNY §25-171: REPLACE OR REPAIR THE SELF-CLOSING DOORS THAT IS MISSING OR DEFECTIVE HINGE AT BUILDING ENTRANCE DOIR AT PUBLIC HALL, 1st STORY",
"address": "1176 WALTON AVENUE",
"city": "Bronx",
"zip": "10452",
"neighborhood": "Concourse-Concourse Village",
"latitude": 40.83417,
"longitude": -73.919989,
"caseNumber": null,
"url": "https://hpdonline.nyc.gov/HPDonline/",
"source": "data.cityofnewyork.us (wvxf-dwi5)",
"scrapedAt": "2026-10-23T12:55:45.940Z"
},
{
"jurisdiction": "Chicago (building violations)",
"jurisdictionCode": "chicago",
"recordId": "7532475",
"recordType": "violation",
"openedDate": "2026-10-22",
"status": "open",
"statusText": "OPEN",
"severity": null,
"code": "EV1111",
"category": "PERMIT (Elevator)",
"description": "MAINTAIN OR REPAIR HYDRO ELEVA — Failed to maintain hydraulic elevator equipment provided at premises in safe and sound working condition. (13-196-590, 13-196-630(b), 18-30-001) — Comments: CITY RECALL TEST",
"address": "2825 W HOWARD ST",
"city": "Chicago",
"zip": null,
"neighborhood": null,
"latitude": 42.0191929059,
"longitude": -87.7005801751,
"caseNumber": "14934399",
"inspectionStatus": "FAILED",
"url": "https://data.cityofchicago.org/Buildings/Building-Violations/22u3-xenr",
"source": "data.cityofchicago.org (22u3-xenr)",
"scrapedAt": "2026-10-23T12:55:46.683Z"
}
]

Limits worth knowing

  • NYC publishes about 17,000 violations a week, so filter by ZIP, address or keyword, use open-only, and set a result cap.
  • NYC, Chicago, San Francisco, Austin and Cincinnati are usually updated within a day or two; Seattle is updated daily.
  • Chicago (both feeds), Cincinnati, Reading, New Orleans, Orlando and Norfolk publish no ZIP code. They are skipped (with a warning) when you filter by ZIP; use the address filter for them.
  • Los Angeles publishes only open LADBS code enforcement cases with a case type (for example GENERAL, NAR, PACE, VEIP), not the violation text. Use it to spot newly opened cases by address or ZIP, and check the LADBS record for details.
  • New Orleans publishes the violation and code section but no open/closed status, so its records are marked other and left out when Open only is on.
  • Orlando includes tickets and sign cases as well as housing and lot cases; filter by keyword or look at category. Complainant comments are left out on purpose.
  • Severity is only filled where the city publishes it: NYC hazard class A (non-hazardous), B (hazardous) or C (immediately hazardous), and Austin priority.
  • Kansas City's feed stopped in 2021 and is not included.
  • With a small per-city cap and Only new on, each run returns the next unseen batch.

FAQ

Which cities are covered?

New York City (HPD housing and DOB building violations, including unsafe facade, construction and elevator violations; the DOB building-violations feed has no ZIP column, so use the address filter there. The DOB safety feed adds elevator, Local Law 97 emissions-report and facade violations with ZIP and lat/lon; NYC posts it in batches about 1 to 2 weeks behind, so use 30 days there. The NYCHA feed covers housing-code violations in New York City Housing Authority developments, with hazard class, development name, apartment, ZIP and BBL; it has no open/closed column, so status is "other"), Los Angeles (LADBS), Chicago, Philadelphia (L&I), San Francisco, New Orleans, Orlando FL, Norfolk VA, Seattle, Austin, Cincinnati and Montgomery County, Maryland (Bethesda, Silver Spring, Rockville and the rest of the county's housing code inspections; the county posts records after inspection, so the newest week can look thin) and Reading, Pennsylvania (rental, zoning and property-maintenance citations, with compliance deadlines; this feed has no ZIP column, so use the address filter there). We only add feeds that are public, current and keyless.

NYC returns thousands of rows. How do I narrow it?

Add a ZIP, an address, a keyword such as "mold" or "lead", turn on open-only and set a result cap.

Can I get Chicago properties headed to a building code hearing, with the owner's name?

Yes. Choose chicago_hearings. Each record is one cited violation in a City of Chicago Department of Administrative Hearings building case, with the address, ward, the respondent(s) named in the case (ownerName, often the owning LLC), the violation, the hearing date, the disposition (Pending, Continuance, Liable, Default, Non-Suit) and any fine. Pending and continued cases count as open. The date filter uses the hearing date, so set an end date in the future to see upcoming hearings, a common lead list for investors, wholesalers and property managers:

{
"jurisdictions": ["chicago_hearings"],
"openOnly": true,
"startDate": "2026-11-18",
"endDate": "2027-01-31",
"keyword": "porch"
}

Can I get NYC buildings with unpaid DOB / ECB penalties and the owner's name?

Yes. Choose nyc_oath_dob. Each record is one Department of Buildings (ECB) ticket heard at NYC OATH, with the property address, ZIP, borough-block-lot (parcelId), the respondent (ownerName, usually the owning LLC or the owner), the charge, the inspector's description, the penalty (fineAmount), the unpaid amount (balanceDue), the hearing date (hearingDate, often 2 to 3 months out) and the hearing status. A ticket counts as open while its hearing is pending or a balance is due. The date filter uses the date the ticket was written. Investors, wholesalers, expediters and property managers use it as a list of owners facing city penalties:

{
"jurisdictions": ["nyc_oath_dob"],
"openOnly": true,
"openedWithinDays": 30,
"zipCodes": ["11233", "10467"]
}

Can I get NYC Local Law 97 (LL97) or elevator violation lists?

Yes. Pick the nyc_dob_safety jurisdiction and add a keyword: "LL97" returns buildings cited for failing to file their Local Law 97 greenhouse-gas emissions report (address, ZIP, borough, BIN and BBL), and "elevator" returns elevator device violations. Energy and compliance consultants, elevator contractors and property managers use these as lead and to-do lists. Example input: {"jurisdictions": ["nyc_dob_safety"], "keyword": "LL97", "openOnly": true, "openedWithinDays": 365, "maxResults": 500}. LL97 citations are issued in yearly batches, so use a long date window for them.

Is this the same as building permits?

No. Permits show planned work; violations show enforcement problems. See the building permits Actor below.

Does it include owner names?

For Philadelphia, where the city publishes the owner of record, and for Chicago building code hearings, where the city publishes the named respondent (ownerName). Elsewhere you get the property address, parcel number where published, and the violation, which you can match to county assessor records.

Why do some fields say null?

Cities publish different columns, so a field is null when the city does not publish it.

More Actors from GovData Feeds, all on Apify:

Data comes from city open-data portals and is public record. This Actor is not affiliated with any city. Violation data can be delayed, incomplete or corrected later; check the official city record before taking action against an owner or business.