# Building Permits Scraper: New Construction Leads by City (`tacps126/building-permits`) Actor

New building permits from US cities (Chicago, New York, Los Angeles, Austin, Seattle and more) in one format: work description, address, estimated value, contractor and dates. Filter by keyword and value; get only new permits on a schedule. $2 per 1,000 permits.

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

## Pricing

from $1.60 / 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.
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 Permits Scraper

New building permits from US cities, in one format. Each permit comes with the work description, address,
estimated project value, contractor and dates, read from the city's own official open-data table.

### At a glance

- **Cities:** Chicago, New York, Los Angeles, San Francisco, Austin, Seattle, Dallas, Cincinnati, New Orleans,
  Baton Rouge, Montgomery County (MD) and Mesa. Any other city that publishes its permits on an open-data
  site: paste the table's address.
- **Filters:** issued in the last N days, keywords (solar, roof, pool, demolition...), minimum project value,
  only permits that name a contractor.
- **Monitoring:** turn on *Only new since last run* and put the run on a schedule to get each new permit once.
- **Price:** $2 per 1,000 permits, plus a small start fee per run. Empty runs cost only the start fee.

### Who uses it

- Contractors and subcontractors looking for jobs that were just approved.
- Suppliers of building materials, solar, roofing, HVAC, pools and equipment rental.
- Real estate investors and insurers following construction activity by area.

### Input

| Field | What it does |
|---|---|
| Cities | One or more cities from the list |
| Other cities | Address of a permits table on a city's open-data site |
| Issued in the last (days) | How far back to look (default 30) |
| Keywords / Exclude keywords | Words in the work description or permit type |
| Minimum project value | Lowest estimated value in USD |
| Only permits that name a contractor | Leave out permits without one |
| Max permits per city / in total | Newest permits first |
| Only new since last run | For scheduled monitoring |

Example: roofing and solar permits over $20,000 in Austin and Seattle from the last 7 days.

```json
{
  "cities": ["austin", "seattle"],
  "issuedWithinDays": 7,
  "keywords": ["roof", "solar"],
  "minValue": 20000
}
```

### Output

One row per permit. Fields a city does not publish are left out.

```json
{
  "city": "Austin",
  "state": "TX",
  "permitNumber": "2026-123456 BP",
  "permitType": "Building Permit",
  "workClass": "Remodel",
  "description": "Remove and replace roof covering, install rooftop solar array",
  "status": "Active",
  "issuedDate": "2026-11-03",
  "appliedDate": "2026-10-20",
  "address": "1200 EXAMPLE ST",
  "zip": "78701",
  "estimatedValue": 42000,
  "contractorName": "Example Roofing LLC",
  "contractorPhone": "512-555-0100",
  "latitude": 30.27,
  "longitude": -97.74,
  "source": "https://data.austintexas.gov/d/3syk-w9eu"
}
```

### Use it as an API

The Actor also answers plain web requests, so a spreadsheet, a script or an AI agent can call it:

```
GET https://tacps126--building-permits.apify.actor/?city=chicago&days=7&q=solar
```

Add `format=rss` for a feed, `responseFields=address,description,contractorName` for a smaller answer.

### Questions

**How fresh is the data?** As fresh as the city's own table, usually updated daily.

**A city I need is missing.** If it has an open-data site, paste the address of its permits table under
*Other cities*. If that does not work, open an issue with the city name.

**Why do some permits have no contractor or value?** The city did not record one for that permit.

**Is this personal data?** Permits are public records. Some name an owner or applicant; use them within the
law that applies to you.

# Actor input Schema

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

Cities to read. Each city's permits come from its own official open-data table.

## `datasetUrls` (type: `array`):

A city that is not in the list: paste the address of its building permits table on its open-data site (the address ends in an id like abcd-1234). The columns are recognised automatically.

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

Only permits issued in this many days.

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

Keep permits whose description or type has any of these words, for example solar, roof, pool, demolition, new construction.

## `excludeKeywords` (type: `array`):

Drop permits whose description or type has any of these words.

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

Only permits with an estimated value of at least this much. Permits without a value are left out when this is set.

## `withContractorOnly` (type: `boolean`):

Leave out permits with no contractor on record.

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

Newest first.

## `maxItems` (type: `integer`):

The run stops at this many permits.

## `onlyNew` (type: `boolean`):

Return only rows that earlier runs with the same monitor name did not return. Use it with a schedule.

## `monitorName` (type: `string`):

A name for this monitor, so several schedules keep separate histories. Leave empty to keep one history per set of inputs.

## `tenantId` (type: `string`):

Optional. Keeps histories of different teams or clients apart.

## `debug` (type: `boolean`):

Write more detail to the log.

## Actor input object example

```json
{
  "cities": [
    "chicago"
  ],
  "issuedWithinDays": 14,
  "withContractorOnly": false,
  "maxItemsPerCity": 500,
  "maxItems": 100,
  "onlyNew": false,
  "debug": false
}
```

# Actor output Schema

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

The produced items (default dataset items).

# 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"
    ],
    "issuedWithinDays": 14,
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/building-permits").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"],
    "issuedWithinDays": 14,
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("tacps126/building-permits").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"
  ],
  "issuedWithinDays": 14,
  "maxItems": 100
}' |
apify call tacps126/building-permits --silent --output-dataset

```

## MCP server setup

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

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/n8e9IaP9y12BhJnaU/builds/I60xzNF8WdwbwwyNr/openapi.json
