# Building Permit Leads (Roofing, Solar, HVAC) (`waynesville_data/us-building-permit-leads`) Actor

Building permit leads from 8 official US city open-data portals. Filter roofing, solar, HVAC and electrical jobs by keyword and value. Address, valuation, and contractor name where the city publishes them.

- **URL**: https://apify.com/waynesville_data/us-building-permit-leads.md
- **Developed by:** [Waynesville Data](https://apify.com/waynesville_data) (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

from $10.00 / 1,000 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.
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

## Building Permit Leads (Roofing, Solar, HVAC)

Get **building permit leads** from **8 US city** official open-data portals, in one clean spreadsheet or JSON file. Filter by trade keyword (**roofing**, **solar**, HVAC, pool, ADU, electrical, generator), minimum project value, and issue date. Each record includes address, declared valuation, status, coordinates, and, where the city publishes it, the **contractor name, trade, and license number**.

**This Actor covers only these 8 cities:** Chicago, IL · Seattle, WA · Los Angeles, CA · Austin, TX · Cincinnati, OH · New Orleans, LA · Baton Rouge, LA · Mesa, AZ

It is not a nationwide permit feed. A city that is not on this list will not return results.

### Who uses it

- **Roofing, solar, HVAC and electrical contractors** watching for newly issued permits in a city they already serve
- **Suppliers and distributors** tracking which contractors are pulling permits, and where
- **Market researchers and AI agents** that need structured, current construction activity

A permit often already lists a contractor, so this is not a guarantee of an open job to bid. It is a current, official record of what was just permitted.

### What it returns

One row per matching permit, with a consistent schema across cities:

| Field | What's in it |
|---|---|
| `source`, `city`, `state`, `zip` | City portal and location |
| `permit_number`, `permit_type`, `status`, `issue_date` | Official permit details |
| `description`, `address`, `valuation_usd` | Work description, site address, and declared value |
| `contractor_name`, `contractor_trade`, `contractor_license` | Contractor fields, only if that city publishes them |
| `latitude`, `longitude`, `source_dataset` | Coordinates when published, plus a link back to the official dataset |

### Sample output

From official city open data (illustrative rows; values are as each city published them):

| Issued | City | Type / work | Address | Value | Contractor |
|---|---|---|---|---|---|
| 2026-11-13 | Chicago, IL | Solar panels and storage on roof | 4514 N Merrimac Ave | $32,360 | SUNRUN INSTALLATION SERVICES |
| 2026-11-09 | Seattle, WA | Standard re-roof | 6011 5th Ave NW, 98107 | $12,000 | Landmark Roofing and Siding |
| 2026-11-09 | New Orleans, LA | Residential re-roofing (FORTIFIED) | 911 S Telemachus St, 70125 | $13,367 | Olympian Roof, LLC |
| 2026-11-13 | Cincinnati, OH | HVAC | 6351 Cambridge Av, 45230 | $20,000 | WILLIS ONE HOUR HEATING & AIR |
| 2026-10-26 | Mesa, AZ | Electrical — Tesla Solar Roof | 8315 E Sienna Cir | $80,000 | Jose Rodriguez (applicant; may be a contractor or a homeowner) |
| 2026-11-13 | Los Angeles, CA | Swimming-pool / spa remodel | 13040 W Evanston St, 90049 | $45,000 | *Not published in this city's dataset* |

After a run, download the dataset as **CSV, Excel, or JSON** from the Apify run page.

### Input example

Roofing and solar permits from the last 14 days in Chicago and Seattle, $5,000 and up, capped for a cheap preview:

```json
{
  "cities": ["chicago_il", "seattle_wa"],
  "daysBack": 14,
  "keywords": ["solar", "roof"],
  "minValuation": 5000,
  "maxResultsPerCity": 25
}
```

City IDs you can pass in `cities`: `chicago_il`, `seattle_wa`, `los_angeles_ca`, `austin_tx`, `cincinnati_oh`, `new_orleans_la`, `baton_rouge_la`, `mesa_az`. Leave `cities` empty to query all eight.

Other useful inputs:

- `issuedSince`: `"2026-11-01"` (YYYY-MM-DD; overrides `daysBack`)
- `onlyWithContractor`: `true` to drop rows with no contractor or applicant name (see honesty notes)
- `maxResultsPerCity`: start with `10`–`25` to preview, because every returned row is billed

### Pricing

Pay per permit record returned (see the Pricing tab). As published, the price starts at about **$10–$30 per 1,000 records**, depending on the buyer's Apify plan. There is no charge when nothing matches.

**Cost tip:** start with a small `maxResultsPerCity` (for example 10–25) to preview the data. Apify stops a run when your maximum cost per run is reached, and the run's status message says so.

### Use with AI agents

This Actor works as a tool through [Apify's MCP server](https://docs.apify.com/platform/integrations/mcp). It returns a list of issued building permits — not a ranked lead score, and not contact-consent data.

Example prompts:

- "Find solar permits over $10,000 issued in Seattle this week and list the contractors."
- "Get roofing permit leads in Chicago and New Orleans from the last 14 days, minimum value $5,000, and give me a spreadsheet."

Example tool input for that second prompt:

```json
{
  "cities": ["chicago_il", "new_orleans_la"],
  "daysBack": 14,
  "keywords": ["roof"],
  "minValuation": 5000,
  "maxResultsPerCity": 50
}
```

### Data source and honesty notes

- Data comes **only from official city open-data APIs** (Socrata). No scraping of private sites, and no logins.
- Cities update on their own schedules (most daily). Austin's feed sometimes lags several weeks.
- Fields vary by city: **Los Angeles and Austin do not publish contractor names** in these datasets. Mesa lists the contractor company and license number when one is on the permit (about half of recent permits); otherwise it shows the *applicant*, who may be a contractor or a homeowner. Seattle lists a contractor on only a small share of permits (about 1 in 20 recently).
- If `onlyWithContractor` is true, Los Angeles and Austin will return no rows.
- Valuation is what the applicant declared, not an appraisal.
- If you contact people from this data, you are responsible for following telemarketing and email laws (TCPA, CAN-SPAM, Do-Not-Call).

### Data sources, licenses and terms

| City | Dataset | License / terms |
|---|---|---|
| Chicago IL | data.cityofchicago.org ydr8-5enu | City of Chicago Data Terms of Use (see required notice below) |
| Seattle WA | data.seattle.gov 76t5-zqzr | Public Domain |
| Los Angeles CA | data.lacity.org pi9x-tg5x | LA Open Data terms (no license listed on the dataset) |
| Austin TX | data.austintexas.gov quv8-5ckq | Public Domain |
| Cincinnati OH | data.cincinnati-oh.gov uhjb-xac9 | Public Domain |
| New Orleans LA | data.nola.gov 72f9-bi28 | CC0 1.0 (Public Domain Dedication) |
| Baton Rouge LA | data.brla.gov 7fq7-8j7r | Public Domain |
| Mesa AZ | data.mesaaz.gov dzpk-hxfb | City of Mesa open data terms of use |

**Required City of Chicago notice:** "This site provides applications using data that has been modified for use from its original source, www.cityofchicago.org, the official website of the City of Chicago. The City of Chicago makes no claims as to the content, accuracy, timeliness, or completeness of any of the data provided at this site. The data provided at this site is subject to change at any time. It is understood that the data provided at this site is being used at one's own risk."

This Actor is independent and is not affiliated with or endorsed by any of these cities.

### Permitted use

- **Not a consumer report.** Do not use this data to decide anyone's eligibility for credit, insurance, employment or housing (FCRA purposes).
- Data is provided as published by each agency, "as is", with no warranty of accuracy or completeness. Sources can change or go offline without notice.

# Actor input Schema

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

Which of the 8 supported city open-data portals to query. Allowed values: chicago_il, seattle_wa, los_angeles_ca, austin_tx, cincinnati_oh, new_orleans_la, baton_rouge_la, mesa_az. Leave empty to query all 8 cities. This Actor covers only these cities, not a nationwide feed.

## `daysBack` (type: `integer`):

Return permits issued in the last N days (1–365). Ignored if issuedSince is set. Default is 14. Cities publish on their own schedules; Austin's feed sometimes lags several weeks.

## `issuedSince` (type: `string`):

Optional fixed start date in YYYY-MM-DD format (for example 2026-11-01). If set, this overrides daysBack and returns permits issued on or after this date.

## `keywords` (type: `array`):

Optional list of case-insensitive words. Keeps only permits whose description or permit type contains any keyword, for example solar, roof, HVAC, pool, ADU, or generator. Leave empty to return all matching permit types.

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

Optional minimum declared project value in US dollars. Permits below this amount are dropped. Valuation is what the applicant declared, not an appraisal.

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

If true, drop permits where the source lists no contractor or applicant name. Los Angeles and Austin do not publish contractor names in these datasets, so they will return no rows when this is true. Mesa lists the contractor when one is on the permit, otherwise the applicant (who may be a contractor or a homeowner). Seattle lists a contractor on only a small share of permits. Default is false.

## `maxResultsPerCity` (type: `integer`):

Maximum number of permit records to return per city (1–10000). Each returned record is billed, so start with 10–25 to preview the data. Default is 200.

## `socrataAppToken` (type: `string`):

Optional free app token from the city's open-data portal, used only to raise rate limits. Not required for normal use. Leave blank unless you already have a token.

## Actor input object example

```json
{
  "cities": [
    "chicago_il",
    "seattle_wa"
  ],
  "daysBack": 14,
  "keywords": [
    "solar",
    "roof"
  ],
  "onlyWithContractor": false,
  "maxResultsPerCity": 10
}
```

# Actor output Schema

## `overview` (type: `string`):

Default dataset items shown with the 'overview' view (key permit fields).

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

All default dataset items with every field, one permit record per item.

# 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 = {
    "cities": [
        "chicago_il",
        "seattle_wa"
    ],
    "keywords": [
        "solar",
        "roof"
    ],
    "maxResultsPerCity": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("waynesville_data/us-building-permit-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 = {
    "cities": [
        "chicago_il",
        "seattle_wa",
    ],
    "keywords": [
        "solar",
        "roof",
    ],
    "maxResultsPerCity": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("waynesville_data/us-building-permit-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 '{
  "cities": [
    "chicago_il",
    "seattle_wa"
  ],
  "keywords": [
    "solar",
    "roof"
  ],
  "maxResultsPerCity": 10
}' |
apify call waynesville_data/us-building-permit-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,waynesville_data/us-building-permit-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/zDMbjRgGafpgK0phe/builds/3ysxSSHMBVcNRnec9/openapi.json
