{"api":{"id":"api_50dcfb0fcb2f723eb8822b27","slug":"san-francisco-building-permits","name":"San Francisco Building Permits API","description":"City of San Francisco building permits, newest issue date first: permit type, status, filed, issued and completed dates, address, block and lot, work description, estimated and revised cost, existing and proposed use, units and stories, ADU flag and neighborhood.","kind":"ready_made","visibility":"public","domain":"data.sfgov.org","source_url":"https://data.sfgov.org/Housing-and-Buildings/Building-Permits/i98e-djp9","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":24,"created_at":"2026-12-06T03:57:27.705Z","updated_at":"2026-12-06T03:57:27.705Z","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 permit number.","required":true,"coverage":1,"example":"202611251240"},{"name":"permit_type","type":"string","description":"Permit type name, such as new construction or otc alterations permit.","required":false,"coverage":0.8,"example":"otc alterations permit"},{"name":"status","type":"string","description":"Where the permit stands, such as issued, complete, expired or cancelled.","required":false,"coverage":1,"example":"complete"},{"name":"filed_date","type":"date","description":"Day the application was filed.","required":false,"coverage":1,"example":"2026-11-25"},{"name":"issued_date","type":"date","description":"Day the permit was issued.","required":false,"coverage":1,"example":"2026-11-25"},{"name":"completed_date","type":"date","description":"Day the work was completed, when it is.","required":false,"coverage":1,"example":"2026-12-03"},{"name":"block","type":"string","description":"Assessor block of the parcel.","required":false,"coverage":1,"example":"4943"},{"name":"lot","type":"string","description":"Assessor lot of the parcel.","required":false,"coverage":1,"example":"045"},{"name":"address","type":"string","description":"Street address: number, street and suffix.","required":false,"coverage":1,"example":"1119 Gilman Av"},{"name":"zip_code","type":"string","description":"Five-digit ZIP code.","required":false,"coverage":1,"example":"94124"},{"name":"description","type":"string","description":"Work description as the applicant wrote it.","required":false,"coverage":1,"example":"recommencement and completion of work approved under pa # 202506178832."},{"name":"estimated_cost","type":"money","description":"Estimated cost of the work in US dollars.","required":false,"coverage":1,"example":41000},{"name":"revised_cost","type":"money","description":"Revised cost in US dollars.","required":false,"coverage":1,"example":41000},{"name":"currency","type":"string","description":"Currency of the cost fields: USD.","required":false,"coverage":1,"example":"USD"},{"name":"existing_use","type":"string","description":"Use of the building before the work.","required":false,"coverage":1,"example":"1 family dwelling"},{"name":"proposed_use","type":"string","description":"Use of the building after the work.","required":false,"coverage":1,"example":"1 family dwelling"},{"name":"existing_units","type":"integer","description":"Dwelling units before the work.","required":false,"coverage":0.4,"example":1},{"name":"proposed_units","type":"integer","description":"Dwelling units after the work.","required":false,"coverage":0.4,"example":1},{"name":"unit_change","type":"integer","description":"Proposed units minus existing units, when both are given.","required":false,"coverage":0.4,"example":0},{"name":"proposed_stories","type":"integer","description":"Number of stories after the work.","required":false,"coverage":0.8,"example":2},{"name":"is_adu","type":"boolean","description":"Whether the permit is for an accessory dwelling unit.","required":false,"coverage":1,"example":false},{"name":"neighborhood","type":"string","description":"City analysis neighborhood.","required":false,"coverage":1,"example":"Bayview Hunters Point"},{"name":"latitude","type":"number","description":"Latitude of the address point.","required":false,"coverage":1,"example":37.719323063},{"name":"longitude","type":"number","description":"Longitude of the address point.","required":false,"coverage":1,"example":-122.39059809}],"inputs":[{"name":"issued_from","type":"string","description":"Only permits issued on or after this day, as YYYY-MM-DD.","example":"2026-09-01"},{"name":"permit_types","type":"array","description":"Only these permit types, by the City's name, such as new construction or otc alterations permit.","example":["new construction","otc alterations permit"]},{"name":"neighborhoods","type":"array","description":"Only permits in these City analysis neighborhoods, such as Mission.","example":["Mission"]},{"name":"min_estimated_cost","type":"integer","description":"Only permits with an estimated cost of at least this many US dollars.","example":50000},{"name":"statuses","type":"array","description":"Only permits with these statuses, such as issued, complete, expired or cancelled.","example":["complete"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"address":{"description":"Street address: number, street and suffix.","type":"string"},"block":{"description":"Assessor block of the parcel.","type":"string"},"completed_date":{"description":"Day the work was completed, when it is.","format":"date","type":"string"},"currency":{"description":"Currency of the cost fields: USD.","type":"string"},"description":{"description":"Work description as the applicant wrote it.","type":"string"},"estimated_cost":{"description":"Estimated cost of the work in US dollars.","type":"number"},"existing_units":{"description":"Dwelling units before the work.","type":"integer"},"existing_use":{"description":"Use of the building before the work.","type":"string"},"filed_date":{"description":"Day the application was filed.","format":"date","type":"string"},"id":{"description":"The permit number.","type":"string"},"is_adu":{"description":"Whether the permit is for an accessory dwelling unit.","type":"boolean"},"issued_date":{"description":"Day the permit was issued.","format":"date","type":"string"},"latitude":{"description":"Latitude of the address point.","type":"number"},"longitude":{"description":"Longitude of the address point.","type":"number"},"lot":{"description":"Assessor lot of the parcel.","type":"string"},"neighborhood":{"description":"City analysis neighborhood.","type":"string"},"permit_type":{"description":"Permit type name, such as new construction or otc alterations permit.","type":"string"},"proposed_stories":{"description":"Number of stories after the work.","type":"integer"},"proposed_units":{"description":"Dwelling units after the work.","type":"integer"},"proposed_use":{"description":"Use of the building after the work.","type":"string"},"revised_cost":{"description":"Revised cost in US dollars.","type":"number"},"status":{"description":"Where the permit stands, such as issued, complete, expired or cancelled.","type":"string"},"unit_change":{"description":"Proposed units minus existing units, when both are given.","type":"integer"},"zip_code":{"description":"Five-digit ZIP code.","type":"string"}},"required":["id"],"title":"San Francisco Building Permits API","type":"object"},"samples":[{"id":"202611251240","permit_type":"otc alterations permit","status":"complete","filed_date":"2026-11-25","issued_date":"2026-11-25","completed_date":"2026-12-03","block":"4943","lot":"045","address":"1119 Gilman Av","zip_code":"94124","description":"recommencement and completion of work approved under pa # 202506178832.","estimated_cost":41000,"revised_cost":41000,"currency":"USD","existing_use":"1 family dwelling","proposed_use":"1 family dwelling","existing_units":1,"proposed_units":1,"unit_change":0,"proposed_stories":2,"is_adu":false,"neighborhood":"Bayview Hunters Point","latitude":37.719323063,"longitude":-122.39059809},{"id":"202611251210","permit_type":"otc alterations permit","status":"complete","filed_date":"2026-11-25","issued_date":"2026-11-25","completed_date":"2026-12-03","block":"0259","lot":"026","address":"555 California St","zip_code":"94104","description":"31st flr.to furnish 2-way communications intercom station for passanger elevator lobby. intercom is being installed to provide communication abilities during times taht elevator lobby doors are locked. conduit, back boxes, cabling and installation to be completed by mcmillian…","estimated_cost":19056,"revised_cost":19056,"currency":"USD","existing_use":"office","proposed_use":"office","existing_units":null,"proposed_units":null,"unit_change":null,"proposed_stories":55,"is_adu":false,"neighborhood":"Financial District/South Beach","latitude":37.792579584,"longitude":-122.403518142},{"id":"S20260611646","permit_type":null,"status":"complete","filed_date":"2026-06-12","issued_date":"2026-11-24","completed_date":"2026-12-03","block":"2172","lot":"027","address":"2170 46th Av","zip_code":"94116","description":"solar permit: installing 15 solar pv modules, 415 watts per module, total no. of rating 6.225 kw. mounted: roof, ballasted: n, including 1 energy storage unit, of 240 vac, with 15 kwh each in capacity, ess units will not be closer than 3 feet | rooftop pv and a frankl","estimated_cost":49769,"revised_cost":49769,"currency":"USD","existing_use":"2 family dwelling","proposed_use":"2 family dwelling","existing_units":null,"proposed_units":null,"unit_change":null,"proposed_stories":null,"is_adu":false,"neighborhood":"Sunset/Parkside","latitude":37.746073925,"longitude":-122.504596101}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"address":1,"block":1,"completed_date":1,"currency":1,"description":1,"estimated_cost":1,"existing_units":0.33,"existing_use":1,"filed_date":1,"id":1,"is_adu":1,"issued_date":1,"latitude":1,"longitude":1,"lot":1,"neighborhood":1,"permit_type":0.67,"proposed_stories":0.67,"proposed_units":0.33,"proposed_use":1,"revised_cost":1,"status":1,"unit_change":0.33,"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},"links":{"run":"https://pullrow.dev/v1/apis/api_50dcfb0fcb2f723eb8822b27/run","openapi":"https://pullrow.dev/v1/apis/api_50dcfb0fcb2f723eb8822b27/openapi.json","contract":"https://pullrow.dev/v1/apis/api_50dcfb0fcb2f723eb8822b27/contract.json","page":"https://pullrow.dev/catalog/san-francisco-building-permits"},"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":["Permits the San Francisco Department of Building Inspection filed from 2013 on, as published on DataSF; only permits that have an issue date are returned, newest issue date first.","The source refreshes about daily; a permit's status and dates change as it moves through review, so a record is a snapshot.","Cost fields are the applicant's estimate and the revised figure, in US dollars; they are empty or zero on many permits (signs, minor work). min_estimated_cost keeps only permits with an estimate at or above it.","Existing and proposed units, stories and uses are filled mostly on building alterations and new construction; other permit types often leave them empty. completed_date is filled only once the work is closed out.","permit_types and neighborhoods match the City's own names (for example 'otc alterations permit', 'new construction', 'Mission'), ignoring upper and lower case.","San Francisco's data portal slows down heavy anonymous use, so this API reads 1,000 permits a page with a pause between pages; a run of 10,000 permits takes under a minute.","Data from DataSF (City and County of San Francisco) under its open data terms; the City says it may differ from official department records."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"The permit number.","group":"Technical","shown":false,"written":false},{"name":"permit_type","label":"Permit type","description":"Permit type name, such as new construction or otc alterations permit.","group":"Basics","shown":true,"written":false},{"name":"status","label":"Status","description":"Where the permit stands, such as issued, complete, expired or cancelled.","group":"Basics","shown":true,"written":false},{"name":"filed_date","label":"Filed date","description":"Day the application was filed.","group":"Dates","shown":true,"written":false},{"name":"issued_date","label":"Issued date","description":"Day the permit was issued.","group":"Dates","shown":true,"written":false},{"name":"completed_date","label":"Completed date","description":"Day the work was completed, when it is.","group":"Dates","shown":true,"written":false},{"name":"block","label":"Block","description":"Assessor block of the parcel.","group":"Basics","shown":true,"written":false},{"name":"lot","label":"Lot","description":"Assessor lot of the parcel.","group":"Basics","shown":true,"written":false},{"name":"address","label":"Address","description":"Street address: number, street and suffix.","group":"Location","shown":true,"written":false},{"name":"zip_code","label":"Five-digit ZIP code","description":"","group":"Location","shown":true,"written":false},{"name":"description","label":"Description","description":"Work description as the applicant wrote it.","group":"Basics","shown":true,"written":false},{"name":"estimated_cost","label":"Estimated cost","description":"Estimated cost of the work in US dollars.","group":"Pay","shown":true,"written":false},{"name":"revised_cost","label":"Revised cost","description":"Revised cost in US dollars.","group":"Pay","shown":true,"written":false},{"name":"currency","label":"Currency","description":"Currency of the cost fields: USD.","group":"Pay","shown":true,"written":false},{"name":"existing_use","label":"Existing use","description":"Use of the building before the work.","group":"Basics","shown":true,"written":false},{"name":"proposed_use","label":"Proposed use","description":"Use of the building after the work.","group":"Basics","shown":true,"written":false},{"name":"existing_units","label":"Existing units","description":"Dwelling units before the work.","group":"Basics","shown":true,"written":false},{"name":"proposed_units","label":"Proposed units","description":"Dwelling units after the work.","group":"Basics","shown":true,"written":false},{"name":"unit_change","label":"Unit change","description":"Proposed units minus existing units, when both are given.","group":"Basics","shown":true,"written":false},{"name":"proposed_stories","label":"Proposed stories","description":"Number of stories after the work.","group":"Basics","shown":true,"written":false},{"name":"is_adu","label":"Adu","description":"Whether the permit is for an accessory dwelling unit.","group":"Basics","shown":true,"written":false},{"name":"neighborhood","label":"City analysis neighborhood","description":"","group":"Location","shown":true,"written":false},{"name":"latitude","label":"Latitude","description":"Latitude of the address point.","group":"Location","shown":true,"written":false},{"name":"longitude","label":"Longitude","description":"Longitude of the address point.","group":"Location","shown":true,"written":false}],"inputs":[{"name":"issued_from","label":"Issued from","help":"Only permits issued on or after this day, as YYYY-MM-DD.","example":"2026-09-01","written":false},{"name":"permit_types","label":"Permit types","help":"Only these permit types, by the City's name, such as new construction or otc alterations permit.","example":"new construction, otc alterations permit","written":false},{"name":"neighborhoods","label":"Neighborhoods","help":"Only permits in these City analysis neighborhoods, such as Mission.","example":"Mission","written":false},{"name":"min_estimated_cost","label":"Minimum estimated cost","help":"Only permits with an estimated cost of at least this many US dollars.","example":"50000","written":false},{"name":"statuses","label":"Statuses","help":"Only permits with these statuses, such as issued, complete, expired or cancelled.","example":"complete","written":false}]}},"incidents":[]}