# Building Permit Leads: Contractors and Projects (`turboextract/building-permit-leads`) Actor

Newly issued building permits from official city open data in Chicago, New York City, Los Angeles, San Francisco, Seattle and Austin: work description, project value, address, contractor and owner where published. Filter by trade like roofing, solar or HVAC.

- **URL**: https://apify.com/turboextract/building-permit-leads.md
- **Developed by:** [Moses Ndambuki](https://apify.com/turboextract) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.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 Permit Leads: Contractors and Projects

**Get newly issued building permits from Chicago, New York City, Los Angeles, San Francisco, Seattle and Austin in one feed.** Filter by trade like roofing, solar, HVAC or new construction, and get the work description, declared project value, address and, where the city publishes it, the contractor's name, license and phone.

A permit is the earliest public sign that money is about to be spent on a building. Suppliers, subcontractors and service companies that see it first win the work.

***

### Who this is for

- **Roofing, solar, HVAC, plumbing and electrical companies** finding jobs and competitor activity
- **Building material suppliers and equipment rental** firms selling to active contractors
- **Subcontractors** looking for general contractors with new projects
- **Home services, security and insurance** companies reaching owners after major work
- **Real estate investors and analysts** tracking renovation and development by area

***

### What you get per permit

```json
{
  "city": "New York City, NY",
  "issuedDate": "2026-11-13",
  "permitNumber": "B01482916-I1-SL",
  "permitType": "Solar",
  "workType": "Initial Permit",
  "description": "FILING HEREWITH TAX ABATEMENT APPLICATION FOR INSTALLATION OF ROOF MOUNTED SOLAR PANELS. NO CHANGE IN USE, EGRESS OR OCCUPANCY.",
  "value": 42750,
  "status": "Permit Issued",
  "address": { "street": "755 EAST 45 STREET (Brooklyn)", "zip": "11203" },
  "contractor": {
    "company": "SUNRUN INSTALLATION SVC",
    "name": "P. J.",
    "trade": "GC",
    "license": "613329"
  },
  "lat": 40.642843,
  "lon": -73.934264
}
```

***

### What each city publishes

| City | Contractor | Value | Notes |
|---|---|---|---|
| Austin, TX | Company, name, **phone**, trade | Yes | Richest contractor data |
| New York City, NY | Company, name, license | Yes | Owner name too |
| Chicago, IL | Listed contacts by role | Yes | Owner, contractors, applicant |
| Seattle, WA | Company, when listed | Yes | Link to the city record |
| San Francisco, CA | – | Yes | Link to the city record |
| Los Angeles, CA | – | Yes | The city refreshes its data weekly |

***

### How it works

```mermaid
flowchart LR
    A[Cities, trades, date range] --> B[City open-data permit APIs]
    B --> C[One common format]
    C --> D{Trade, keyword, value, contractor filters}
    D --> E[Take turns between cities]
    E --> F[One row per issued permit]
```

All six cities publish permits through official open-data APIs. No scraping, no logins.

***

### Quick start

1. Click **Try for free**.
2. Keep all cities and **Issued in the last N days** at `7`.
3. Pick **Trades** like `roofing` or `solar`, or add **Keywords** like `restaurant`.
4. Optional: set **Min project value** or tick **Only permits with a contractor**.
5. Click **Start**, then schedule it weekly.

#### API

```bash
curl -X POST "https://api.apify.com/v2/acts/Turboextract~building-permit-leads/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "cities": ["austin", "nyc"],
    "trades": ["solar", "electrical"],
    "requireContractor": true,
    "maxResults": 500
  }'
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("Turboextract/building-permit-leads").call(run_input={
    "cities": ["chicago", "seattle"],
    "trades": ["new_construction"],
    "minValue": 250000,
    "daysBack": 30,
})
for p in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(p["city"], p["value"], p["address"]["street"], (p["contractor"] or {}).get("company"))
```

***

### Input

| Field | Default | What it does |
|---|---|---|
| `cities` | all 6 | chicago, nyc, la, sf, seattle, austin |
| `daysBack` | 7 | Issued in the last N days |
| `dateFrom` / `dateTo` | – | Exact date range |
| `trades` | – | roofing, solar, hvac, electrical, plumbing, pool, demolition, new_construction, addition, remodel, fence, signage |
| `keywords` | – | Description contains any word |
| `minValue` | 0 | Minimum declared project value |
| `requireContractor` | false | Only rows with a contractor |
| `maxResults` | 500 | Cap per run, shared between cities |

***

### Pricing

**$0.003 per permit delivered.** A week of solar permits across six cities costs a few cents.

| Option | 1,000 permits |
|---|---|
| **Building Permit Leads** | **$3**, six cities, trade filters, contractor details |
| Other permit actors on Apify | $1.90 to $30 |
| Construction lead services | Monthly subscriptions |
| Checking six city portals by hand | Hours every week |

***

### Use cases

- **Solar and battery installers**: every new solar permit and the installer who pulled it
- **Roofers**: re-roof permits by neighborhood, and which competitors are busiest
- **Suppliers**: contractors with $250k+ new construction permits this month
- **Subcontractors**: general contractors starting large remodels

***

### Pairs well with

- [Local Business Leads with Emails](https://apify.com/Turboextract/osm-local-business-leads): contractor emails from their websites
- [New Business Registrations](https://apify.com/Turboextract/new-business-registrations): new construction LLCs from state registries
- [Federal Contract Winner Leads](https://apify.com/Turboextract/federal-contract-winners): federal construction awards

***

### FAQ

**Why did Los Angeles return nothing?** Los Angeles refreshes its permit data about once a week. The log tells you the latest date it has, so widen the date range to include it.

**How are trades matched?** On the permit description, type and contractor trade. A permit can match more than one trade.

**Why is the contractor empty for some cities?** San Francisco and Los Angeles do not publish contractors in their open data.

**Is this legal to use?** Yes. Building permits are public records published by each city for reuse.

***

### Support

- Docs and examples: https://github.com/andersonjames38phd-cpu/building-permit-leads
- Community Discord: https://discord.gg/8SrXSCpvgj

Built and maintained by [Turboextract](https://apify.com/Turboextract) on the Apify platform.

# Actor input Schema

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

City open-data portals to read. Austin includes contractor name and phone; New York includes the contractor and owner; Chicago includes the listed contacts.

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

Ignored if From date is set.

## `dateFrom` (type: `string`):

Optional, YYYY-MM-DD.

## `dateTo` (type: `string`):

Optional, YYYY-MM-DD. Empty = today.

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

Optional. Keep permits for any of these kinds of work, matched on the description and permit type.

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

Optional. Keep permits whose description mentions any of these words, e.g. restaurant, tenant improvement, generator.

## `minValue` (type: `integer`):

Optional. Skip permits with a lower declared value. 0 = no minimum.

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

Keep only rows where the city publishes the contractor (mainly Austin, New York and Chicago).

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

Cap per run, shared evenly between the cities you pick.

## Actor input object example

```json
{
  "cities": [
    "chicago",
    "nyc",
    "la",
    "sf",
    "seattle",
    "austin"
  ],
  "daysBack": 7,
  "minValue": 0,
  "requireContractor": false,
  "maxResults": 500
}
```

# Actor output Schema

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

One row per issued building permit with work, value, address and contractor.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("turboextract/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 = {}

# Run the Actor and wait for it to finish
run = client.actor("turboextract/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 '{}' |
apify call turboextract/building-permit-leads --silent --output-dataset

```

## MCP server setup

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