# US Municipal Building Permits & Construction Leads Scraper (`apex-b2b-data/us-building-permits-construction-leads`) Actor

Extract newly issued commercial and residential building permits across major US municipal open-data portals (Chicago, Austin, NYC, Seattle, Los Angeles). Includes contractor names, direct phones, trades, job descriptions, valuations, and B2B contractor lead scores.

- **URL**: https://apify.com/apex-b2b-data/us-building-permits-construction-leads.md
- **Developed by:** [George Barnes](https://apify.com/apex-b2b-data) (community)
- **Categories:** Real estate, Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## US Building Permits & Construction Leads Scraper (`$1.50 / 1K`)

**Extract newly issued commercial and residential building permits across major US municipal open-data portals—complete with licensed contractor business names, direct contact names, phone numbers, trade classifications, project addresses, reported valuations, and B2B contractor lead scores.**

Unlike single-city scrapers or expensive paywalled construction networks (Dodge, ConstructConnect, Shovels.ai) charging `$300–$1,000+/month`, this Actor queries **official municipal Socrata open-data endpoints in real time** with zero API keys and zero proxy fees:

1. **City of Chicago (`ydr8-5enu`)** — Real-time Chicago Department of Buildings permits, contractor names, expeditors, architects, electrical/plumbing subcontractors, and reported project costs.
2. **City of Austin (`3syk-w9eu`)** — Austin Build + Connect permits with contractor trade classifications, business names, direct 10-digit contractor telephone numbers, and repair/remodel square footage.
3. **New York City DOB (`rbx6-tga4`)** — NYC Department of Buildings active job filings, general contractor licenses, applicant business names, borough addresses, and estimated job costs.
4. **City of Seattle (`76t5-zqzr`)** — Seattle Department of Construction & Inspections building permits, contractor company names, project descriptions, and estimated project costs.
5. **City of Los Angeles (`xnhu-aczu`)** — LADBS building permits, licensed contractor business names, applicant contacts, and project valuations.

***

### Why Choose This Actor? (Feature Comparison)

| Feature / Capability | This Actor | Shovels.ai / Dodge | Basic Single-City Scrapers | Manual City Portals |
| :--- | :--- | :--- | :--- | :--- |
| **Pricing Model** | **`$1.50 / 1K` (`$0.0015`/lead)** | `$500 – $2,500/month` | `$5.00 – $10.00 / 1K` | Free but completely manual |
| **Upfront Monthly Lock-in** | **`$0.00` (Pay-as-you-go)** | Annual contract required | Monthly subscription | N/A |
| **Supported Metros** | **Chicago, Austin, NYC, Seattle, LA** | Fragmented | Single city only | 1 portal at a time |
| **Unified Output Schema** | ✅ Standardized across all metros | Varies | ❌ Raw municipal format | ❌ Incompatible CSV dumps |
| **Direct Contractor Phone Numbers** | ✅ Normalized E.164 & CRM format | ⚠️ Extra enrichment fee | ❌ Rare | ⚠️ Buried in PDF attachments |
| **Valuation & Minimum Cost Filters** | ✅ Configurable `minCost` filter | ✅ Included | ⚠️ Inconsistent | ❌ Primitive search |
| **Contractor B2B Lead Scoring (`0–100`)**| ✅ Pre-computed lead score | ❌ No | ❌ No | ❌ No |
| **Trade & Work Classification Filters**| ✅ Electrical, Plumbing, HVAC, Demo | Limited | ⚠️ Unstructured text | ❌ Manual keyword check |
| **Proxy Costs & Maintenance** | **`$0.00` (0% proxy failure)** | Included in high fee | Residential proxy required | ❌ Captchas & IP blocks |

***

### Transparent Pricing (`$1.50` per 1,000 Leads)

You are billed **only for permit records actually extracted and returned** (`$0.0015` per record via Apify Pay-Per-Event pricing):

| Workflow | Records Extracted | Total Cost |
| :--- | :--- | :--- |
| **Quick Test Run** (sample data verification) | `20` permits | **`$0.03` (~3 cents)** |
| **Daily Single-City Lead Feed** (`limit: 100`) | `100` permits/day | **`$0.15 / day` (`~$4.50/month`)** |
| **Weekly Multi-Metro Pipeline** | `1,000` permits | **`$1.50`** |
| **Regional Subcontractor TAM Export** | `10,000` permits | **`$15.00`** |

***

### High-Intent B2B Playbooks (Copy-Paste JSON Inputs)

#### 1. Building Material Suppliers & Heavy Equipment Rental: High-Value Commercial Projects (>$50k)

Target general contractors and builders on large commercial and residential construction projects with budgets exceeding `$50,000` in Chicago:

```json
{
  "city": "Chicago",
  "limit": 50,
  "minCost": 50000,
  "tradeFilter": "ALL",
  "issuedSinceDays": 30,
  "requireContractor": true,
  "requirePhone": false
}
```

#### 2. Subcontractor Sales & Service Providers: Austin Direct-Phone Contractor Leads

Filter specifically for Austin plumbing, HVAC, and electrical permits where a verified direct 10-digit contractor phone number is available for immediate outbound cold calling:

```json
{
  "city": "Austin",
  "limit": 50,
  "minCost": 1000,
  "tradeFilter": "Plumbing",
  "issuedSinceDays": 60,
  "requireContractor": true,
  "requirePhone": true
}
```

#### 3. NYC Commercial Renovation & Tenant Improvement Leads

Capture commercial office alterations and tenant renovations filed with the NYC Department of Buildings:

```json
{
  "city": "NYC",
  "limit": 40,
  "minCost": 25000,
  "tradeFilter": "General Construction",
  "issuedSinceDays": 90,
  "requireContractor": true,
  "requirePhone": false
}
```

#### 4. Nationwide Multi-Metro Contractor TAM Discovery

Extract permits across all supported municipal open-data registries (`Chicago`, `Austin`, `NYC`, `Seattle`, `Los Angeles`) in a single run:

```json
{
  "city": "ALL",
  "limit": 25,
  "minCost": 10000,
  "tradeFilter": "ALL",
  "issuedSinceDays": 90,
  "requireContractor": false,
  "requirePhone": false
}
```

***

### Output Data Structure

Each record is enriched and normalized to the following standardized schema:

| Field | Type | Description |
| :--- | :--- | :--- |
| `permit_id` | `string` | Official municipal permit or job filing number |
| `city` | `string` | Metro jurisdiction (`Chicago`, `Austin`, `NYC`, `Seattle`, `Los Angeles`) |
| `issue_date` | `string` | ISO date of permit issuance (`YYYY-MM-DD`) |
| `permit_type` | `string` | Official permit classification (e.g. `Plumbing Permit`, `PERMIT - RENOVATION`) |
| `work_description` | `string` | Detailed scope of construction, demolition, or alteration work |
| `contractor_company_name` | `string` | Legal or DBA business name of the licensed contractor |
| `contractor_full_name` | `string` | Named applicant, qualifier, or contact officer |
| `contractor_phone` | `string` | Formatted telephone number (`(XXX) XXX-XXXX`) |
| `project_address` | `string` | Complete physical project location address |
| `estimated_cost_usd` | `number` | Total estimated project valuation or reported construction cost in USD |
| `lead_score` | `number` | Construction B2B lead score (`0–100`) based on valuation, contacts, and recency |
| `lead_segment` | `string` | Primary lead category (`COMMERCIAL_MAJOR_PROJECT`, `DIRECT_CONTRACTOR_PHONE`, etc.) |
| `extracted_at` | `string` | ISO 8601 extraction timestamp |

#### Sample Output Record

```json
{
  "permit_id": "2026-142569 PP",
  "city": "Austin",
  "issue_date": "2026-11-03",
  "permit_type": "Plumbing Permit",
  "work_description": "Generator gas line and commercial manifold installation",
  "contractor_company_name": "Apex Plumbing Services LLC",
  "contractor_full_name": "Matthew Chavez",
  "contractor_phone": "(512) 663-1145",
  "project_address": "7701 NAVARRO PL, Austin, TX 78752",
  "estimated_cost_usd": 225000.0,
  "lead_score": 95,
  "lead_segment": "DIRECT_CONTRACTOR_PHONE",
  "extracted_at": "2026-11-04T00:24:28Z"
}
```

***

### Integration & Code Examples

#### Python (Apify Client)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {
    "city": "Chicago",
    "limit": 50,
    "minCost": 10000,
    "tradeFilter": "Electrical",
    "issuedSinceDays": 30
}

