# US Building Permits Scraper: 201 Cities & Contractor Leads (`data-goose/us-building-permits-scraper`) Actor

Fast 128MB pure-HTTP scraper extracting live US municipal building permits across 201 cities and counties (NYC DOB NOW, LA LADBS, Chicago, Seattle, Austin, Denver, Miami-Dade). Returns permit numbers, valuations, addresses, contractors, approval days, parcels, and portal links.

- **URL**: https://apify.com/data-goose/us-building-permits-scraper.md
- **Developed by:** [Data Goose](https://apify.com/data-goose) (community)
- **Categories:** Lead generation, Real estate, Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 building permit records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/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 Scraper: 201 Cities, Valuations & Contractor Leads

Scrape live, normalized **US municipal building permits** across **201 cities and counties** into clean JSON/CSV without proxies or headless browsers, including **permit numbers**, **permit types**, **work descriptions**, **project valuations (`estimated_cost`)**, **street addresses**, **contractor business names**, **contractor licenses**, **parcel APNs**, **approval cycle days (`approval_days`)**, and official city portal URLs.

Powered by live multi-chassis municipal adapters at [MuniMCP](https://munimcp.com) in **128 MB** pure HTTP.

***

### Works Out of the Box + Scales Nationwide

| Feature | Without API Key (Default Preview) | With `munimcpApiKey` or x402 |
|---|---|---|
| **Covered Jurisdictions** | **201 US cities & counties** | **201 US cities & counties** |
| **Rows Per City** | Up to **3 live permits/city** (10 free calls/day/IP) | Up to **50 rows/page** + auto-pagination |
| **Statewide Multi-City Fan-Out** | Top 3 healthy portals per state | Full `search_permits_by_state` fan-out |
| **Jurisdiction Directory (`list_jurisdictions`)** | **$0 / free** (`permit-record` not charged) | **$0 / free** (`permit-record` not charged) |
| **Normalized Fields** | **22 consistent fields** across Socrata, EnerGov, ArcGIS, Accela, CKAN | **22 consistent fields** |

***

### Covered Cities Include (201 US Jurisdictions)

- **Major Metros:** New York City (`nyc_dob_now`), Los Angeles (`la_ladbs`), Chicago (`chicago_buildings`), Phoenix (`phoenix_az`), Philadelphia (`philadelphia_pa`), Austin (`austin_permits`), Dallas (`dallas_tx`), Seattle (`seattle_sdci`), San Francisco (`sf_dbi`), Denver (`denver_co`), Boston (`boston_ma`), Miami-Dade (`miami_dade_county_fl`), Atlanta (`atlanta_ga`), Washington DC (`washington_dc`), Detroit (`detroit_mi`), Nashville (`nashville_tn`), San Diego (`san_diego_ca`), Charlotte (`charlotte_nc`), Portland (`portland_or`), Minneapolis (`minneapolis_mn`), and **180+ more cities & counties**.
- Run with `"mode": "list_jurisdictions"` (`hasValuationOnly: true` or `stateCode: "CA"`) to export the complete directory of live healthy portals at **$0 event cost**.

***

### Example Input & Output

#### Input JSON (Zero-Config 4-Metro Preview or Filtered Contractor Search)

```json
{
  "mode": "search",
  "cities": ["Austin, TX", "Seattle, WA", "Chicago, IL", "Denver, CO"],
  "query": "solar",
  "limitPerCity": 3
}
```

#### Sample Output Record

```json
{
  "jurisdiction_id": "austin_permits",
  "city": "Austin",
  "state": "TX",
  "chassis": "socrata",
  "permit_number": "2026-155500 BP",
  "permit_type": "Building Permit",
  "status": "Active",
  "work_description": "Re-roof and Chimney Cricket Install on Existing Commercial Building",
  "address": "7685 NORTHCROSS DR BLDG 2",
  "zip_code": "78757",
  "applied_date": "2026-12-01",
  "issued_date": "2026-12-02",
  "approval_days": 1,
  "estimated_cost": 85000,
  "parcel_id": "0239040401",
  "latitude": 30.354218,
  "longitude": -97.735698,
  "contractor_business_name": "Kanga Roof LLC",
  "source_url": "https://abc.austintexas.gov/web/permit/public-search-other"
}
```

#### Export All Valuated California Permit Portals (`$0` Event Fee)

```json
{
  "mode": "list_jurisdictions",
  "stateCode": "CA",
  "hasValuationOnly": true
}
```

***

### Quick Python Integration (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<APIFY_TOKEN>")
run = client.actor("data-goose/us-building-permits-scraper").call(
    run_input={
        "mode": "search",
        "cities": ["Austin, TX", "Seattle, WA", "Chicago, IL", "Denver, CO"],
        "limitPerCity": 3,
    }
)
permits = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(len(permits), permits[0]["permit_number"], permits[0]["contractor_business_name"])
```

***

### Use Cases

- **Roofing, Solar, HVAC & Pool Lead Generation:** Capture fresh residential and commercial trade permits with site addresses and contractor business names (`contractor_business_name`).
- **Commercial Real Estate & Construction Underwriting:** Track municipal approval bottlenecks (`approval_days`), high-dollar tenant improvements (`estimated_cost`), and parcel-level construction (`parcel_id`).
- **Material Suppliers & Contractor Sales:** Spot active general contractors scaling across Austin, Seattle, NYC, LA, Chicago, and 195+ US metros.

***

### Pricing (Pay-Per-Event)

- `permit-record`: **$0.004** per returned building permit record in `search` mode (`$4.00 / 1k`).
- `list_jurisdictions` mode: **$0.00** per jurisdiction row (`apify-actor-start` only).
- `apify-actor-start`: **$0.005** one-time Actor startup event.

To unlock paginated **50 rows/page** extractions and full statewide `search_permits_by_state` scans beyond the free preview limit, supply a `munimcpApiKey` (`pmcp_live_...` from [munimcp.com](https://munimcp.com)) or `x402PaymentSignature`.

***

### More B2B Data Actors by data-goose

| Actor | Use Case | Mode |
|---|---|---|
| [SEC EDGAR Funding & Insider](https://apify.com/data-goose/sec-edgar-funding-insider-mcp) | Newly funded US startups (Form D) & insider buys | Batch PPE + REST + MCP |
| [SAM.gov Contracts & Grants](https://apify.com/data-goose/us-sam-gov-contracts-grants-mcp) | Federal RFPs, USAspending awards & Grants.gov | Batch PPE + REST + MCP |
| [Substack Markdown RAG](https://apify.com/data-goose/substack-markdown-rag-mcp) | Substack posts, Markdown & newsletter search | Batch PPE + REST + MCP |
| [Polymarket & Kalshi Odds](https://apify.com/data-goose/prediction-markets-odds-mcp) | Live prediction market odds & arbitrage spreads | Batch PPE + REST + MCP |

# Actor input Schema

## `mode` (type: `string`):

Use 'search' to extract normalized building permits by city or state, or 'list_jurisdictions' to inspect all 201 covered municipal portals and health status ($0).

## `cities` (type: `array`):

List of 'City, ST' targets (e.g. 'Austin, TX', 'Seattle, WA') or exact jurisdiction IDs (e.g. 'nyc_dob_now', 'la_ladbs', 'chicago_buildings'). Works immediately with zero API key for up to 3 preview rows per city (10 free calls/day/IP).

## `stateCode` (type: `string`):

Optional 2-letter US state or DC code (e.g. TX, CA, WA, FL). With a MuniMCP API key, runs multi-city statewide fan-out via search_permits_by_state; in list_jurisdictions mode, filters covered cities in that state.

## `query` (type: `string`):

Optional search keyword, street address, or permit number (e.g. 'solar', 'roof', 'ADU', 'tenant improvement').

## `permitType` (type: `string`):

Optional filter matching permit type or work description (e.g. 'Building', 'Electrical', 'Solar', 'Mechanical').

## `contractor` (type: `string`):

Optional contractor business name substring filter.

## `issuedAfter` (type: `string`):

Only include permits issued on or after this date (YYYY-MM-DD).

## `issuedBefore` (type: `string`):

Only include permits issued on or before this date (YYYY-MM-DD).

## `minEstimatedCost` (type: `number`):

Filter for permits with reported valuation >= this dollar amount (where jurisdiction reports valuation).

## `hasValuationOnly` (type: `boolean`):

When mode is list_jurisdictions, return only portals exposing estimated_cost valuations.

## `limitPerCity` (type: `integer`):

Preview mode without an API key returns up to 3 permits per city call. Supply munimcpApiKey to unlock up to 50 rows/page and automatic pagination.

## `munimcpApiKey` (type: `string`):

Optional Bearer API key (pmcp_live\_...) from https://munimcp.com for paginated 50-row extraction and statewide multi-city fan-out. Leave empty for free 3-row/city live previews.

## `x402PaymentSignature` (type: `string`):

Optional Base64 x402 USDC payment signature on Base (eip155:8453) if paying per request instead of using an API key.

## Actor input object example

```json
{
  "mode": "search",
  "cities": [
    "Austin, TX",
    "Seattle, WA",
    "Chicago, IL",
    "Denver, CO"
  ],
  "hasValuationOnly": false,
  "limitPerCity": 3
}
```

# Actor output Schema

## `permits` (type: `string`):

Normalized municipal building permits or covered jurisdiction records.

## `runSummary` (type: `string`):

Per-run diagnostics including targets queried, permits extracted, preview/auth status, and errors.

# 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 = {
    "mode": "search",
    "cities": [
        "Austin, TX",
        "Seattle, WA",
        "Chicago, IL",
        "Denver, CO"
    ],
    "limitPerCity": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("data-goose/us-building-permits-scraper").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 = {
    "mode": "search",
    "cities": [
        "Austin, TX",
        "Seattle, WA",
        "Chicago, IL",
        "Denver, CO",
    ],
    "limitPerCity": 3,
}

# Run the Actor and wait for it to finish
run = client.actor("data-goose/us-building-permits-scraper").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 '{
  "mode": "search",
  "cities": [
    "Austin, TX",
    "Seattle, WA",
    "Chicago, IL",
    "Denver, CO"
  ],
  "limitPerCity": 3
}' |
apify call data-goose/us-building-permits-scraper --silent --output-dataset

```

## MCP server setup

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

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/yRmYk6IzCDRNn8HLd/builds/A8mA4vUo69DvPcmcS/openapi.json
