DEV Community

Tarek Etman for SpecStream

Posted on Edited on

Tracking Commercial Construction and Building Permits Across US Cities With Python ($15 to $49)

A building permit is the earliest public sign that a commercial job is real. It names the address, the work and a declared valuation weeks or months before a crane goes up, and every large US city publishes its permits on an open data portal. The problem is that each portal has its own schema, its own words for the same work and its own mix of houses, decks and pools next to the hospital build out you care about.

This guide shows how to work with commercial permits across cities in Python: the fields that matter, how to keep only non residential work, and how to rank and group the jobs. It uses a free sample of 5,000 verified commercial permits from 2026.

Who reads permits, and for what

  • Subcontractors and suppliers (electrical, HVAC, glazing, elevators, roofing) look for new construction and tenant improvement jobs above a size they can bid.
  • Commercial insurance underwriters and MGAs check what is being built or altered at an insured address, and for how much.
  • Commercial real estate and facilities teams watch tenant improvements, office conversions and new shells in their submarkets.
  • Sales teams that sell to general contractors and owners use a new permit as the trigger to reach out.

All four need the same thing: a permit list that is commercial only, comparable across cities, and linked to the official record.

The fields that matter

Every row of the sample has the same 14 columns, whatever the city printed:

Column What it holds
permit_id The permit number as the city prints it
municipality, state The issuing city or village and its state code
issued_date Issue date, all in 2026
valuation_usd Declared job valuation, at least $250,000
commercial_category New commercial construction, renovations and alterations, tenant improvement, industrial and warehouse, shell and core, or other commercial work
permit_type, work_class, use_class The portal's own labels
description The project description, cut at 240 characters
street_address, zip Where the work is
status The status on the portal
source_url The record on the city's open data portal

valuation_usd is what the applicant declared, so treat it as the size of the job, not its final cost. source_url lets you open the official record for any row before you act on it.

What "commercial only" took

The source is a list of 51,355 permits of $250,000 or more. A permit stayed only if its type, work, description or use named commercial work (office, retail, industrial, warehouse, hotel, hospital, school, restaurant, store, bank, data center, tenant improvement, core and shell and similar) and none of those fields named a house, an apartment, a condominium, multifamily or public housing, or a conversion to residential use. A broader word such as business, assembly, institutional, plaza or distribution counted only when it was the portal's own permit type or use class: on its own, "plaza" let in New York public housing estates and "distribution" let in boiler piping. Rows that named an owner, an applicant or a contact were dropped, the contractor column was left out, and a script checked every cell for email addresses and phone numbers before upload and found none.

That left 9,850 permits in 68 municipalities, and the sample takes 5,000 of them, at least 8 and at most 600 per city, spread from each city's largest job down to $250,000.

Get the sample

It is open under CC BY 4.0 and the same file on every platform:

Rank and group the jobs in Python

import pandas as pd

permits = pd.read_parquet(
    "hf://datasets/SpecStreamAI/us-commercial-building-permits-verified-2026/data/us_commercial_building_permits_2026.parquet"
)
print(len(permits), f"${permits.valuation_usd.sum() / 1e9:.2f}B")  # 5000 $23.21B

# New construction of $10M or more, largest first
big_new = permits[
    (permits.commercial_category == "New commercial construction")
    & (permits.valuation_usd >= 10_000_000)
].sort_values("valuation_usd", ascending=False)
print(big_new[["issued_date", "municipality", "state", "valuation_usd", "description"]].head(10))

# Where the money is: declared valuation by city and category
pivot = permits.pivot_table(
    index=["municipality", "state"], columns="commercial_category",
    values="valuation_usd", aggfunc="sum", fill_value=0,
)
print((pivot / 1e6).round(1).sort_values("New commercial construction", ascending=False).head(15))

# Words in the permit's own text: data centers, hotels, hospitals since July
words = "data center|hotel|hospital"
text = permits[["permit_type", "work_class", "description", "use_class"]].astype(str).agg(" ".join, axis=1)
recent = permits[text.str.contains(words, case=False) & (permits.issued_date >= "2026-07-01")]
print(recent.sort_values("valuation_usd", ascending=False)[["municipality", "valuation_usd", "description"]].head())
Enter fullscreen mode Exit fullscreen mode

Two things to keep in mind. Read permit_id and zip as text so leading zeros survive. And city shares in the sample are capped, so the counts by city show the spread of jobs inside a city, not the size of one city against another.

The repository's permit_filter.py does the same from the command line with the standard library only:

python permit_filter.py --state TX FL --min-value 5000000 --by-city
python permit_filter.py --category "tenant improvement" --city seattle "san francisco" --out ti_west.csv
Enter fullscreen mode Exit fullscreen mode

What the 5,000 show

The permits carry $23.21B of declared valuation. The median is $700,000, 1,971 are $1M or more and 288 are $10M or more. The largest include the $1.97B rebuild of Terminal 5 at LAX, a $874M 19 story hospital build out in Detroit, the $812M Austin Convention Center and a $580M casino, event center and hotel tower in Chicago. Data centers show up both as new builds and as office floors converted, such as a $151M seven story office conversion in Chicago and a $130M data center expansion in Minneapolis.

From the sample to your city, every morning

The sample is a fixed cut. The live data sits on SpecStream:

  • Building permits: 3,486,247 permits from 74 city, county and state portals since December 2024, about 120,000 new ones a month, read every morning. Its lists run by place, work and period, and 20,873 of its 21,305 lists cost $15 to $49 as a CSV or Excel file, paid by card with no account.
  • Commercial permits: the 51,355 permits of $250,000 or more, by city, state, work type and valuation.
  • Commercial insurance underwriting data: permits beside OSHA inspections, FMCSA carriers and business licenses, for P&C underwriters and MGAs.

The same lists come through the API. GET https://api.specstream.ai/v1/data/lists?page=/data/commercial-permits returns the list's row count and price, and GET /v1/data/lists/rows returns its rows with an API key. New accounts start with $2 of credit and no card.

When a permit raises a question the portal does not answer (who owns the company behind an address, which general contractor won a job, whether a tenant has signed), the Search API reads the live web and returns each answer with its source. Search packs start at 80,000 fast searches for $49, paid once.

Top comments (0)