{"api":{"id":"api_2ce1b55afae7fe8a119cd1b3","slug":"sf-building-complaints","name":"San Francisco Building Complaints API","description":"Building and housing complaints filed with San Francisco's Department of Building Inspection: complaint number, parcel, address, status, description and inspection dates, searchable by street, block and date.","kind":"ready_made","visibility":"public","domain":"data.sf.gov","source_url":"https://data.sf.gov/resource/gm2e-bten.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.396Z","updated_at":"2026-12-06T04:45:48.396Z","runnable":true},"version":"1.0","contract_hash":"7e9dce8648be6639b793edf4372b3ed02a8d221fa3786aa575e1910c14df4cbc","fields":[{"name":"complaint_number","type":"string","description":"Complaint number.","required":true,"coverage":1,"example":"202663937"},{"name":"url","type":"url","description":"Link to the open data record.","required":false,"coverage":1,"example":"https://data.sf.gov/resource/gm2e-bten.json?complaint_number=202663937"},{"name":"filed_date","type":"date","description":"Day the complaint was filed.","required":false,"coverage":1,"example":"2026-10-08"},{"name":"block","type":"string","description":"Assessor block.","required":false,"coverage":1,"example":"4914"},{"name":"lot","type":"string","description":"Assessor lot.","required":false,"coverage":1,"example":"005"},{"name":"parcel_number","type":"string","description":"Assessor parcel number.","required":false,"coverage":1,"example":"4914005"},{"name":"street_number","type":"string","description":"Street number.","required":false,"coverage":1,"example":"1126"},{"name":"street_name","type":"string","description":"Street name.","required":false,"coverage":1,"example":"Fitzgerald"},{"name":"street_suffix","type":"string","description":"Street suffix such as St or Av.","required":false,"coverage":1,"example":"Av"},{"name":"zip_code","type":"string","description":"ZIP code.","required":false,"coverage":1,"example":"94124"},{"name":"status","type":"string","description":"Complaint status.","required":false,"coverage":1,"example":"Active"},{"name":"complaint_description","type":"string","description":"What was complained about.","required":false,"coverage":1,"example":"Date last observed: 07-oct-26; time last observed: 8am; exact location: rear bldg; building type: residence/dwelling…"},{"name":"assigned_division","type":"string","description":"Division handling the complaint.","required":false,"coverage":1,"example":"Building Inspection Division"},{"name":"last_inspection_date","type":"date","description":"Day of the last inspection.","required":false,"coverage":0.2,"example":"2026-05-21"},{"name":"closed_date","type":"date","description":"Day the complaint was closed.","required":false,"coverage":0.6,"example":"2026-08-24"}],"inputs":[{"name":"street","type":"string","description":"Street name without the suffix, such as Fitzgerald.","example":"Fitzgerald"},{"name":"block","type":"string","description":"Assessor block number.","example":"4884"},{"name":"from_date","type":"string","description":"Earliest filing date, YYYY-MM-DD.","example":"2025-01-01"},{"name":"status","type":"string","description":"Complaint status text, such as Active or Not Active.","example":"Active"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"assigned_division":{"description":"Division handling the complaint.","type":"string"},"block":{"description":"Assessor block.","type":"string"},"closed_date":{"description":"Day the complaint was closed.","format":"date","type":"string"},"complaint_description":{"description":"What was complained about.","type":"string"},"complaint_number":{"description":"Complaint number.","type":"string"},"filed_date":{"description":"Day the complaint was filed.","format":"date","type":"string"},"last_inspection_date":{"description":"Day of the last inspection.","format":"date","type":"string"},"lot":{"description":"Assessor lot.","type":"string"},"parcel_number":{"description":"Assessor parcel number.","type":"string"},"status":{"description":"Complaint status.","type":"string"},"street_name":{"description":"Street name.","type":"string"},"street_number":{"description":"Street number.","type":"string"},"street_suffix":{"description":"Street suffix such as St or Av.","type":"string"},"url":{"description":"Link to the open data record.","format":"uri","type":"string"},"zip_code":{"description":"ZIP code.","type":"string"}},"required":["complaint_number"],"title":"San Francisco Building Complaints API","type":"object"},"samples":[{"complaint_number":"202663937","url":"https://data.sf.gov/resource/gm2e-bten.json?complaint_number=202663937","filed_date":"2026-10-08","block":"4914","lot":"005","parcel_number":"4914005","street_number":"1126","street_name":"Fitzgerald","street_suffix":"Av","zip_code":"94124","status":"Active","complaint_description":"Date last observed: 07-oct-26; time last observed: 8am; exact location: rear bldg; building type: residence/dwelling work w/o permit; ; additional information: the property remains in a severely deteriorated and incomplete condition, with no construction progress for an extended…","assigned_division":"Building Inspection Division","last_inspection_date":null,"closed_date":null},{"complaint_number":"202660108","url":"https://data.sf.gov/resource/gm2e-bten.json?complaint_number=202660108","filed_date":"2026-07-29","block":"4914","lot":"005","parcel_number":"4914005","street_number":"1126","street_name":"Fitzgerald","street_suffix":"Av","zip_code":"94124","status":"Active","complaint_description":"Date last observed: 26-jul-26; time last observed: 2:00am; exact location: main bldg; building type: residence/dwelling work beyond scope of permit; ; additional information: extended the envelope outside the scope of permitted work;","assigned_division":"Building Inspection Division","last_inspection_date":null,"closed_date":null},{"complaint_number":"202656280","url":"https://data.sf.gov/resource/gm2e-bten.json?complaint_number=202656280","filed_date":"2026-05-15","block":"4938","lot":"027","parcel_number":"4938027","street_number":"1111","street_name":"Fitzgerald","street_suffix":"Av","zip_code":"94124","status":"Not Active","complaint_description":"Abandoned and not lived in for the last 10 years, overgrown front lawn, abandoned/rusted car in driveway for years, starting to deteriorate and the neighborhood is now getting mosquitoes so i'm wondering if the roof or house is flooded. someone used to come by (family who lives…","assigned_division":"Housing Inspection Services","last_inspection_date":"2026-05-21","closed_date":"2026-08-24"}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"assigned_division":1,"block":1,"closed_date":0.33,"complaint_description":1,"complaint_number":1,"filed_date":1,"last_inspection_date":0.33,"lot":1,"parcel_number":1,"status":1,"street_name":1,"street_number":1,"street_suffix":1,"url":1,"zip_code":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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.396Z","activated_at":"2026-12-06T04:45:48.396Z","active":true,"contract_hash":"7e9dce8648be6639b793edf4372b3ed02a8d221fa3786aa575e1910c14df4cbc","fields_count":15}]}