# Building Permits Scraper: Contractor, Solar & Roofing Leads (`steadyscrape/building-permits-scraper`) Actor

US building permits from city and county open-data portals (Chicago, NYC, Los Angeles, Austin, Seattle and 13 more): address, valuation, contractor name, phone and licence, owner. Construction leads by trade (solar, roofing, HVAC, pool), date and value. Export to JSON, CSV or Excel, or via API.

- **URL**: https://apify.com/steadyscrape/building-permits-scraper.md
- **Developed by:** [Steady Scrape](https://apify.com/steadyscrape) (community)
- **Categories:** Lead generation, Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 permit delivereds

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/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

## Building Permits Scraper: contractor, solar, roofing and HVAC leads

**Building Permits Scraper** collects **US building permits** from the open-data portals of 18 cities and counties, newest first: **Chicago, New York City, Los Angeles, San Francisco, Seattle, Austin, Dallas, Orlando, Mesa, Cincinnati, Baton Rouge, New Orleans, Montgomery County (MD), Marin County, Norfolk, San Diego County, Cambridge (MA)** and **Calgary** (Canada). Each permit comes as one clean row with the same columns everywhere: permit number, type, issue date, address, coordinates, job valuation, work description, **contractor company, person, phone, email and licence** (where the city publishes them), owner and applicant. Filter by **trade (solar, roofing, HVAC, electrical, plumbing, pool, new construction, demolition, remodel)**, issue date, minimum valuation, residential or commercial, or a keyword. Export to JSON, CSV or Excel, or use it via API.

The data comes from each city's own Socrata open-data API (data.cityofchicago.org, data.cityofnewyork.us, data.lacity.org…). No login, no key, no proxy, no browser. Every row names the portal, the dataset and the licence it was published under. This Actor is an independent tool. It is not affiliated with or endorsed by any of these cities or counties.

### What can this building permits scraper do?

- **Solar installer leads**: who just got a solar permit, at which address, installed by whom (Austin, Orlando, San Diego County, New Orleans, Chicago and Cambridge name the installer; San Francisco and Los Angeles list solar permits without one).
- **Roofing and HVAC leads**: re-roofs, furnaces, heat pumps and AC units permitted this week, with the contractor's phone in Austin, Mesa, Orlando and San Diego County.
- **Contractor intelligence**: which contractors pull the most permits in a city, of what value, for which trades. Sell to them, recruit them, or watch competitors.
- **Real estate and construction signals**: new homes, additions and demolitions by address and valuation, for investors, suppliers, lenders and insurers.
- **Market research**: permit volume and value by trade, city and month.

### How to get building permits

1. Pick the **cities and counties**.
2. Choose a window: **issued in the last N days** (7 by default in the form), or set exact dates.
3. Optionally narrow it down: **trades**, **keyword**, **minimum valuation**, **residential or commercial**, **only permits that name a contractor**.
4. Run it. Each city's newest permits come first.

Trades are read in the permit's type **and** in its work description, so a re-roof filed as a plain building permit is still found as roofing. Each row lists every trade it was tagged with in `tradeTags`. A long description can carry several (a new home's description often names its plumbing, electrical and mechanical work).

### Input

```json
{
    "jurisdictions": ["austin", "chicago", "mesa"],
    "issuedWithinDays": 14,
    "trades": ["roofing", "hvac"],
    "propertyUse": "residential",
    "minValuation": 5000,
    "onlyWithContractor": true,
    "maxResultsPerJurisdiction": 200
}
```

| field | what it does |
|---|---|
| `jurisdictions` | The cities and counties to read (keys such as `chicago`, `new-york-city`, `los-angeles`, `montgomery-county-md`, `calgary`). |
| `issuedWithinDays` | Permits issued from this many days ago up to today (default 30). |
| `issuedFrom`, `issuedTo` | Exact first and last issue days, `YYYY-MM-DD`. They replace the window above. |
| `trades` | Only these trades: `solar`, `roofing`, `hvac`, `electrical`, `plumbing`, `pool`, `new_construction`, `demolition`, `addition_remodel`. |
| `keyword` | Only permits whose description, type or any name (owner, contractor, applicant) contains this text: `tesla`, `generac`, `ADU`. |
| `minValuation` | Only permits whose declared job value is at least this much. |
| `propertyUse` | `any`, `residential` or `commercial`. |
| `onlyWithContractor` | Leave out permits that name no contractor. |
| `maxResultsPerJurisdiction`, `maxResults` | Stop a city, or the whole run, after this many permits (0 for no limit). |
| `includeRawRecord` | Add every column the portal publishes, as published, in `raw`. |

### Output example

One permit of Mesa, AZ (the `raw` record left out):

