NYC Housing Code Violations
Housing code violations New York City's housing department (HPD) issued against residential buildings, newest inspection first: class (A, B, C or I), the notice text, address, BBL and BIN, inspection and correction dates, current status and the rent-impairing flag. Look up buildings by BBL, BIN or HPD id.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from data.cityofnewyork.us/Housing-Development/Housing-Maintenance-Code-Violations/wvxf-dwi5
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/nyc-hpd-housing-violations/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"bbls":["2024530035"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
37 fields: 33 here, 4 technical ones under Technical details.
Basics
- Bbl
Borough-block-lot number of the tax lot, 10 digits.
Example 2024530035
- Bin
Building identification number (BIN) of the building.
Example 2002690
- Borough
Borough: Manhattan, Bronx, Brooklyn, Queens or Staten Island.
Example Bronx
- House number
House number of the building.
Example 1226
- Tax block number
Example 2453
- Tax lot number
Example 35
- Apartment
Apartment the violation is in; empty for public areas.
Example 69
- Story
Floor the violation is on.
Example 6
- Violation class
A (non-hazardous), B (hazardous), C (immediately hazardous) or I (information order).
Example A
- Open
True while HPD lists the violation as open.
Example No
- Current status
HPD's latest step for the violation, such as NOV SENT OUT, NOV CERTIFIED ON TIME or VIOLATION CLOSED.
Example VIOLATION CLOSED
- Nov description
The violation as the notice words it: the code section, the condition to fix and where it is.
Example § 27-2005 ADM CODE PAINT METAL IN ACCORDANCE WITH DEPT. REGULATION 1st RISER FROM NORTH AT EAST WALL IN THE KITCHEN…
- Nov type
Original or Reissued notice.
Example Original
- Order number
HPD's order number for the kind of violation, such as 556 (paint) or 624 (lead-based paint hazard).
Example 554
- Community board
Community board number within the borough.
Example 4
- City Council district number
Example 16
- Census tract
Census tract of the building.
Example 17901
- Nta
Neighborhood tabulation area, such as Concourse-Concourse Village.
Example Concourse-Concourse Village
Prices
- Rent impairing
Yes when HPD marks the violation as rent impairing.
Example No
Location
- Street name
Street name of the building.
Example SHERMAN AVENUE
- Zip code
ZIP code of the building.
Example 10456
- Latitude
Latitude of the building.
Example 40.834562
- Longitude
Longitude of the building.
Example -73.915424
Dates
- Current status date
The day of that latest step.
Example Oct 7, 2026
- Inspection date
The day of the inspection that found the violation.
Example Jun 2, 2026
- Approved date
The day a supervisor approved the violation.
Example Jun 2, 2026
- Nov issued date
The day HPD issued the notice of violation.
Example Jun 3, 2026
- Original correct by date
The day the owner first had to correct the violation by.
Example Sep 6, 2026
- Original certify by date
The day the owner first had to certify the correction by.
Example Sep 20, 2026
- New correct by date
A later correct-by day, when HPD granted one.
- New certify by date
A later certify-by day, when HPD granted one.
- Certified date
The day the owner certified the correction, when they did.
Example Sep 18, 2026
Links
- Link
This violation's row on NYC Open Data, as JSON.
Example data.cityofnewyork.us/resource/wvxf-dwi5.json?violationid=18982174
Technical detailsField names and types for developers, and the 4 fields hidden above
Hidden by default
These 4 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.
- ID
idHPD's violation id. - Nov ID
nov_idId of the notice of violation HPD mailed to the owner. - Building ID
building_idHPD's building id. - Registration ID
registration_idThe building's HPD property registration id; empty when the building is not registered.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
url | link | Link | 3 of 3 |
nov_id | text | Nov ID (hidden) | 3 of 3 |
building_id | text | Building ID (hidden) | 3 of 3 |
registration_id | text | Registration ID (hidden) | 3 of 3 |
bbl | text | Bbl | 3 of 3 |
bin | text | Bin | 3 of 3 |
borough | text | Borough | 3 of 3 |
house_number | text | House number | 3 of 3 |
street_name | text | Street name | 3 of 3 |
zip_code | text | Zip code | 3 of 3 |
block | text | Tax block number | 3 of 3 |
lot | text | Tax lot number | 3 of 3 |
apartment | text | Apartment | 3 of 3 |
story | text | Story | 3 of 3 |
violation_class | text | Violation class | 3 of 3 |
is_open | yes or no | Open | 3 of 3 |
current_status | text | Current status | 3 of 3 |
current_status_date | date | Current status date | 3 of 3 |
nov_description | text | Nov description | 3 of 3 |
nov_type | text | Nov type | 3 of 3 |
order_number | text | Order number | 3 of 3 |
is_rent_impairing | yes or no | Rent impairing | 3 of 3 |
inspection_date | date | Inspection date | 3 of 3 |
approved_date | date | Approved date | 3 of 3 |
nov_issued_date | date | Nov issued date | 3 of 3 |
original_correct_by_date | date | Original correct by date | 3 of 3 |
original_certify_by_date | date | Original certify by date | 3 of 3 |
new_correct_by_date | date | New correct by date | 0 of 3 |
new_certify_by_date | date | New certify by date | 0 of 3 |
certified_date | date | Certified date | 3 of 3 |
community_board | text | Community board | 3 of 3 |
council_district | text | City Council district number | 3 of 3 |
census_tract | text | Census tract | 3 of 3 |
nta | text | Nta | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Bbl | Bin | Borough | House number | Tax block number | Tax lot number | Apartment | Story | Violation class | Open | Current status | Nov description | Nov type | Order number | Community board | City Council district number | Census tract | Nta | Rent impairing | Street name | Zip code | Latitude | Longitude | Current status date | Inspection date | Approved date | Nov issued date | Original correct by date | Original certify by date | New correct by date | New certify by date | Certified date | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2024530035 | 2002690 | Bronx | 1226 | 2453 | 35 | 69 | 6 | A | No | VIOLATION CLOSED | § 27-2005 ADM CODE PAINT METAL IN ACCORDANCE WITH DEPT. REGULATION 1st RISER FROM NORTH AT EAST WALL IN THE KITCHEN LOCATED AT APT 69, 6th STORY, 1st APARTMENT FROM NORTH AT EAST | Original | 554 | 4 | 16 | 17901 | Concourse-Concourse Village | No | SHERMAN AVENUE | 10456 | 40.834562 | -73.915424 | Oct 7, 2026 | Jun 2, 2026 | Jun 2, 2026 | Jun 3, 2026 | Sep 6, 2026 | Sep 20, 2026 | — | — | Sep 18, 2026 | data.cityofnewyork.us/resource/wvxf-dwi5.json?violationid=18982174 |
| 2 | 2024530035 | 2002690 | Bronx | 1226 | 2453 | 35 | 69 | 6 | A | Yes | NOT COMPLIED WITH | § 27-2013 ADM CODE PAINT WITH LIGHT COLORED PAINT TO THE SATISFACTION OF THIS DEPARTMENT EAST WALL IN THE 3rd ROOM FROM NORTH LOCATED AT APT 69, 6th STORY, 1st APARTMENT FROM NORTH AT EAST | Original | 556 | 4 | 16 | 17901 | Concourse-Concourse Village | No | SHERMAN AVENUE | 10456 | 40.834562 | -73.915424 | Oct 7, 2026 | Jun 2, 2026 | Jun 2, 2026 | Jun 3, 2026 | Sep 6, 2026 | Sep 20, 2026 | — | — | Sep 18, 2026 | data.cityofnewyork.us/resource/wvxf-dwi5.json?violationid=18982173 |
| 3 | 2024530035 | 2002690 | Bronx | 1226 | 2453 | 35 | 69 | 6 | A | No | VIOLATION CLOSED | § 27-2013 ADM CODE PAINT WITH LIGHT COLORED PAINT TO THE SATISFACTION OF THIS DEPARTMENT CEILING IN THE PRIVATE HALLWAY LOCATED AT APT 69, 6th STORY, 1st APARTMENT FROM NORTH AT EAST | Original | 556 | 4 | 16 | 17901 | Concourse-Concourse Village | No | SHERMAN AVENUE | 10456 | 40.834562 | -73.915424 | Oct 7, 2026 | Jun 2, 2026 | Jun 2, 2026 | Jun 3, 2026 | Sep 6, 2026 | Sep 20, 2026 | — | — | Sep 18, 2026 | data.cityofnewyork.us/resource/wvxf-dwi5.json?violationid=18982172 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Data from NYC Open Data (Department of Housing Preservation and Development), updated daily, under the NYC Open Data terms of use. The city does not endorse this API.
- At most 10,000 violations per run, newest inspection first. Give BBLs, BINs, HPD building ids, a borough, ZIP codes or dates to narrow it; each list takes at most 100 values.
- Class A is non-hazardous, B hazardous, C immediately hazardous, and I an information order (for example a missing annual bedbug report).
- is_open is HPD's own status: an owner may have certified a repair HPD has not yet checked (current_status shows it). A notice id, issue date and correction dates appear only after HPD mails the notice, a few days after inspection.
- apartment is empty for violations in public areas (about one in five). certified_date is filled only once an owner certifies a repair, and the new correct-by and certify-by days only when HPD grants more time (a few percent).
- bin, latitude, longitude, the districts and nta are missing for some older or unmatched addresses; BIN lookups miss those rows, while BBL lookups use the block and lot and find them.
- The source holds over 11 million violations: a city-wide search without a building filter can take 5 to 15 seconds per 500 records, and the source sometimes answers busy for a moment.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.