NYC DOB Complaints - Building Complaints & Outcomes
Pricing
from $0.03 / 1,000 nyc dob complaint records
NYC DOB Complaints - Building Complaints & Outcomes
NYC Department of Buildings complaints (3,153,645 rows, 1988-2026): premises, BIN, community board and borough, complaint category with DOB's description, handling unit, disposition and dates. Search, aggregate by category or year, or roll up one building.
Pricing
from $0.03 / 1,000 nyc dob complaint records
Rating
0.0
(0)
Developer
Wenhao Yang
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
NYC DOB Complaints - 3,153,645 Building Complaint Records
New York City Department of Buildings complaints received as a queryable dataset: 3,153,645 source rows (3,153,639 distinct complaint numbers) from 1988 to 2026 (one row carries a 1988 date), measured 14 November 2026 (dataset stamp 13 November 2026). Each row is one complaint about a building: the premises, the complaint category, the DOB unit that handled it, the disposition and the dates. The file carries no complainant, owner or tenant identity.
Low cost
From $0.00005 per record, down to $0.00003 at Gold. Pay only for the records you receive - the full file stays queryable and you are never billed for the scan behind it.
What you get per record
| field | meaning |
|---|---|
complaintNumber | the DOB complaint number (numeric or alphanumeric, e.g. 3A43468) |
status | CLOSED (3,132,790) or ACTIVE (20,855) |
address, houseNumber, houseStreet | the premises as published |
zip, borough, communityBoard | ZIP, borough and board; borough is derived from the board's first digit |
bin | Building Identification Number - joins to DOB permits, violations and other NYC building data |
category, categoryDescription | the DOB complaint category and its published description |
dobUnit | the DOB unit that handled it (QNS., BKLYN, MAN., BRONX, ST.IS, ELCTR, PLUMB, BOILR, ...) |
dispositionCode, dispositionDescription | what DOB did, with the published disposition text |
dateEntered, enteredYear, enteredMonth | when the complaint was received |
inspectionDate, dispositionDate | when it was inspected and disposed of |
dobRunDate | the city's file stamp |
specialDistrict | IBZ, SCD, HY, GC or WC (populated on 17,086 rows) |
totalMatched | complaints matching the filters |
Search it
- Building -
bin="2011164"withmode="building"rolls up that building's full complaint history;zip="11226"screens an area. - Complaint type -
category="45"(illegal conversion, 427,649 rows),"05"(permit none, 419,830),"63"(elevator defective, 148,165),"73"(failure to maintain, 124,660). - Outcome -
dispositionCode="I2"(no violation warranted, 1,232,726),"A8"(ECB violation served, 353,229),hasDisposition="no"for the 9,069 open ones. - Where -
borough="Brooklyn",communityBoard="302",specialDistrict="IBZ",street="FORDHAM". - When -
year=2025,month=7, or both.
Example inputs
Every complaint in Brooklyn (960,647 rows - use a filter and maxResults)
{ "borough": "Brooklyn", "maxResults": 100 }
Illegal-conversion complaints in Brooklyn (98,328 rows)
{ "category": "45", "borough": "Brooklyn", "maxResults": 100 }
One complaint by number
{ "mode": "profile", "complaintNumber": "3A43468" }
A complaint number is normally unique. Six numbers in the file appear twice: four pairs are identical and delivered once, and two are different complaints sharing a number - both are returned, newest first.
One building's full complaint history
{ "mode": "building", "bin": "2011164" }
Returns every complaint recorded against that BIN (up to a 5,000-row
ceiling - a larger building is refused rather than truncated, and maxResults
does not clip this mode), each row carrying
profileComplaints, profileOpen, profileClosed, profileFirstComplaint
and profileLastComplaint. mode="building" takes exactly one bin and no
other filter.
Complaints entered in 2025 (119,413 rows)
{ "year": 2025, "maxResults": 200 }
Page through 2025 (the second 5,000-row page)
{ "year": 2025, "maxResults": 5000, "offset": 5000 }
Aggregate it
{ "mode": "aggregate", "groupBy": "year" }
Complaints by entered year: 2023 131,283 / 2024 124,927 / 2025 119,413 /
2026 115,881 (the four most recent of the 39 groups the aggregate returns,
1988-2026). year and month aggregates are built from one grouped query over
the text date column (about 15-25 seconds on the full file - the source has no
date type, so SoQL cannot truncate it); every other dimension is a single
grouped query. metric="buildings" applies to the non-time dimensions.
{ "mode": "aggregate", "groupBy": "category" }
Top complaint categories: 45 illegal conversion 427,649 / 05 permit none
419,830 / 63 elevator defective 148,165 / 73 failure to maintain 124,660 /
30 building shaking 94,876 / 31 certificate of occupancy none 85,014 /
04 after-hours work 84,258 / 59 defective electrical wiring 83,250 / 83
work contrary to plans 80,042 / 6S single elevator device 69,909.
groupBy = category, status, dispositionCode, communityBoard,
dobUnit, zip, specialDistrict, borough, year or month.
metric = count or buildings (distinct BINs) - use buildings when the
question is "how many buildings", not "how many complaints". The file covers
526,589 distinct BINs.
With groupBy=borough the buildings metric counts distinct BINs in each
borough separately (one query per borough, so this combination takes about a
minute); each group is that borough's true distinct count. A handful of BINs
are filed under more than one borough, so the five groups need not add up to
the file-wide 526,589.
By borough: Brooklyn 960,647 / Queens 951,131 / Manhattan 673,494 / Bronx 394,593 / Staten Island 173,438 - plus 342 rows with no community board.
Category and disposition dictionaries
{ "mode": "codes" }
Returns the 197 category codes and 159 disposition codes present in the file
with their counts (this mode takes no filters). Descriptions come from DOB's published
Complaint Categories list (Rev. 09/21, 180 codes) and the city's
Building Complaint Disposition Codes dataset (160 codes). 19 category codes
in the feed are newer than the published list and carry an empty
categoryDescription; 39 disposition codes (26,041 rows) are likewise not
in the published dictionary and carry an empty dispositionDescription. The
code and count are always present.
Row grain and how to read it
- One row = one complaint, identified by
complaintNumber- except that six numbers appear twice. Four pairs are identical (delivered once) and two are different complaints sharing a number (both delivered). A full pull is 3,153,641 unique rows;matchedin the run log still reports the 3,153,645 source rows. - One run delivers at most 5,000 rows. Page with
offset- the order is pinned to the entered date and then the record id, so consecutive pages do not overlap or skip. A month with more than 5,000 complaints (22 of the last 23 months) is paged the same way or narrowed withborough/category. - All dates are text in MM/DD/YYYY - the source has no date type. Sorting
is therefore month-major across years: set
yearwhen you need a chronological feed, and useyear/monthrather than arbitrary date ranges. (SoQL on this dataset offers no date parsing function.) unitis not an apartment. It is the DOB unit/bureau handling the complaint. The apartment number is not published in this dataset.- Borough is derived from the first digit of
community_board: 1 Manhattan, 2 Bronx, 3 Brooklyn, 4 Queens, 5 Staten Island. 342 rows have no board and therefore no borough. - 9,069 rows have no disposition code or date - mostly still
ACTIVE. 23,284 rows have no ZIP. - Category descriptions are not in the feed. They are joined from DOB's published list; a code missing from that list is delivered with an empty description rather than a guess.
- This is the intake and disposition record, not the inspection finding. For the violation itself use DOB violations; for the adjudication use OATH.
- A cold run verifies the whole 3.1M-row corpus before delivering anything, so the first call can take up to about a minute; you are still billed only per delivered record, never for the guard.
- When
maxResultsor the run-level charge cap stops a query, the dataset also carries one unbilled_metarow withtruncated,delivered(a lower bound whenstopReason="charge-limit"),totalMatchedandstopReason.
Source and licence
New York City Department of Buildings, published on the NYC Open Data portal (public open data). Category descriptions from DOB's Complaint Categories list; disposition descriptions from the city's Building Complaint Disposition Codes dataset.
Use it from an AI agent (MCP)
Connect any MCP client to https://mcp.apify.com/?tools=j0401/nyc-dob-complaints to load this dataset as a single tool beside the tools you already have - same records, same per-record pricing.