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.

Try it
Ready-made, maintained by usRecords, 37 fieldsv1.0

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

Bblsoptional
Borough-block-lot numbers of the buildings to check: 10 digits (borough, 5-digit block, 4-digit lot), such as 2024530035, or written 2-02453-0035. One per line, or separated by commas.
Example: 2024530035
Binsoptional
Building identification numbers (BIN) of the buildings to check: 7 digits, such as 2002690. One per line, or separated by commas.
Example: 2002690
Building IDsoptional
HPD's own building ids of the buildings to check, such as 109525. One per line, or separated by commas.
Example: 109525
Boroughoptional
Only violations in this borough.
Zip codesoptional
Only violations at these 5-digit ZIP codes, such as 10456. One per line, or separated by commas.
Example: 10456
Classesoptional
Only these classes: A (non-hazardous), B (hazardous), C (immediately hazardous) or I (information order). One per line, or separated by commas.
Open onlyoptional
Only violations HPD still lists as open.
Rent impairing onlyoptional
Only violations HPD marks as rent impairing (serious enough that a tenant may withhold rent).
Inspected sinceoptional
Only violations from inspections on or after this day, as YYYY-MM-DD.
Example: 2026-01-01
Inspected beforeoptional
Only violations from inspections on or before this day, as YYYY-MM-DD.
Example: 2026-11-30

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
Endpoint
POSThttps://pullrow.dev/v1/apis/nyc-hpd-housing-violations/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

bblslist
Borough-block-lot numbers of the buildings to check: 10 digits (borough, 5-digit block, 4-digit lot), such as 2024530035, or written 2-02453-0035.
example: 2024530035
binslist
Building identification numbers (BIN) of the buildings to check: 7 digits, such as 2002690.
example: 2002690
building_idslist
HPD's own building ids of the buildings to check, such as 109525.
example: 109525
boroughtext
Only violations in this borough.
example: Bronxone of: Manhattan, Bronx, Brooklyn, Queens, Staten Island
zip_codeslist
Only violations at these 5-digit ZIP codes, such as 10456.
example: 10456
classeslist
Only these classes: A (non-hazardous), B (hazardous), C (immediately hazardous) or I (information order).
example: Cone of: A, B, C, I
open_onlyyes/no
Only violations HPD still lists as open.
default: falseexample: true
rent_impairing_onlyyes/no
Only violations HPD marks as rent impairing (serious enough that a tenant may withhold rent).
default: false
inspected_sincetext
Only violations from inspections on or after this day, as YYYY-MM-DD.
example: 2026-01-01
inspected_beforetext
Only violations from inspections on or before this day, as YYYY-MM-DD.
example: 2026-11-30

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

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
urllinkLink3 of 3
nov_idtextNov ID (hidden)3 of 3
building_idtextBuilding ID (hidden)3 of 3
registration_idtextRegistration ID (hidden)3 of 3
bbltextBbl3 of 3
bintextBin3 of 3
boroughtextBorough3 of 3
house_numbertextHouse number3 of 3
street_nametextStreet name3 of 3
zip_codetextZip code3 of 3
blocktextTax block number3 of 3
lottextTax lot number3 of 3
apartmenttextApartment3 of 3
storytextStory3 of 3
violation_classtextViolation class3 of 3
is_openyes or noOpen3 of 3
current_statustextCurrent status3 of 3
current_status_datedateCurrent status date3 of 3
nov_descriptiontextNov description3 of 3
nov_typetextNov type3 of 3
order_numbertextOrder number3 of 3
is_rent_impairingyes or noRent impairing3 of 3
inspection_datedateInspection date3 of 3
approved_datedateApproved date3 of 3
nov_issued_datedateNov issued date3 of 3
original_correct_by_datedateOriginal correct by date3 of 3
original_certify_by_datedateOriginal certify by date3 of 3
new_correct_by_datedateNew correct by date0 of 3
new_certify_by_datedateNew certify by date0 of 3
certified_datedateCertified date3 of 3
community_boardtextCommunity board3 of 3
council_districttextCity Council district number3 of 3
census_tracttextCensus tract3 of 3
ntatextNta3 of 3
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordBblBinBoroughHouse numberTax block numberTax lot numberApartmentStoryViolation classOpenCurrent statusNov descriptionNov typeOrder numberCommunity boardCity Council district numberCensus tractNtaRent impairingStreet nameZip codeLatitudeLongitudeCurrent status dateInspection dateApproved dateNov issued dateOriginal correct by dateOriginal certify by dateNew correct by dateNew certify by dateCertified dateLink
120245300352002690Bronx1226245335696ANoVIOLATION 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 EASTOriginal55441617901Concourse-Concourse VillageNoSHERMAN AVENUE1045640.834562-73.915424Oct 7, 2026Jun 2, 2026Jun 2, 2026Jun 3, 2026Sep 6, 2026Sep 20, 2026——Sep 18, 2026data.cityofnewyork.us/resource/wvxf-dwi5.json?violationid=18982174
220245300352002690Bronx1226245335696AYesNOT 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 EASTOriginal55641617901Concourse-Concourse VillageNoSHERMAN AVENUE1045640.834562-73.915424Oct 7, 2026Jun 2, 2026Jun 2, 2026Jun 3, 2026Sep 6, 2026Sep 20, 2026——Sep 18, 2026data.cityofnewyork.us/resource/wvxf-dwi5.json?violationid=18982173
320245300352002690Bronx1226245335696ANoVIOLATION 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 EASTOriginal55641617901Concourse-Concourse VillageNoSHERMAN AVENUE1045640.834562-73.915424Oct 7, 2026Jun 2, 2026Jun 2, 2026Jun 3, 2026Sep 6, 2026Sep 20, 2026——Sep 18, 2026data.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.
Known limits
  • 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.