{"api":{"id":"api_1830fc1e5bb68628650e1829","slug":"nyc-building-violations","name":"NYC Building Violations API","description":"New York City Department of Buildings (DOB) and Environmental Control Board (ECB) building violations by building, street or borough: violation number, building id, block and lot, issue date, type, severity, status, hearing outcome and ECB penalty.","kind":"ready_made","visibility":"public","domain":"data.cityofnewyork.us","source_url":"https://data.cityofnewyork.us/resource/3h2n-5cm9.json","category":"real_estate","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":15,"created_at":"2026-12-06T04:45:48.383Z","updated_at":"2026-12-06T04:45:48.383Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"The city record id: the DOB record number, or the ECB violation number.","required":true,"coverage":1,"example":"39562924H"},{"name":"kind","type":"string","description":"dob or ecb: which city list the violation comes from.","required":false,"coverage":1,"example":"ecb"},{"name":"violation_number","type":"string","description":"The violation number printed on the notice.","required":false,"coverage":1,"example":"39562924H"},{"name":"bin","type":"string","description":"NYC Building Identification Number.","required":false,"coverage":1,"example":"1091929"},{"name":"borough","type":"string","description":"Borough name.","required":false,"coverage":1,"example":"Manhattan"},{"name":"block","type":"string","description":"Tax block number.","required":false,"coverage":1,"example":"01425"},{"name":"lot","type":"string","description":"Tax lot number.","required":false,"coverage":1,"example":"0128"},{"name":"address","type":"string","description":"Street address of the property, when given.","required":false,"coverage":1,"example":"221 WEST 37 STREET"},{"name":"issue_date","type":"date","description":"The day the violation was issued.","required":false,"coverage":1,"example":"2026-12-02"},{"name":"violation_type","type":"string","description":"Kind of violation, such as Construction or Elevator.","required":false,"coverage":1,"example":"Unknown"},{"name":"category","type":"string","description":"DOB violation category text, or ECB severity class.","required":false,"coverage":1,"example":"CLASS - 2"},{"name":"disposition","type":"string","description":"DOB disposition comment, or the ECB hearing result.","required":false,"coverage":1,"example":"PENDING"},{"name":"penalty_amount","type":"money","description":"ECB penalty imposed, in US dollars.","required":false,"coverage":1,"example":2500},{"name":"status","type":"string","description":"Current status, such as ACTIVE, Resolved, Dismissed or RESOLVE.","required":false,"coverage":1,"example":"ACTIVE"},{"name":"description","type":"string","description":"The inspector's description of the violation, in plain text.","required":false,"coverage":1,"example":"BC 3303.4.1 AT THE TIME OF INSPECTION, OBSERVED CONSTRUCTION MATERIALS, LOOSE REBAR, DEBRIS, ELECTRICAL CORDS, AND A…"}],"inputs":[{"name":"kind","type":"string","description":"Which list to read: dob for Department of Buildings violations, ecb for Environmental Control Board violations with penalties.","default":"dob","example":"dob","enum":["dob","ecb"]},{"name":"borough","type":"string","description":"Only this borough: manhattan, bronx, brooklyn, queens or staten-island.","example":"manhattan","enum":["manhattan","bronx","brooklyn","queens","staten-island"]},{"name":"street","type":"string","description":"Words from the street name, for example BROADWAY.","example":"BROADWAY"},{"name":"bin","type":"string","description":"Only this building, by its NYC Building Identification Number.","example":"1006588"},{"name":"from_date","type":"string","description":"Only violations issued on or after this day, as YYYYMMDD or YYYY-MM-DD.","example":"20250101"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"address":{"description":"Street address of the property, when given.","type":"string"},"bin":{"description":"NYC Building Identification Number.","type":"string"},"block":{"description":"Tax block number.","type":"string"},"borough":{"description":"Borough name.","type":"string"},"category":{"description":"DOB violation category text, or ECB severity class.","type":"string"},"description":{"description":"The inspector's description of the violation, in plain text.","type":"string"},"disposition":{"description":"DOB disposition comment, or the ECB hearing result.","type":"string"},"id":{"description":"The city record id: the DOB record number, or the ECB violation number.","type":"string"},"issue_date":{"description":"The day the violation was issued.","format":"date","type":"string"},"kind":{"description":"dob or ecb: which city list the violation comes from.","type":"string"},"lot":{"description":"Tax lot number.","type":"string"},"penalty_amount":{"description":"ECB penalty imposed, in US dollars.","type":"number"},"status":{"description":"Current status, such as ACTIVE, Resolved, Dismissed or RESOLVE.","type":"string"},"violation_number":{"description":"The violation number printed on the notice.","type":"string"},"violation_type":{"description":"Kind of violation, such as Construction or Elevator.","type":"string"}},"required":["id"],"title":"NYC Building Violations API","type":"object"},"samples":[{"id":"39562924H","kind":"ecb","violation_number":"39562924H","bin":"1091929","borough":"Manhattan","block":"01425","lot":"0128","address":"221 WEST 37 STREET","issue_date":"2026-12-02","violation_type":"Unknown","category":"CLASS - 2","disposition":"PENDING","penalty_amount":2500,"status":"ACTIVE","description":"BC 3303.4.1 AT THE TIME OF INSPECTION, OBSERVED CONSTRUCTION MATERIALS, LOOSE REBAR, DEBRIS, ELECTRICAL CORDS, AND A SIGNIFICANT STEP/GAP IN THE WALKING SURFACE, CREATING TRIPPING HAZARDS FOR WORKERS. REMOVE OB"},{"id":"39562923X","kind":"ecb","violation_number":"39562923X","bin":"1091929","borough":"Manhattan","block":"01425","lot":"0128","address":"221 WEST 37 STREET","issue_date":"2026-12-02","violation_type":"Construction","category":"CLASS - 2","disposition":"PENDING","penalty_amount":2500,"status":"ACTIVE","description":"AT THE TIME OF INSPECTION, OBSERVED A CONSTRUCTION FENCE IN PLACE WITH UNAUTHORIZED COMMERCIAL ADVERTISING POSTED ON THE FENCE, CONTRARY TO APPLICABLE CODE REQUIREMENTS.REMOVE ALL UNAUTHORIZED COMMERCIAL ADVERT"},{"id":"39562922Y","kind":"ecb","violation_number":"39562922Y","bin":"1091929","borough":"Manhattan","block":"01425","lot":"0128","address":"221 WEST 37 STREET","issue_date":"2026-12-02","violation_type":"Unknown","category":"CLASS - 2","disposition":"PENDING","penalty_amount":2500,"status":"ACTIVE","description":"BC 3301.5 & 1926.701(B) AT TIME OF INSPECTION, OBSERVED NO PROTECTIVE CAPS PROVIDED ON EXPOSED PROTRUDING REINFORCING STEEL (REBAR) AT THE CONSTRUCTION SITE, CREATING AN IMPALEMENT HAZARD TO WORKERS WHO MAY FAL"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"address":1,"bin":1,"block":1,"borough":1,"category":1,"description":1,"disposition":1,"id":1,"issue_date":1,"kind":1,"lot":1,"penalty_amount":1,"status":1,"violation_number":1,"violation_type":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_1830fc1e5bb68628650e1829/run","openapi":"https://pullrow.dev/v1/apis/api_1830fc1e5bb68628650e1829/openapi.json","contract":"https://pullrow.dev/v1/apis/api_1830fc1e5bb68628650e1829/contract.json","page":"https://pullrow.dev/catalog/nyc-building-violations"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Data is as NYC Open Data publishes it, refreshed daily by the city; recent violations can appear a day or more after they are issued. Used under the NYC Open Data terms of use.","Pick one list per run with kind: dob (DOB violations, no penalty amounts) or ecb (ECB violations, with penalty amounts). They are not merged in one run.","At most 10,000 violations per run, newest first; narrow the search by borough, street, building id or from_date to reach more.","penalty_amount is filled only for ecb violations. Respondent names are not included.","The city portal is sometimes slow or briefly unavailable and allows only a few requests a second, so a large run can take a few minutes."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"The city record id: the DOB record number, or the ECB violation number.","group":"Technical","shown":false,"written":false},{"name":"kind","label":"Kind","description":"dob or ecb: which city list the violation comes from.","group":"Basics","shown":true,"written":false},{"name":"violation_number","label":"Violation number","description":"The violation number printed on the notice.","group":"Basics","shown":true,"written":false},{"name":"bin","label":"Bin","description":"NYC Building Identification Number.","group":"Basics","shown":true,"written":false},{"name":"borough","label":"Borough name","description":"","group":"Basics","shown":true,"written":false},{"name":"block","label":"Tax block number","description":"","group":"Basics","shown":true,"written":false},{"name":"lot","label":"Tax lot number","description":"","group":"Basics","shown":true,"written":false},{"name":"address","label":"Address","description":"Street address of the property, when given.","group":"Location","shown":true,"written":false},{"name":"issue_date","label":"Issue date","description":"The day the violation was issued.","group":"Dates","shown":true,"written":false},{"name":"violation_type","label":"Violation type","description":"Kind of violation, such as Construction or Elevator.","group":"Basics","shown":true,"written":false},{"name":"category","label":"Category","description":"DOB violation category text, or ECB severity class.","group":"Basics","shown":true,"written":false},{"name":"disposition","label":"Disposition","description":"DOB disposition comment, or the ECB hearing result.","group":"Basics","shown":true,"written":false},{"name":"penalty_amount","label":"Penalty amount","description":"ECB penalty imposed, in US dollars.","group":"Pay","shown":true,"written":false},{"name":"status","label":"Status","description":"Current status, such as ACTIVE, Resolved, Dismissed or RESOLVE.","group":"Basics","shown":true,"written":false},{"name":"description","label":"Description","description":"The inspector's description of the violation, in plain text.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"kind","label":"Kind","help":"Which list to read: dob for Department of Buildings violations, ecb for Environmental Control Board violations with penalties.","example":"dob","written":false},{"name":"borough","label":"Borough","help":"Only this borough: manhattan, bronx, brooklyn, queens or staten-island.","example":"manhattan","written":false},{"name":"street","label":"Street","help":"Words from the street name, for example BROADWAY.","example":"BROADWAY","written":false},{"name":"bin","label":"Bin","help":"Only this building, by its NYC Building Identification Number.","example":"1006588","written":false},{"name":"from_date","label":"From date","help":"Only violations issued on or after this day, as YYYYMMDD or YYYY-MM-DD.","example":"20250101","written":false}]}},"incidents":[]}