# Chicago Building Permits Scraper – Contractor Leads (`mission_critical/chicago-building-permits`) Actor

Scrape new Chicago building permits by ward or ZIP from the city's official open data. Each row has the permit number, issue date, work type, description, address, contractor, reported cost and coordinates. Built for contractor and construction lead lists. $1 per 1,000 permits.

- **URL**: https://apify.com/mission_critical/chicago-building-permits.md
- **Developed by:** [Vlad](https://apify.com/mission_critical) (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

$1.00 / 1,000 permit rows

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

## Chicago Building Permits Scraper

Chicago Building Permits Scraper pulls newly issued building permits from the City of Chicago's official open data portal, by ward or ZIP code. Each permit row has the address, work type, work description, contractor and reported cost, so you can build contractor and construction lead lists without searching the city's permit lookup by hand.

### What data does Chicago Building Permits Scraper return?

- `permit`: the permit number
- `issue_date` and `status`
- `work_type` and the full work `description`
- `address` of the building site
- `contractor` and `contractor_type`: the general contractor when the permit names one, otherwise the first trade contractor, with their role
- `valuation`: the reported cost of the work, in USD
- `lat` and `long`

The source is the [Chicago Data Portal building permits dataset](https://data.cityofchicago.org/Buildings/Building-Permits/ydr8-5enu).

### Why use Chicago building permit data?

- **Contractor leads**: find who is pulling permits, and for what kind of work.
- **Supplier and subcontractor prospecting**: reach projects at the permit stage, before work starts.
- **Roofing, HVAC, plumbing and electrical leads**: filter rows on `work_type` or search the `description`.
- **Neighborhood monitoring**: watch a ward for new construction and renovation.
- **Real estate research**: use reported cost as a signal of investment in an area.

### How to scrape Chicago building permits

1. Enter a **Ward** number (1 to 50) or a **ZIP code**.
2. Set **Days back**, from 1 to 90.
3. Set **Max permits**, from 1 to 500.
4. Run the Actor and export the dataset as JSON, CSV or Excel.

Schedule the Actor weekly to receive only the latest permits for your area.

### Input

| Field | Type | Default | Notes |
|---|---|---|---|
| `ward` | string | none | Ward of the building site, e.g. `43`. |
| `zip` | string | none | ZIP of the permit's primary contact, usually the property owner. |
| `days` | integer | 30 | Lookback on the issue date, 1 to 90. |
| `limit` | integer | 100 | Maximum permits, newest first, 1 to 500. |

Provide a ward or a ZIP. If you set both, a permit must match both.

```json
{ "ward": "43", "days": 14, "limit": 100 }
```

### Output

```json
{
  "permit": "B200519663",
  "issue_date": "2026-11-11T00:00:00.000",
  "status": "ACTIVE",
  "work_type": "Masonry Work",
  "description": "TUCKPOINTING AND UNIT MASONRY REPAIR / REPLACEMENT: 3000 SQ. FT.",
  "address": "815 W BRADLEY PL",
  "contractor": "MARK C. CONSTRUCTION CORP",
  "contractor_type": "MASON CONTRACTOR",
  "valuation": 20000,
  "lat": 41.94999633670619,
  "long": -87.65021876402048
}
```

### How much does Chicago building permit data cost?

Pricing is pay per event, with no monthly fee:

| Event | Price |
|---|---|
| Permit row | $1.00 per 1,000 permits ($0.001 each) |

A 50-permit pull costs about $0.05.

### Use it as a Chicago building permits API

Call the Actor from the [Apify API](https://docs.apify.com/api/v2), the Python or JavaScript client, or the [Apify MCP server](https://docs.apify.com/mcp) to feed new permits into a CRM or an AI agent.

### Limits

- **ZIP is the contact's ZIP, not the site's.** The city's dataset has no site ZIP column, so `zip` matches the primary contact, who is usually the owner. Most matches are local, but use `ward` when you need strict site geography.
- A permit can name several contractors. The Actor returns one: the general contractor if there is one, otherwise the first trade contractor listed. `contractor_type` tells you which.
- `contractor`, `work_type` and `valuation` are `null` when the city's record leaves them empty, for example on owner-filed permits.
- The Actor returns contractor names, not phone numbers or emails.
- Chicago only. For New York, see the NYC Actor below.

### FAQ

**How fresh is the data?** It comes straight from the city's dataset on each run. In testing, the newest permits were one day old.

**Is the valuation an appraisal?** No. It is the cost of work reported on the application.

**Can I filter by work type?** Not in the input yet. Filter the dataset on `work_type` or `contractor_type`.

### Related Actors

- [Zillow Property Lookup](https://apify.com/mission_critical/zillow-property)
- [NYC Building Permits Scraper](https://apify.com/mission_critical/nyc-building-permits)
- [EU Tenders Scraper](https://apify.com/mission_critical/eu-tenders)
- [App Store Keyword Rank Tracker](https://apify.com/mission_critical/app-store-keyword-rank)

Questions or a missing field? Open an issue on the Issues tab or email `vlad@evolvingtechnologies.io`.

# Actor input Schema

## `zip` (type: `string`):

5-digit ZIP of the permit's primary contact, usually the property owner, e.g. 60614. For strict site geography use Ward.

## `ward` (type: `string`):

Chicago ward number of the building site, 1 to 50, e.g. 43.

## `days` (type: `integer`):

Lookback window on the permit issue date, 1 to 90 days.

## `limit` (type: `integer`):

Maximum number of permits to return, newest first, 1 to 500. You pay per returned row.

## Actor input object example

```json
{
  "zip": "60614",
  "days": 30,
  "limit": 50
}
```

# Actor output Schema

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

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 = {
    "zip": "60614",
    "days": 30,
    "limit": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("mission_critical/chicago-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 = {
    "zip": "60614",
    "days": 30,
    "limit": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("mission_critical/chicago-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 '{
  "zip": "60614",
  "days": 30,
  "limit": 50
}' |
apify call mission_critical/chicago-building-permits --silent --output-dataset

```

## MCP server setup

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