```json
{
    "rowType": "permit",
    "jurisdiction": "mesa",
    "jurisdictionName": "Mesa, AZ",
    "permitNumber": "PMT26-13237",
    "permitType": "Residential Permit",
    "permitSubtype": "Single Family (Attached)",
    "tradeTags": ["hvac", "electrical", "plumbing", "pool", "new_construction", "demolition"],
    "propertyUse": "residential",
    "permitStatus": "Issued",
    "appliedDate": "2026-07-20",
    "issuedDate": "2026-11-10",
    "address": "5861 E MONTARA PL",
    "city": "Mesa",
    "latitude": 33.460367,
    "longitude": -111.70358,
    "description": "New single-story custom home with 3063 SF livable and 1335 SF non-livable…",
    "valuation": 656269.56,
    "currency": "USD",
    "squareFeet": 4398,
    "contractorBusiness": "Kirch Construction, Inc.",
    "contractorLicense": "159499",
    "contractorPhone": "(480) 962-4483",
    "contractorEmail": "tkcon123@yahoo.com",
    "contractorAddress": "1872 E. Third St, Tempe, AZ, 85215",
    "applicantName": "THOMAS AND JULIA KIRCH FAMILY REVOCABLE TRUST",
    "recordApiUrl": "https://citydata.mesaaz.gov/resource/dzpk-hxfb.json?permit_number=PMT26-13237",
    "datasetUrl": "https://citydata.mesaaz.gov/d/dzpk-hxfb",
    "license": "City of Mesa open data terms of use",
    "attribution": "City of Mesa Development Services"
}
```

### Output fields

