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.

Try it
Ready-made, maintained by usRecords, 24 fieldsv1.0

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

Issued fromoptional
Only permits issued on or after this day, as YYYY-MM-DD.
Example: 2026-09-01
Permit typesoptional
Only these permit types, by the City's name, such as new construction or otc alterations permit. One per line, or separated by commas.
Example: new construction, otc alterations permit
Neighborhoodsoptional
Only permits in these City analysis neighborhoods, such as Mission. One per line, or separated by commas.
Example: Mission
Minimum estimated costoptional
Only permits with an estimated cost of at least this many US dollars.
Example: 50000
Statusesoptional
Only permits with these statuses, such as issued, complete, expired or cancelled. One per line, or separated by commas.
Example: complete

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
Endpoint
POSThttps://pullrow.dev/v1/apis/san-francisco-building-permits/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

issued_fromtext
Only permits issued on or after this day, as YYYY-MM-DD.
example: 2026-09-01
permit_typeslist
Only these permit types, by the City's name, such as new construction or otc alterations permit.
example: new construction, otc alterations permit
neighborhoodslist
Only permits in these City analysis neighborhoods, such as Mission.
example: Mission
min_estimated_costnumber
Only permits with an estimated cost of at least this many US dollars.
example: 50000
statuseslist
Only permits with these statuses, such as issued, complete, expired or cancelled.
example: complete

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
permit_typetextPermit type2 of 3
statustextStatus3 of 3
filed_datedateFiled date3 of 3
issued_datedateIssued date3 of 3
completed_datedateCompleted date3 of 3
blocktextBlock3 of 3
lottextLot3 of 3
addresstextAddress3 of 3
zip_codetextFive-digit ZIP code3 of 3
descriptiontextDescription3 of 3
estimated_costmoneyEstimated cost3 of 3
revised_costmoneyRevised cost3 of 3
currencytextCurrency3 of 3
existing_usetextExisting use3 of 3
proposed_usetextProposed use3 of 3
existing_unitsnumberExisting units1 of 3
proposed_unitsnumberProposed units1 of 3
unit_changenumberUnit change1 of 3
proposed_storiesnumberProposed stories2 of 3
is_aduyes or noAdu3 of 3
neighborhoodtextCity analysis neighborhood3 of 3
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordPermit typeStatusBlockLotDescriptionExisting useProposed useExisting unitsProposed unitsUnit changeProposed storiesAduEstimated costRevised costCurrencyAddressFive-digit ZIP codeCity analysis neighborhoodLatitudeLongitudeFiled dateIssued dateCompleted date
1otc alterations permitcomplete4943045recommencement and completion of work approved under pa # 202506178832.1 family dwelling1 family dwelling1102No$41,000.00$41,000.00USD1119 Gilman Av94124Bayview Hunters Point37.719323-122.390598Nov 25, 2026Nov 25, 2026Dec 3, 2026
2otc alterations permitcomplete025902631st 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…officeoffice———55No$19,056.00$19,056.00USD555 California St94104Financial District/South Beach37.79258-122.403518Nov 25, 2026Nov 25, 2026Dec 3, 2026
3—complete2172027solar 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 frankl2 family dwelling2 family dwelling————No$49,769.00$49,769.00USD2170 46th Av94116Sunset/Parkside37.746074-122.504596Jun 12, 2026Nov 24, 2026Dec 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.
Known limits
  • 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.