San Francisco Building Permits API
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.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from data.sfgov.org/Housing-and-Buildings/Building-Permits/i98e-djp9
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/san-francisco-building-permits/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"issued_from":"2026-09-01"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
24 fields: 23 here, 1 technical one under Technical details.
Basics
- Permit type
Permit type name, such as new construction or otc alterations permit.
Example otc alterations permit
- Status
Where the permit stands, such as issued, complete, expired or cancelled.
Example complete
- Block
Assessor block of the parcel.
Example 4943
- Lot
Assessor lot of the parcel.
Example 045
- Description
Work description as the applicant wrote it.
Example recommencement and completion of work approved under pa # 202506178832.
- Existing use
Use of the building before the work.
Example 1 family dwelling
- Proposed use
Use of the building after the work.
Example 1 family dwelling
- Existing units
Dwelling units before the work.
Example 1
- Proposed units
Dwelling units after the work.
Example 1
- Unit change
Proposed units minus existing units, when both are given.
Example 0
- Proposed stories
Number of stories after the work.
Example 2
- Adu
Whether the permit is for an accessory dwelling unit.
Example No
Prices
- Estimated cost
Estimated cost of the work in US dollars.
Example $41,000.00
- Revised cost
Revised cost in US dollars.
Example $41,000.00
- Currency
Currency of the cost fields: USD.
Example USD
Location
- Address
Street address: number, street and suffix.
Example 1119 Gilman Av
- Five-digit ZIP code
Example 94124
- City analysis neighborhood
Example Bayview Hunters Point
- Latitude
Latitude of the address point.
Example 37.719323
- Longitude
Longitude of the address point.
Example -122.390598
Dates
- Filed date
Day the application was filed.
Example Nov 25, 2026
- Issued date
Day the permit was issued.
Example Nov 25, 2026
- Completed date
Day the work was completed, when it is.
Example Dec 3, 2026
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idThe permit number.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
permit_type | text | Permit type | 2 of 3 |
status | text | Status | 3 of 3 |
filed_date | date | Filed date | 3 of 3 |
issued_date | date | Issued date | 3 of 3 |
completed_date | date | Completed date | 3 of 3 |
block | text | Block | 3 of 3 |
lot | text | Lot | 3 of 3 |
address | text | Address | 3 of 3 |
zip_code | text | Five-digit ZIP code | 3 of 3 |
description | text | Description | 3 of 3 |
estimated_cost | money | Estimated cost | 3 of 3 |
revised_cost | money | Revised cost | 3 of 3 |
currency | text | Currency | 3 of 3 |
existing_use | text | Existing use | 3 of 3 |
proposed_use | text | Proposed use | 3 of 3 |
existing_units | number | Existing units | 1 of 3 |
proposed_units | number | Proposed units | 1 of 3 |
unit_change | number | Unit change | 1 of 3 |
proposed_stories | number | Proposed stories | 2 of 3 |
is_adu | yes or no | Adu | 3 of 3 |
neighborhood | text | City analysis neighborhood | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Permit type | Status | Block | Lot | Description | Existing use | Proposed use | Existing units | Proposed units | Unit change | Proposed stories | Adu | Estimated cost | Revised cost | Currency | Address | Five-digit ZIP code | City analysis neighborhood | Latitude | Longitude | Filed date | Issued date | Completed date |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | otc alterations permit | complete | 4943 | 045 | recommencement and completion of work approved under pa # 202506178832. | 1 family dwelling | 1 family dwelling | 1 | 1 | 0 | 2 | No | $41,000.00 | $41,000.00 | USD | 1119 Gilman Av | 94124 | Bayview Hunters Point | 37.719323 | -122.390598 | Nov 25, 2026 | Nov 25, 2026 | Dec 3, 2026 |
| 2 | otc alterations permit | complete | 0259 | 026 | 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… | office | office | — | — | — | 55 | No | $19,056.00 | $19,056.00 | USD | 555 California St | 94104 | Financial District/South Beach | 37.79258 | -122.403518 | Nov 25, 2026 | Nov 25, 2026 | Dec 3, 2026 |
| 3 | — | complete | 2172 | 027 | 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 | 2 family dwelling | 2 family dwelling | — | — | — | — | No | $49,769.00 | $49,769.00 | USD | 2170 46th Av | 94116 | Sunset/Parkside | 37.746074 | -122.504596 | Jun 12, 2026 | Nov 24, 2026 | Dec 3, 2026 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- 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.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.