# Building Permits Scraper - US Construction & Contractor Leads (`offgrid-labs/building-permits-us`) Actor

US building permits scraper for construction and contractor leads: new permits from official open-data portals of 12 cities (NYC, LA, Chicago, SF, Seattle, Austin, DC...) - type, work description, address, project value, contractor, dates. $4 per 1,000 permits.

- **URL**: https://apify.com/offgrid-labs/building-permits-us.md
- **Developed by:** [OFFGRID LABS](https://apify.com/offgrid-labs) (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 $4.00 / 1,000 permits

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

### US building permits scraper: construction leads from 12 city open-data portals

**TL;DR:** US Building Permits Scraper collects newly issued building permits from the official open-data portals of **12 US cities** (including New York City, Los Angeles, Chicago, San Francisco, Seattle, Austin and Washington DC) and returns them in one unified format: permit number, type and work class, status, work description, address and ZIP, declared project value, contractor (where published), dates, coordinates and a link to the permit. It is built for contractors, suppliers, real-estate analysts, proptech and lead-generation teams, and AI agents. You pay **$4.00 per 1,000 permits** saved.

All data comes from official Socrata and ArcGIS open-data APIs. No browser, no login, no proxy.

### Cities and sources

| City | Source dataset |
|---|---|
| New York City, NY | DOB NOW: Build - Approved Permits (data.cityofnewyork.us) |
| Los Angeles, CA | LADBS Building Permits Issued 2020-present (data.lacity.org) |
| Chicago, IL | Building Permits (data.cityofchicago.org) |
| San Francisco, CA | DBI Building Permits (data.sfgov.org) |
| Seattle, WA | SDCI Building Permits (data.seattle.gov) |
| Austin, TX | Issued Construction Permits (data.austintexas.gov) |
| Nashville, TN | Building Permits Issued (Metro Nashville ArcGIS) |
| Washington, DC | DCRA/DOB Building Permits (DC GIS ArcGIS) |
| New Orleans, LA | Permits (data.nola.gov) |
| Mesa, AZ | Building Permits (data.mesaaz.gov) |
| Cincinnati, OH | Building Permits (data.cincinnati-oh.gov) |
| Cambridge, MA | Building Permits: New Construction (data.cambridgema.gov) |

### What data you get

One dataset row per permit, with the same fields for every city. Values a city doesn't publish are `null`, never guessed.

| Field | What it is | Example |
|---|---|---|
| `city`, `cityId`, `state` | City, registry ID, state | `Austin`, `austin`, `TX` |
| `permitId` | Permit number as issued by the city | `2026-135939 PP` |
| `permitType`, `permitSubtype`, `workClass` | Type, subtype/class, work class | `Plumbing Permit`, `R- 101 Single Family Houses`, `New` |
| `status` | Current permit status | `Active` |
| `description`, `useDescription` | Work description, building use | `New Construction of 2-Story Single Family Res...` |
| `issuedDate`, `appliedDate` | Issue and application dates (YYYY-MM-DD) | `2026-11-01`, `2026-08-25` |
| `address`, `zip` | Site address and ZIP | `1905 E 22ND ST BLDG 1`, `78722` |
| `valuation` | Declared job value, USD | number or `null` |
| `housingUnits` | Housing units (where published) | `1` |
| `contractor` | Contractor / permittee business (where published) | `Loredos Plumbing` |
| `latitude`, `longitude` | Coordinates (WGS84) | |
| `permitUrl`, `datasetUrl`, `sourceUrl` | Permit page, official dataset, API query | `https://data.austintexas.gov/d/3syk-w9eu` |
| `raw` | Every column the city publishes (optional) | |

### Use cases

- **Contractors, roofers, solar and HVAC installers**: find new projects and the contractors behind them every morning.
- **Building-material suppliers and equipment rental**: target active job sites by ZIP code and project value.
- **Real-estate investors and analysts**: track new construction, demolitions and ADUs by neighbourhood.
- **Home-services lead generation and proptech**: one schema for many cities instead of a different export for each portal.

### How to scrape building permits

1. Pick **Cities** (or leave empty for all 12).
2. Set **Issued within last N days** (default 30) or a fixed **Issued on or after** date.
3. Optional filters: **Permit type contains** (`new`, `demolition`, `solar`, `roof`), **Work description contains** (`pool`, `ADU`, `restaurant`), **ZIP codes** or prefixes, **Minimum project value (USD)**.
4. Click **Start**. For a steady lead feed, schedule a daily run with **Issued within last N days** = 2.

### Input example

```json
{
  "cities": ["austin", "seattle", "los-angeles"],
  "issuedWithinDays": 7,
  "permitTypeKeywords": ["new"],
  "descriptionKeywords": ["single family", "adu"],
  "minValuation": 100000,
  "maxItemsPerCity": 500
}
```

### Output example

```json
{
  "city": "Austin",
  "cityId": "austin",
  "state": "TX",
  "permitId": "2026-135939 PP",
  "permitType": "Plumbing Permit",
  "permitSubtype": "R- 101 Single Family Houses",
  "workClass": "New",
  "status": "Active",
  "description": "ePlan: Residential Expedited Review - Three Unit Bldg 1 New Construction of 2-Story Single Family Res [5bed 4bath] with attached carport",
  "useDescription": null,
  "issuedDate": "2026-11-01",
  "appliedDate": "2026-08-25",
  "address": "1905 E 22ND ST BLDG 1",
  "zip": "78722",
  "valuation": null,
  "housingUnits": 1,
  "contractor": "Loredos Plumbing",
  "latitude": null,
  "longitude": null,
  "permitUrl": "https://abc.austintexas.gov/web/permit/public-search-other?t_detail=1&t_selected_folderrsn=13789799",
  "datasetUrl": "https://data.austintexas.gov/d/3syk-w9eu",
  "sourceUrl": "https://data.austintexas.gov/resource/3syk-w9eu.json?...",
  "scrapedAt": "2026-11-03T01:23:01.109Z"
}
```

A per-city summary (saved, scanned, errors) is stored in the key-value store record `RUN_SUMMARY`. The dataset has two views: **Overview - one row per permit** and **All fields - permits with coordinates**.

### How much does it cost to scrape building permits?

Pay per event: filters run before saving, so you only pay for permits you keep. Compute and proxy costs are included. The price is the same on every Apify plan.

| Event | Charged when | Price |
|---|---|---|
| `result` | One building permit saved | **$4.00 per 1,000** ($0.004 each) |
| `apify-actor-start` | Once per run (Apify's standard start fee) | $0.00005 |

**Worked examples**

- **1,000 permits** = 1,000 × $0.004 = **$4.00** (+ $0.00005 start fee).
- A daily feed of new-construction permits in 3 cities (about 100 a day): 3,000 permits a month = **$12.00 per month**.
- A one-off pull of 250 high-value permits (`minValuation` 500000) in one city: **$1.00**.

Set **Maximum cost per run** in the run options; the scraper stops cleanly at the limit.

### How it compares

| | This actor | Each city's open-data portal | Commercial construction-lead databases |
|---|---|---|---|
| Cities in one schema | 12, unified fields | One portal and format per city | Many, often nationwide |
| Freshness | Live from the official API at run time | Live | Varies by vendor |
| Contractor and value | Where the city publishes them | Same | Often enriched with contacts |
| Automation | API, schedules, webhooks, integrations | Manual exports / per-city APIs | Platform, exports |
| Cost | $4.00 per 1,000 permits, pay as you go | Free | Subscription |

### FAQ

#### Where can I find new building permits as construction leads?

Run this actor for your cities with **Issued within last N days** and filter by **Permit type contains** `new` or a **Minimum project value**. Each row has the address, work description and, where published, the contractor.

#### Which cities are supported?

New York City, Los Angeles, Chicago, San Francisco, Seattle, Austin, Nashville, Washington DC, New Orleans, Mesa, Cincinnati and Cambridge (MA).

#### Can I filter building permits by ZIP code or project value?

Yes: **ZIP codes** accepts full ZIPs or prefixes (`787`), and **Minimum project value (USD)** keeps permits with a declared value at or above your threshold. Permits without a ZIP or value are excluded when those filters are set.

#### Why are some fields empty for some cities?

Cities publish different columns. For example, Washington DC does not publish project values, Los Angeles and San Francisco do not publish contractor names, and Chicago does not publish ZIP codes. Missing values are `null`.

#### How fresh is the building permit data?

As fresh as each city's portal, usually updated daily with a 1-7 day lag.

#### Can you add my city?

Yes. Cities are defined in a small registry, and any city that publishes permits on Socrata or ArcGIS can be added. Open an issue with the portal link.

#### Are property owner names included?

No. Some portals publish property-owner or applicant names; this scraper leaves them out of the unified fields and keeps business information (contractor / permittee company) only. If you turn on the raw record, you receive all columns the city publishes and you are responsible for handling any personal data lawfully.

#### Is it legal to scrape building permits?

All data comes from official government open-data APIs, published for public reuse under each city's open-data terms. Socrata portals' robots.txt allows the API, and the scraper keeps to one request per second.

#### Can an AI agent use this building permits API?

Yes. Through the Apify MCP server an agent can find it with `search-actors`, read the input schema and run it, for example "new single-family permits over $300,000 in Austin this week". See **Integrations**.

#### Something wrong?

Open an issue on the Issues tab; we aim to respond within 24 hours.

### Integrations

- **API**: `POST https://api.apify.com/v2/acts/offgrid-labs~building-permits-us/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>` with the input JSON as the body returns the permits directly (runs under 5 minutes; otherwise start a run and read its dataset).
- **Python / JavaScript**: `pip install apify-client` / `npm install apify-client`, then `client.actor("offgrid-labs/building-permits-us").call(run_input={...})`.
- **No-code**: Apify's integrations for **Make**, **Zapier** and **n8n**, plus Google Sheets, Slack, CRM webhooks and Schedules (for example new permits into a CRM every morning).
- **MCP / AI agents**: add `https://mcp.apify.com?tools=offgrid-labs/building-permits-us` to your MCP client to expose this actor as a tool.

### Changelog

- **2026-11-03** · README restructured (city table, data table, cost examples, comparison, FAQ, integrations); input field descriptions rewritten with units, defaults and examples for AI agents; output schema and dataset views described. Removed an incorrect line about plan discounts: the price is a flat $4.00 per 1,000 permits on every plan.
- **2026-11-03** · Output schema with Overview and All fields views; Store title aligned with search intent.
- **2026-11-03** · First release: 12 cities via official Socrata and ArcGIS APIs, unified schema, type/description/ZIP/value filters, `RUN_SUMMARY`.

### Related actors

| Actor | What it does |
|---|---|
| Public Tenders Scraper | Government tenders and contract awards from EU TED and US SAM.gov |
| Company Registry Lookup (KYB) | Official company records for contractors and developers (UK, France, Norway, Finland) |
| Tech Stack Detector | Technology profile of any company website |

***

```
// OFFGRID LABS ─────────────────────────────────────────────
// status: monitored 24/7 by a self-hosted agent swarm
// health checks: every 6h · auto-repair + rollback on failure
// sources: official public APIs and open data only
// support: open an issue — human-reviewed response within 24h
// ───────────────────────────────────────────────────────────
```

# Actor input Schema

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

Cities to collect permits from (ids: new-york, los-angeles, chicago, san-francisco, seattle, austin, new-orleans, mesa, cincinnati, cambridge, nashville, washington-dc). Leave empty for all 12. Example: \["austin", "seattle"]

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

Only permits issued in the last N days (1-3650). Default 30. Ignored when 'Issued on or after' is set. Cities publish with a 1-7 day delay, so use at least 2 for a daily schedule. Example: 7

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

Optional fixed start date in YYYY-MM-DD format; overrides 'Issued within last N days'. Example: 2026-10-01

## `permitTypeKeywords` (type: `array`):

Optional. Keep permits whose type, subtype or work class contains ANY of these words (case-insensitive). Filtered-out permits are not charged. Examples: new, demolition, solar, roof, electrical

## `descriptionKeywords` (type: `array`):

Optional. Keep permits whose work description contains ANY of these words (case-insensitive). Examples: pool, ADU, solar, restaurant

## `zipCodes` (type: `array`):

Optional. 5-digit ZIP codes or prefixes (787 = central Austin). Permits without a ZIP (e.g. Chicago) are excluded when set. Example: \["78701", "787"]

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

Optional. Keep only permits with a declared job value of at least this many US dollars. Permits without a value (e.g. Washington DC) are excluded when set. Default 0 = no filter. Example: 100000

## `maxItemsPerCity` (type: `integer`):

Maximum permits saved per city, newest first; one permit = one dataset row = one charged result. Default 200. 0 = no limit. Example: 500

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

If true, adds a raw field with every column the city publishes (varies by city; may include personal names). Default false.

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

Optional free app token from any Socrata portal (e.g. data.cityofchicago.org > Developer Settings). Raises per-IP request limits for very large runs. Not needed for normal use.

## Actor input object example

```json
{
  "cities": [
    "new-york",
    "los-angeles",
    "chicago",
    "austin"
  ],
  "issuedWithinDays": 14,
  "minValuation": 0,
  "maxItemsPerCity": 5,
  "includeRawRecord": false
}
```

# Actor output Schema

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

All building permit rows with every field.

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

Compact table: city, state, permit ID, issued date, permit type, work class, description, address, valuation, contractor and permit link.

# 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": [
        "new-york",
        "los-angeles",
        "chicago",
        "austin"
    ],
    "issuedWithinDays": 14,
    "maxItemsPerCity": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("offgrid-labs/building-permits-us").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": [
        "new-york",
        "los-angeles",
        "chicago",
        "austin",
    ],
    "issuedWithinDays": 14,
    "maxItemsPerCity": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("offgrid-labs/building-permits-us").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": [
    "new-york",
    "los-angeles",
    "chicago",
    "austin"
  ],
  "issuedWithinDays": 14,
  "maxItemsPerCity": 5
}' |
apify call offgrid-labs/building-permits-us --silent --output-dataset

```

## MCP server setup

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

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/zM0xlPXQOa3Gm3Cf5/builds/8RGu3Ym1S8AjVDHdr/openapi.json
