Last checked
How to get building permit data from city open-data portals
Unofficial tool. Not affiliated with, endorsed by, or sponsored by any city, county, or government agency.
Many US cities publish their building permits on public open-data portals, and most of those portals run on Socrata, which has the same query API on every city. You can ask for permits issued since a date, above a project value or of a certain type, and get JSON back with no key. Contractors, suppliers, solar, roofing and HVAC sales teams and real-estate analysts use this to track construction activity. The catch is that every city names its columns differently, and many permit datasets also carry owner and applicant names and phone numbers. Ask only for the business columns you need.
In short
- Find the city’s permits dataset: the portal host and the dataset id.
- Use
$selectto request only the permit, date, address, value and contractor business-name columns. - Filter with
$whereon the issue date and valuation, then page with$orderand$limit. - Keep the city’s license and attribution with the data.
Query one city yourself
This asks Austin’s Issued Construction Permits dataset for permits issued since 1 October 2026 with a stated value of at least $100,000. It names every column it wants, so no owner or applicant column is downloaded.
import json
from urllib.parse import urlencode
from urllib.request import Request, urlopen
columns = ["permit_number", "permit_type_desc", "work_class", "description", "status_current",
"issue_date", "original_address1", "original_zip", "total_job_valuation",
"contractor_company_name", "contractor_trade", "link"]
params = {
"$select": ",".join(columns),
"$where": "issue_date >= '2026-10-01T00:00:00' AND total_job_valuation >= 100000",
"$order": "issue_date DESC",
"$limit": 20,
}
url = "https://data.austintexas.gov/resource/3syk-w9eu.json?" + urlencode(params)
request = Request(url, headers={"Accept": "application/json", "User-Agent": "LepidataGuide/1.0 (+https://lepidata.com)"})
with urlopen(request, timeout=30) as response:
permits = json.load(response)
print(len(permits), "permits")
For another city, change the host, the dataset id and the column names. Work descriptions sometimes contain an email address or phone number, so clean those before you share the data. Some contractor business names are a sole proprietor’s own name, as the city published it.
When to stop writing this yourself
Mapping five cities’ column names into one format, cleaning descriptions and keeping track of each city’s license is where a quick query becomes a project. We built and publish a tool for this on Apify: the US Building Permits Scraper. It covers San Francisco, Seattle, Austin, Cincinnati and Baton Rouge / East Baton Rouge Parish and returns every permit in one shared format. It is billed per permit returned. Status rows such as no-results and filter-unsupported are free.
Only explicitly listed fields are requested from each portal and returned. Owner, applicant and contact columns are never downloaded. Owner and applicant names, phone numbers and emails are never returned. No contractor contact details either: no contractor phone, email or street address, only the business name. There is no free-text or name search: you can’t search by contractor, owner or applicant name. Email addresses and phone numbers in work descriptions are replaced with [email removed] / [number removed]. A contractor business name can sometimes be a sole proprietor’s own trading name, as published by the city.
Each row has city, cityKey, permitNumber, permitType, workClass, description, status, appliedDate, issuedDate, completedDate, siteAddress, zip, valuation, housingUnits, contractorBusinessName, contractorTrade (Austin only), latitude, longitude, permitUrl (Seattle, Austin, Cincinnati), datasetUrl, sourceLicense, sourceLicenseUrl and sourceAttribution. San Francisco publishes no contractor name, so contractorBusinessName is null there. In Baton Rouge, a person’s name the city appends after the business name is removed. Fields a city doesn’t publish are null.
In our tests on 26 October 2026, a run across all five cities for new-construction permits issued since 1 October 2026 worth at least $100,000 returned 10 permits in 3.99 seconds (Seattle 3, Austin 3, Cincinnati 2, Baton Rouge 2, San Francisco 0). Contractor business names were returned for the Austin, Cincinnati and Baton Rouge permits. Seattle’s contractor field is often empty, and San Francisco publishes none.
Sources, licenses and attribution
| City | Dataset | License (as shown on the dataset page) | Attribution |
|---|---|---|---|
| San Francisco, CA | Building Permits (i98e-djp9) | Open Data Commons Public Domain Dedication and License | Source: DataSF. City and County of San Francisco, Department of Building Inspection (data.sf.gov). |
| Seattle, WA | Building Permits (76t5-zqzr) | Public Domain | Source: City of Seattle (data.seattle.gov). |
| Austin, TX | Issued Construction Permits (3syk-w9eu) | Public Domain U.S. Government | Source: City of Austin, Texas - data.austintexas.gov. |
| Cincinnati, OH | Cincinnati Building Permits (uhjb-xac9) | Public Domain | Source: City of Cincinnati (data.cincinnati-oh.gov). |
| Baton Rouge / East Baton Rouge Parish, LA | EBR Building Permits (7fq7-8j7r) | Public Domain | Source: City of Baton Rouge / Parish of East Baton Rouge, Permits and Inspections (data.brla.gov). |
No city seals or logos are used, and no city has endorsed this tool. Data is as published by each city and can be incomplete or late. Check the city’s record before relying on it.
Removal requests: email [email protected] with the city and permit number, and we will remove or suppress the record in this Actor’s output.
Call it from code or an agent
The Actor is lepidata/us-building-permits. Keep your Apify token in an environment variable or a credential store, and send it in the Authorization header, never in a URL.
curl -s -X POST "https://api.apify.com/v2/acts/lepidata~us-building-permits/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"cities": ["seattle", "austin"], "issuedFrom": "2026-10-01", "permitTypes": ["new"], "minValuation": 100000, "maxResults": 20}'
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run_input = {"cities": ["austin", "cincinnati"], "issuedFrom": "2026-10-01", "permitTypes": ["roof"], "maxResults": 100}
run = client.actor("lepidata/us-building-permits").call(run_input=run_input)
items = client.dataset(run["defaultDatasetId"]).list_items().items
permits = [row for row in items if row.get("type") == "permit"]
Input fields: cities (any of san-francisco, seattle, austin, cincinnati, baton-rouge; empty means all five, and each city’s unused share of maxResults passes to the next city), issuedFrom / issuedTo (YYYY-MM-DD; default the last 30 days), permitTypes (words matched against permit type and work class only), statuses (the city’s own status values; Baton Rouge publishes no status and is skipped with a free filter-unsupported row), minValuation (USD) and maxResults (up to 20,000, default 100). The Actor sends about 3 requests a second with a contact User-Agent. Apify Free-plan accounts get up to 100 results per run.
Written with AI assistance and checked by the Lepidata team.