DEV Community

Ava Torres
Ava Torres

Posted on

Automating Construction Lead Generation with Building Permit Data (47 Cities)

Construction companies, roofing contractors, and building material suppliers all want the same thing: a list of property owners who just pulled a building permit. That's a person about to spend money on construction.

Building permit data is public record, published by cities via open data portals. The problem is there are hundreds of portals, each with different APIs, schemas, and update frequencies.

I built an actor that normalizes building permit data from 47 US cities into a single schema.

How It Works

The Building Permits Search actor queries Socrata open data portals across 47 cities. You specify the city, permit type, and date range -- it returns structured permit records.

Python Example

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("pink_comic/building-permits-construction-leads").call(
    run_input={
        "city": "chicago",
        "permitType": "PERMIT - NEW CONSTRUCTION",
        "dateFrom": "2026-04-01",
        "maxResults": 100
    }
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"{item.get('address')} - {item.get('workDescription')} - ${item.get('estimatedCost', 'N/A')}")
Enter fullscreen mode Exit fullscreen mode

What Each Record Contains

  • Address of the permitted property
  • Permit type (new construction, renovation, demolition, etc.)
  • Work description detailing what's being built
  • Estimated cost of the project
  • Contractor name (when available)
  • Issue date and status
  • Owner information (varies by city)

Supported Cities (Sample)

Chicago, Los Angeles, San Francisco, Austin, Denver, Seattle, Portland, Miami, Atlanta, Dallas, Phoenix, San Jose, Sacramento, Oakland, Fort Worth, and 32 more.

Who Uses This

  • Roofing/HVAC contractors - Find homeowners doing renovations (they often need new roofs or HVAC)
  • Building material suppliers - Target active construction projects
  • Real estate investors - Track new construction activity by neighborhood
  • Insurance agents - Homes under renovation need updated policies
  • Solar installers - New construction = new roof = solar opportunity

Pricing

$0.002 per permit record. A 100-record pull costs $0.20. No subscriptions, no minimums.

Auto-Discovery

If a city isn't in the hardcoded list but publishes permits on a Socrata portal, the actor will attempt auto-discovery. Just pass the city name -- it searches the Socrata catalog automatically.

MCP Integration

{
  "mcpServers": {
    "building-permits": {
      "url": "https://mcp.apify.com/mcp?tools=pink_comic/building-permits-construction-leads"
    }
  }
}
Enter fullscreen mode Exit fullscreen mode

Ask your AI assistant: "Find all new construction permits in Austin from the last 30 days."


Built by Ava Torres. Related: US Business Entity Search (18-state corporate filings) and Florida Business Search.

Top comments (0)