| field | meaning |
|---|---|
| `rowType`, `status` | `permit` and `ok` for a permit; a free status row is described below the table. |
| `jurisdiction`, `jurisdictionName`, `state`, `country` | The city or county key (as in the input), its name, its state or province, and `US` or `CA`. |
| `permitNumber`, `permitType`, `permitSubtype`, `workClass`, `permitStatus` | The permit as the city names it. |
| `tradeTags` | The trades read in its type and description. |
| `propertyUse` | `residential`, `commercial`, or `null` when the city gives no class. |
| `appliedDate`, `issuedDate`, `finaledDate` | `YYYY-MM-DD`. |
| `address`, `city`, `zipCode`, `latitude`, `longitude` | Where the work is. |
| `description`, `valuation`, `currency`, `squareFeet`, `housingUnits` | The work, its declared value (USD, CAD for Calgary), area and units added. |
| `contractorBusiness`, `contractorName`, `contractorLicense`, `contractorPhone`, `contractorEmail`, `contractorAddress` | The contractor, as far as the city publishes it. |
| `ownerName`, `ownerAddress`, `applicantName`, `applicantBusiness`, `applicantPhone` | The owner and the applicant. |
| `contacts` | Every contact the city lists, with its role (Chicago lists up to 15 per permit: owner, architect, each trade's contractor). |
| `permitPageUrl` | The city's own page for the permit (Austin, Seattle, Cincinnati and others). |
| `recordApiUrl`, `datasetName`, `datasetUrl`, `license`, `attribution` | Where the row came from and under which licence. |
| `raw` | The original record, when `includeRawRecord` is on. |
| `scrapedAt` | When the row was read (UTC). |

A city or county with nothing to deliver gets one **free status row** (`rowType: "status"`) with the reason: `no_results` (no permit for the filters), `source_unavailable` (the portal did not answer), `source_changed` (the portal changed its format), `filter_unsupported` (a dataset cannot answer a filter), `scan_limit` (the scan maximum was spent before a permit passed the filters), `spending_limit` (your maximum cost per run paid for no permit). Each names the city or county in `query` and explains itself in `reason`. Those rows are never charged.

### What each portal publishes

| city or county | contractor | valuation |
|---|---|---|
| Chicago, IL | company, city, state, ZIP, and every typed contact | yes |
| New York City, NY | company, person, licence, address | yes |
| Los Angeles, CA | none | building permits only (electrical and mechanical have none) |
| San Francisco, CA | none | yes |
| Seattle, WA | company, rarely | yes |
| Austin, TX | company, person, phone, address | building permits (trade permits rarely declare one) |
| Dallas, TX | none since its new permit system (late 2026) | rarely |
| Orlando, FL | company, qualifier, licence class, phone, address | yes |
| Mesa, AZ | company, licence, phone, email, address | yes |
| Cincinnati, OH | company | yes |
| Baton Rouge, LA | company, address | yes |
| New Orleans, LA | company | yes |
| Montgomery County, MD | none | yes |
| Marin County, CA | company | yes |
| Norfolk, VA | none | yes |
| San Diego County, CA | company, phone, address | building permits |
| Cambridge, MA | company, licence | yes |
| Calgary, AB | builder | yes (CAD) |

### How much does it cost?

**US$0.002 per permit** delivered (US$2 per 1,000 permits). Free status rows are never charged, and there is no start fee. Set a maximum cost per run in Apify and the run stops at exactly the permits it pays for.

### Limits

- Data is as fresh as each city publishes it: most portals update daily. **Montgomery County publishes its permits about two weeks late.**
- New York City publishes no residential or commercial class, so with **Property use** set its permits are left out (a free row says how many).
- Coverage is the 18 jurisdictions listed. Other cities publish permits in other formats and are not read yet; open an issue to ask for one.
- The trade, keyword and valuation filters are asked of the portal and checked again on every permit, so every row matches what you asked.
- A portal that is down is retried with growing waits; if it still does not answer, the run goes on with the others and a free row says so.

### Is it legal to scrape building permits?

Building permits are public records, and every portal read here publishes them as open data for reuse, under the licence named in each row (public domain, PDDL, ODbL, or the city's open-data terms). Some permits name people (owners, applicants, contractors). If you use them for marketing, follow the rules that apply to you: CAN-SPAM, the TCPA and Do Not Call lists for phone outreach, and state privacy laws. Read each portal's terms before republishing the data, and credit the city where its licence asks for attribution (`attribution` in each row).

### Related Actors

- [Google Maps No-Website Leads](https://apify.com/steadyscrape/google-maps-no-website-leads): local businesses without a website.
- [Google Maps Email Extractor](https://apify.com/steadyscrape/google-maps-email-extractor): emails of local businesses.
- [Zillow Scraper](https://apify.com/steadyscrape/zillow-scraper): property listings and prices.

# Actor input Schema

## `jurisdictions` (type: `array`):

The portals to read, each one's newest permits first. Every permit row names its portal, dataset and licence. Read today: Chicago, IL, New York City, NY, Los Angeles, CA, San Francisco, CA, Seattle, WA, Austin, TX, Dallas, TX, Orlando, FL, Mesa, AZ, Cincinnati, OH, Baton Rouge, LA (East Baton Rouge Parish), New Orleans, LA, Montgomery County, MD, Marin County, CA, Norfolk, VA, San Diego County (unincorporated), CA, Cambridge, MA, Calgary, AB (Canada). Montgomery County publishes its permits about two weeks late.

## `issuedWithinDays` (type: `integer`):

Permits issued from this many days ago up to today. Ignored when the dates below are set.

## `issuedFrom` (type: `string`):

The first issue day, YYYY-MM-DD. Leave empty to count back from the last day.

## `issuedTo` (type: `string`):

The last issue day, YYYY-MM-DD. Leave empty for today.

## `trades` (type: `array`):

Only permits for these trades, read in the permit's type and in its work description (a re-roof filed as a building permit is still roofing). Leave empty for every permit. Each row carries the trades it was tagged with in <code>tradeTags</code>.

## `keyword` (type: `string`):

Only permits whose description, type or any name (owner, contractor, applicant) contains this text, case aside: <code>tesla</code>, <code>generac</code>, <code>ADU</code>.

## `minValuation` (type: `integer`):

Only permits whose declared job value is at least this much (US dollars; Calgary's are Canadian dollars). Datasets that publish no value (Los Angeles' electrical and mechanical permits) are then not read, and a free row says so. 0 for any value.

## `propertyUse` (type: `string`):

Residential or commercial, read in the portal's class, use or occupancy codes and the description. A permit the portal gives no class is left out when this is set (New York City publishes none).

## `onlyWithContractor` (type: `boolean`):

Leave out permits without a contractor company or person. Los Angeles, San Francisco, Dallas, Montgomery County and Norfolk publish no contractor, so this leaves them empty.

## `maxResultsPerJurisdiction` (type: `integer`):

Stop reading a city or county after this many permits. 0 for no limit.

## `maxResults` (type: `integer`):

Stop the run after this many permits across every city and county. 0 for no limit.

## `maxScannedPerJurisdiction` (type: `integer`):

Filters the portal cannot apply (property use, contractor) are checked on each permit read; this caps how many a city or county is read for them. 0 for no limit.

## `includeRawRecord` (type: `boolean`):

Add every column the portal publishes, as it publishes it, in <code>raw</code> (inspection dates, parcel numbers, fees…). Off keeps spreadsheet exports to the normalized columns.

## Actor input object example

```json
{
  "jurisdictions": [
    "austin",
    "chicago"
  ],
  "issuedWithinDays": 7,
  "trades": [],
  "keyword": "",
  "minValuation": 0,
  "propertyUse": "any",
  "onlyWithContractor": false,
  "maxResultsPerJurisdiction": 5,
  "maxResults": 1000,
  "maxScannedPerJurisdiction": 20000,
  "includeRawRecord": false
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

# 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 = {
    "jurisdictions": [
        "austin",
        "chicago"
    ],
    "issuedWithinDays": 7,
    "maxResultsPerJurisdiction": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadyscrape/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 = {
    "jurisdictions": [
        "austin",
        "chicago",
    ],
    "issuedWithinDays": 7,
    "maxResultsPerJurisdiction": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("steadyscrape/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 '{
  "jurisdictions": [
    "austin",
    "chicago"
  ],
  "issuedWithinDays": 7,
  "maxResultsPerJurisdiction": 5
}' |
apify call steadyscrape/building-permits-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadyscrape/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/Z003D76IawaUcitlG/builds/8Lcy2eYzpANjgN7uy/openapi.json
