The problem: permit data is useful, but not sales-ready
Commercial building permits are often a better early signal than a completed project. A permit can tell you that a tenant improvement, office buildout, or retail renovation is moving forward before the work is finished—and before every subcontractor has been contacted.
The difficult part is turning municipal records into a usable prospecting list. Raw permit portals are inconsistent, addresses need cleanup, and a contractor usually cares about a specific trade rather than every project in a city.
This tutorial shows a simple workflow: export commercial permit leads, filter them with Python, score the opportunities, and create a focused follow-up list.
SubPermits is useful for this workflow because it tracks private commercial construction and tenant improvement permits valued over $150,000 across 10 major US cities. It classifies projects into 12 service verticals and includes estimated trade contract values, enriched general contractor and owner contacts, and CSV exports.
1. Start with a clear targeting rule
Before opening a spreadsheet, define what a good lead means for your business. For example, a commercial cleaning company might target:
- Permits issued in the last 45 days
- Estimated project value above $300,000
- A post-construction cleaning classification
- A known general contractor contact
The same logic works for signage, low-voltage, roofing, HVAC, fire protection, flooring, and other commercial services.
A practical CSV export might contain fields like these:
permit_id,issued_date,city,project_address,trade,project_value,estimated_trade_value,general_contractor,gc_email,owner
The exact column names can vary between exports. The important fields are recency, location, trade, project value, and contact information.
2. Filter and score the export with Python
The following script uses only Python's standard library. Save it as rank_permits.py, change permits.csv to your exported file, and run it with python rank_permits.py.
import csv
from datetime import date, timedelta
INPUT = "permits.csv"
OUTPUT = "priority_leads.csv"
TARGET_TRADES = {
"post-construction cleaning",
"commercial signage",
"security and low-voltage",
}
cutoff = date.today() - timedelta(days=45)
leads = []
with open(INPUT, newline="", encoding="utf-8-sig") as file:
for row in csv.DictReader(file):
try:
issued = date.fromisoformat(row["issued_date"])
project_value = float(row["project_value"])
trade_value = float(row["estimated_trade_value"] or 0)
except (KeyError, ValueError):
continue
trade = row["trade"].strip().lower()
if issued < cutoff or trade not in TARGET_TRADES:
continue
score = 0
score += 40 if project_value >= 500_000 else 25
score += 30 if trade_value >= 25_000 else 15
score += 20 if row.get("gc_email", "").strip() else 0
score += 10 if row.get("general_contractor", "").strip() else 0
row["priority_score"] = str(score)
leads.append(row)
leads.sort(key=lambda row: int(row["priority_score"]), reverse=True)
fields = list(leads[0].keys()) if leads else []
with open(OUTPUT, "w", newline="", encoding="utf-8") as file:
writer = csv.DictWriter(file, fieldnames=fields)
if fields:
writer.writeheader()
writer.writerows(leads)
print(f"Wrote {len(leads)} leads to {OUTPUT}")
This gives you a repeatable first pass instead of manually sorting every row. The scoring model is intentionally simple: project size, trade opportunity, and contact completeness all contribute to priority.
3. Group leads by account and city
One general contractor may appear on several permits. That is usually more valuable than treating every permit as an unrelated opportunity. You can group the output before starting outreach:
import csv
from collections import defaultdict
accounts = defaultdict(list)
with open("priority_leads.csv", newline="", encoding="utf-8") as file:
for row in csv.DictReader(file):
key = (
row["general_contractor"].strip().lower(),
row["city"].strip().lower(),
)
accounts[key].append(row)
for (contractor, city), projects in sorted(
accounts.items(), key=lambda item: len(item[1]), reverse=True
):
print(f"{contractor} | {city} | {len(projects)} projects")
A contractor with five relevant projects in the same city may deserve a tailored account-level message. Mention the types of work they are already filing rather than sending five generic emails.
4. Keep outreach specific and useful
Permit data should start a conversation, not become a spam database. Verify the project details, avoid claiming that a contract has been awarded, and give the recipient an easy next step.
For example:
I noticed your team is listed on a recent commercial buildout in Austin involving approximately $X in work. We handle post-construction cleaning for projects of this size and can provide a site-ready estimate. Is there a preferred contact for subcontractor bids?
This is more credible than saying you “found them online” and avoids assuming that the recipient controls the purchasing decision.
SubPermits costs $149 per month with no annual lock-in and no per-lead fees, which makes it accessible for a small sales team testing a new market. It covers Austin, Chicago, New York, San Jose, San Francisco, Seattle, Boston, Raleigh, San Antonio, and New Orleans—not public RFP tenders. You can also use the free commercial estimators at subpermits.com/tools when building quoting or market-sizing workflows.
A repeatable weekly process
A lightweight operating rhythm is enough:
- Export new permits once or twice per week.
- Filter by trade, city, value, and permit date.
- Score and deduplicate the leads.
- Group by general contractor or owner.
- Verify the project before contacting anyone.
- Record the outcome in your CRM or a shared spreadsheet.
The value is not in collecting the largest list. It is in turning a narrow set of current commercial permits into relevant conversations for one trade, one market, and one sales team.
Top comments (0)