run = client.actor("YOUR_USERNAME/us-building-permits-construction-leads").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"[{item['city']}] {item['contractor_company_name']} - ${item['estimated_cost_usd']:,.2f} ({item['project_address']})")
```

#### Node.js (Apify SDK)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const input = {
  city: 'Austin',
  limit: 25,
  minCost: 5000,
  requirePhone: true
};

const run = await client.actor('YOUR_USERNAME/us-building-permits-construction-leads').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();

console.log(`Retrieved ${items.length} contractor leads:`, items);
```

#### REST API (cURL)

```bash
curl -X POST "https://api.apify.com/v2/acts/YOUR_USERNAME~us-building-permits-construction-leads/runs?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "city": "Chicago",
    "limit": 20,
    "minCost": 5000
  }'
```

#### Model Context Protocol (MCP)

When integrating into Claude Desktop, Cursor, or AI agents using the Apify MCP Server:

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": ["-y", "@apify/mcp-server"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

Prompt:

> *"Query the us-building-permits-construction-leads Actor for commercial building permits in Chicago over $50k issued in the last 30 days, and list the top contractors by project valuation."*

# Actor input Schema

## `city` (type: `string`):

Select a major US metro or 'ALL' to query multiple municipal open-data registries.

## `limit` (type: `integer`):

