# US Building Permits: 13 Cities & Alerts (MCP) (`amygraphics/us-building-permit-radar`) Actor

Find building permits in 13 US city and county feeds. Filter by trade, date, contractor, ZIP and value; monitor newly observed permits. Source links, optional contractor contacts, and per-city coverage warnings.

- **URL**: https://apify.com/amygraphics/us-building-permit-radar.md
- **Developed by:** [Zakaria el bouami](https://apify.com/amygraphics) (community)
- **Categories:** Lead generation, Real estate, MCP servers
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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: 13 Cities & Construction Alerts (MCP)

Find construction projects and contractors from **13 official US city and county permit feeds**. Search by work keyword or trade, declared project value, contractor and ZIP. Monitor a rolling window for newly observed permits, with a free baseline and per-city diagnostics. Export JSON, CSV or Excel; use via API, schedules or Apify MCP.

### Coverage

| Jurisdiction | Source | Work description | Contractor name / optional contact |
|---|---|---|---|
| Chicago, IL | `ydr8-5enu` | Detailed scope | Contractor roles where supplied |
| New York City, NY | `rbx6-tga4` DOB NOW | Detailed scope | Permittee business where supplied |
| Austin, TX | `3syk-w9eu` | Detailed scope | Contractor, optional published phone |
| Seattle, WA | `76t5-zqzr` | Detailed scope | Not in this feed |
| San Francisco, CA | `i98e-djp9` | Detailed scope | Not in this feed |
| Los Angeles, CA | `pi9x-tg5x` | Detailed scope | Not in this feed |
| New Orleans, LA | `rcm3-fn58` | Description | Contractor field when available |
| Baton Rouge / East Baton Rouge, LA | `7fq7-8j7r` | Project description | Contractor field when available |
| Cincinnati, OH | `uhjb-xac9` | Often a broad type only | Company field when available |
| Mesa, AZ | `dzpk-hxfb` | Detailed scope | Contractor, optional published phone/email |
| Montgomery County, MD | `i26v-w6bd` | Detailed scope; **commercial permits only** | Not in this feed |
| Orlando, FL | `ryhf-m453` | Work type, **not full description** | Contractor, optional published phone |
| Norfolk, VA | `fahm-yuh4` | Work type, **not full description** | Not in this feed |

Availability and update schedules vary; a field being available in a source does not mean it is present on every permit. Cities publish public contractor records that may identify individuals. Owner names and private applicant names are not exported. Optional contacts are **off by default** and should be used in accordance with applicable privacy, marketing and licensing rules.

### Search

```json
{"mode":"search","cities":["chicago","nyc","mesa"],"trade":"roofing","daysBack":7,"onlyWithContractor":true,"maxResults":30}
```

`trade` uses simple keyword rules, **not** an exhaustive classifier: e.g. roofing looks for `ROOF`/`REROOF`; solar for `SOLAR`/`PHOTOVOLTAIC`; HVAC for `HVAC`, `FURNACE`, `AIR CONDITION`, `HEATING` or `MECHANICAL`. Plumbing, electrical, new construction, remodel, demolition and pool presets are also available. Results and omissions depend on how each city writes its description/work-type field. `keyword` is a case-insensitive literal substring of that same field, combined with `trade` using AND. The city API applies keyword/trade rules except Orlando, where they are applied locally after the bounded date scan because its gateway rejects text-filter queries.

Use `dateFrom` and `dateTo` (inclusive YYYY-MM-DD) for a fixed search range, or `daysBack` for a rolling range (including today, UTC). Optional `minValueUsd`, `zipCode`, `contractorContains` and `onlyWithContractor` filter **after** the bounded source scan. Records missing the required field are excluded; no ZIP is published in these feeds for Chicago, New Orleans, Mesa, Orlando and Norfolk, so a ZIP filter excludes them. A declared value can be zero or a placeholder and is not necessarily the final cost.

### Monitor

```json
{"mode":"monitor","cities":["chicago","mesa"],"trade":"solar","daysBack":14,"maxResults":50,"monitorUpdates":true}
```

The first run saves visible matches as a baseline and emits a free baseline row. Subsequent runs return newly observed records in the rolling window. A new observation can reflect late publication or corrections, not necessarily a newly issued permit. Set `monitorUpdates` to also receive `updated-observation` when a previously seen permit changes its status, type, description, address, ZIP, declared value or contractor. Changes are detected only among permits in the scanned rolling window; turning this option on creates a separate baseline. An updated permit is charged as one delivered permit. Keep inputs stable; filter changes create a new baseline. Fixed dates are search-only. Do not run the same watch concurrently.

#### Coverage and reliability

`maxScanPerCity` bounds raw source records read **before** the local cost, ZIP and contractor filters. Summary `cityCounts` shows matches seen by city before the return cap; `truncatedCities` warns if a source reached the scan cap; `failedCities` lists failed sources in search mode. A monitor run fails without updating state if any selected source fails. `maxResults` is a separate total delivery cap. Increase the scan cap or narrow dates/trades to reduce truncation. A monitor can miss permits that never fall in the scanned part of its rolling window or whose backlog expires; the baseline also obeys the cap. This is not an exhaustive feed or a guarantee of timely updates.

Permits are deduplicated by jurisdiction and permit number, not by project. NYC may publish multiple rows per permit; the first matching row is retained. Results are interleaved by city rather than globally sorted. Official data may lag or be revised; verify linked source records before acting. An optional fixed-date search is limited by `maxScanPerCity`, so split broad backfills into smaller periods.

### Output and pricing

Each permit has its city, permit number, issue date, source status where present, work description/type, worksite address, ZIP where published, city-reported value, contractor name where published and source links. `includeBusinessContact:true` opts into source-published phone for Austin/Mesa/Orlando and email for Mesa when present; these contacts can identify individuals.

**$0.001 per actor start + $0.005 per delivered permit.** Baseline and summary have no permit-event charge; the start fee still applies. A 10-permit search costs $0.051 in actor charges; `maxResults` caps permit-event charges. Apify platform usage may apply separately.

Data is sourced live from the official jurisdiction portals identified above. Not affiliated with the cities. No professional or legal advice.

# Actor input Schema

## `mode` (type: `string`):

Search now or save a baseline and report newly observed permits in the rolling window.

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

Municipal open-data feeds to search. Fields and coverage vary by city.

## `keyword` (type: `string`):

Literal substring in source work description; for Orlando and Norfolk this is the work-type field. Keyword and trade use AND.

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

Issue dates in the last N calendar days, including today (UTC).

## `minValueUsd` (type: `number`):

Only permits with a reported cost at least this amount. Records without a cost are excluded.

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

Cap on delivered, chargeable permit rows across all cities.

## `maxScanPerCity` (type: `integer`):

Records scanned before the local minimum-value filter. A summary warns when this cap is reached.

## `trade` (type: `string`):

Phrase matches in the source work description/type, not an exhaustive classifier. Orlando filters locally after the scan cap.

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

Search mode only. Optional inclusive YYYY-MM-DD start date; overrides the rolling start.

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

Search mode only. Optional inclusive YYYY-MM-DD end date; overrides today.

## `zipCode` (type: `string`):

Five-digit worksite ZIP filter. Applied after source scan; records without a source ZIP are excluded.

## `contractorContains` (type: `string`):

Filter contractor or applicant business name, case-insensitive. Applied after source scan; excludes records lacking a name.

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

Exclude records without a source-supplied contractor or NYC permittee business name.

## `includeBusinessContact` (type: `boolean`):

Include public contractor phone when available in Austin, Mesa and Orlando, and email where published by Mesa. Contacts may belong to individuals; use responsibly.

## `monitorUpdates` (type: `boolean`):

Monitor mode: also emit an update if a previously seen permit changes status, type, description, address, value or contractor. Separate baseline.

## Actor input object example

```json
{
  "mode": "search",
  "cities": [
    "chicago",
    "nyc",
    "austin"
  ],
  "daysBack": 7,
  "maxResults": 10,
  "maxScanPerCity": 1000,
  "trade": "all",
  "onlyWithContractor": false,
  "includeBusinessContact": false,
  "monitorUpdates": false
}
```

# Actor output Schema

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

No description

# 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("amygraphics/us-building-permit-radar").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("amygraphics/us-building-permit-radar").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 amygraphics/us-building-permit-radar --silent --output-dataset

```

## MCP server setup

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

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/E3CAUS7H0zzOYo4LC/builds/1GeE10NoDq7BrjoDf/openapi.json
