NYC HPD Housing Complaints - Heat, Plumbing & Sanitation avatar

NYC HPD Housing Complaints - Heat, Plumbing & Sanitation

Pricing

from $0.03 / 1,000 nyc hpd complaint records

Go to Apify Store
NYC HPD Housing Complaints - Heat, Plumbing & Sanitation

NYC HPD Housing Complaints - Heat, Plumbing & Sanitation

New York City housing complaints from HPD (public open data, 16.4M records): building and apartment, the reported condition by category and code, the emergency tier, received and closed dates and the outcome. Screen a building by HPD id, or filter by borough, category, type, status, ZIP or date.

Pricing

from $0.03 / 1,000 nyc hpd complaint records

Rating

0.0

(0)

Developer

Wenhao Yang

Wenhao Yang

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Every housing complaint and problem recorded by New York City's Department of Housing Preservation and Development, from the City's open data. 16.4 million complaint-problem records across ~9.0 million complaints - what a tenant reported, in which building and apartment, how urgent, and how it was resolved.

Low cost

From $0.00005 per record, down to $0.00003 at Gold. Pay only for the records you actually receive - the whole register stays queryable, you are never billed for the scan behind it.

What you get

One row per complaint problem:

  • Where - the borough, house number, street, ZIP, apartment, block and lot, plus the BBL, BIN and community board
  • What - the condition by category and code, from HEAT/HOT WATER and PLUMBING to PAINT/PLASTER and UNSANITARY CONDITION
  • How urgent - the emergency tier: EMERGENCY, NON EMERGENCY, IMMEDIATE EMERGENCY, HAZARDOUS or (a handful of rows) REFERRAL
  • When - the received date and the complaint/problem status dates (duration is the difference between them)
  • Where it stands - the Open/Close status and the department's own outcome narrative
  • Who reported it - whether the tenant stayed anonymous, and whether it is a duplicate of another complaint

The building id joins the HPD violations table, and the BBL joins the City's property records.

Filter it

  • Category - majorCategory="HEAT/HOT WATER" for the most-reported condition.
  • Urgency - type="IMMEDIATE EMERGENCY" for the most severe tier.
  • Status - problemStatus="OPEN" for complaints not yet resolved.
  • Place - borough="BROOKLYN", zip="11206", street="BROADWAY".
  • One building - buildingId="374378" for that building's complaints (up to 2,000 per run; large buildings exceed this - add dateFrom/dateTo to page through the rest).
  • Period - dateFrom="2026-01-01", or recentDays=30 for the last month.

Example inputs

Open heat complaints - the most-reported category, still unresolved.

{ "majorCategory": "HEAT/HOT WATER", "problemStatus": "OPEN", "maxResults": 50 }

One building's record - buildingId is the HPD key.

{ "buildingId": "374378", "maxResults": 100 }

Recent Brooklyn emergencies - a borough, a tier and a window.

{ "borough": "BROOKLYN", "type": "EMERGENCY", "recentDays": 90, "maxResults": 50 }

How the complaints break down - mode=aggregate counts per category.

{ "mode": "aggregate", "groupBy": "majorCategory" }

Or roll it up

Set mode=aggregate and get a count by majorCategory, minorCategory, borough, type, unitType, spaceType, nta or either status. Every group comes back - this mode is not cut off by maxResults.

Then use it

  • Habitability / legal diligence - a building's heat, plumbing and sanitation complaint history by buildingId.
  • Underwriting - complaint density and unresolved load as a property risk signal.
  • Portfolio monitoring - pull a landlord's buildings and track new complaints.

Example output

One heat complaint, as captured on 2026-10-07 - a building-wide no-heat report (the status fields track the department's workflow and change over time):

{
"platform": "nyc-hpd-complaints",
"source": "nyc-hpd-housing-complaints",
"mode": "rows",
"groupKey": "",
"groupCount": "",
"groupBy": "",
"receivedDate": "2026-10-07T00:01:41.000",
"problemId": "29242015",
"complaintId": "15010743",
"buildingId": "33490",
"borough": "MANHATTAN",
"houseNumber": "415",
"streetName": "WEST 47 STREET",
"zip": "10036",
"block": "1057",
"lot": "25",
"apartment": "BLDG",
"communityBoard": "4",
"unitType": "BUILDING-WIDE",
"spaceType": "BUILDING-WIDE",
"type": "EMERGENCY",
"majorCategory": "HEAT/HOT WATER",
"minorCategory": "ENTIRE BUILDING",
"problemCode": "NO HEAT AND NO HOT WATER",
"complaintStatus": "OPEN",
"complaintStatusDate": "2026-10-07T00:04:29.000",
"problemStatus": "OPEN",
"problemStatusDate": "2026-10-07T00:04:22.000",
"statusDescription": "More than one complaint was received for this building-wide condition. ... (excerpt)",
"duplicateFlag": "Y",
"anonymousFlag": "Y",
"uniqueKey": "",
"latitude": "40.761915000000002",
"longitude": "-73.991022000000001",
"councilDistrict": "3",
"censusTract": "127",
"bin": "1079057",
"bbl": "1010570025",
"nta": "Hell's Kitchen",
"sourceUpdatedAt": "2026-10-07"
}

mode=aggregate, groupBy=majorCategory - one count row per category:

HEAT/HOT WATER 2,936,779
HEATING 2,509,671
PLUMBING 2,084,550
PAINT/PLASTER 1,890,316
GENERAL 1,829,141
UNSANITARY CONDITION 1,358,712
ELECTRIC 849,871
...

Notes on the data, from the source

  • Counts in this section are a 2026-10-30 snapshot. The register refreshes daily, so the live figures will differ slightly.
  • Heat and water dominate. HEAT/HOT WATER alone is 2.94M problem records (17.9%), and it is the category the City treats as a same-day emergency in the cold months. Filter on majorCategory to find it.
  • The urgency tiers, in order. IMMEDIATE EMERGENCY (567,690) and HAZARDOUS (280,397) are the two tiers to screen on; the rest are EMERGENCY (10,520,710), NON EMERGENCY (5,056,475) and a handful of REFERRAL rows. type is matched exactly.
  • Open vs closed. problemStatus is OPEN (42,475) or CLOSE (16,382,801) at the problem level, with complaintStatus at the complaint level. The two rarely differ, and both track the department's workflow.
  • Anonymous and duplicate flags. 2,121,993 problem records came in anonymously (anonymousFlag="Y"); 2,638,447 are marked as duplicates of another complaint (duplicateFlag="Y"). These are output flags only - the actor does not filter on them, and anonymousFlag is blank when the source did not record it.
  • The listing is keyed by buildingId and BBL. A building's complaints are one buildingId lookup - up to 2,000 per run; the busiest buildings have more, so page with dateFrom/dateTo. The same key pulls its issued violations from the companion NYC HPD violations dataset.
  • uniqueKey is not always present (filled on ~14.3M of 16.4M rows). problemId is unique per row; complaintId groups several problems under one complaint (~1.83 rows per complaint on average).
  • The register refreshes daily; sourceUpdatedAt carries the dataset's own refresh date.
  • One run returns up to 2,000 records. Narrow the filters to reach a specific slice; for a building with more complaints, split the period with dateFrom / dateTo.

Use it from an AI agent (MCP)

Connect any MCP client to https://mcp.apify.com/?tools=j0401/nyc-hpd-complaints to load this dataset as a single tool beside the tools you already have - same records, same per-record pricing.