Maximum number of permit records to extract per metro.

## `minCost` (type: `integer`):

Filter for high-value commercial and substantial residential construction projects.

## `tradeFilter` (type: `string`):

Filter by contractor trade, permit type, or work description keyword (e.g. 'Electrical', 'Plumbing', 'HVAC', 'Demolition', 'Roofing', 'General', or 'ALL').

## `issuedSinceDays` (type: `integer`):

Filter permits issued within the specified timeframe (e.g. 7, 30, 90). Set to 0 to disable date cutoff.

## `requireContractor` (type: `boolean`):

Only return permits with an identified contractor company name or applicant business.

## `requirePhone` (type: `boolean`):

Only return permits where a valid direct telephone number is on file.

## Actor input object example

```json
{
  "city": "Chicago",
  "limit": 10,
  "minCost": 1000,
  "tradeFilter": "ALL",
  "issuedSinceDays": 90,
  "requireContractor": false,
  "requirePhone": false
}
```

# Actor output Schema

## `results` (type: `string`):

Structured JSON records produced by US Municipal Building Permits & Construction Leads Scraper in the default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "city": "Chicago",
    "limit": 10,
    "tradeFilter": "ALL",
    "issuedSinceDays": 90
};

// Run the Actor and wait for it to finish
const run = await client.actor("apex-b2b-data/us-building-permits-construction-leads").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "city": "Chicago",
    "limit": 10,
    "tradeFilter": "ALL",
    "issuedSinceDays": 90,
}

# Run the Actor and wait for it to finish
run = client.actor("apex-b2b-data/us-building-permits-construction-leads").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "city": "Chicago",
  "limit": 10,
  "tradeFilter": "ALL",
  "issuedSinceDays": 90
}' |
apify call apex-b2b-data/us-building-permits-construction-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apex-b2b-data/us-building-permits-construction-leads"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/z1JmSnjY9smyjkONj/builds/YaolWJntNQh2BurTs/openapi.json
