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

Scrape newly approved NYC building permits from DOB NOW by ZIP or borough. Each row has the permit number, approval date, work type, job description, address, contractor business name, license number, estimated cost and coordinates. For contractor and construction leads. $1 per 1,000 permits.

- **URL**: https://apify.com/mission_critical/nyc-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

## NYC Building Permits Scraper

NYC Building Permits Scraper pulls newly approved New York City building permits from the Department of Buildings' DOB NOW dataset, by ZIP code or borough. Each permit row has the address, work type, job description, contractor business name, license number and estimated job cost, so you can build contractor and construction lead lists without running the NYC DOB permit search by hand.

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

- `permit`: the DOB NOW work permit number
- `approved_at` and `status`
- `work_type` and the job `description`
- `address`, `borough` and `zip` of the building site
- `contractor` and `contractor_license`: the applicant's business name and license number
- `valuation`: the estimated job cost, in USD
- `lat` and `long`

The source is the [DOB NOW: Build – Approved Permits dataset](https://data.cityofnewyork.us/Housing-Development/DOB-NOW-Build-Approved-Permits/rbx6-tga4) on NYC Open Data.

### Why use NYC building permit data?

- **Contractor leads**: see which licensed contractors are pulling permits, and where.
- **Subcontractor and supplier prospecting**: reach scaffolding, plumbing, electrical and general construction jobs at the permit stage.
- **Neighborhood monitoring**: watch a ZIP code or a borough for new work.
- **Real estate research**: use estimated job cost as a signal of renovation activity.

### How to scrape NYC building permits

1. Enter a **ZIP code** or a **Borough**.
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 |
|---|---|---|---|
| `zip` | string | none | ZIP of the building site, e.g. `11215`. |
| `borough` | string | none | Brooklyn, Queens, Manhattan, Bronx or Staten Island. |
| `days` | integer | 30 | Lookback on the approval date, 1 to 90. |
| `limit` | integer | 100 | Maximum permits, newest first, 1 to 500. |

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

```json
{ "zip": "11215", "days": 14, "limit": 100 }
```

### Output

```json
{
  "permit": "B01483985-I1-SF",
  "approved_at": "2026-11-04T00:00:00.000",
  "status": "Permit Issued",
  "work_type": "Supported Scaffold",
  "description": "INSTALLATION OF TEMPORARY PIPE SCAFFOLD AS PER PLANS. NO CHANGE IN USE, EGRESS OR OCCUPANCY.",
  "address": "101 16 STREET",
  "borough": "Brooklyn",
  "zip": "11215",
  "contractor": "CORE SCAFFOLD SYSTEMS INC",
  "contractor_license": "617232",
  "valuation": 1,
  "lat": 40.666609,
  "long": -73.993191
}
```

### How much does NYC 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 an NYC DOB 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

- It covers DOB NOW approved permits. Older filings from the legacy BIS system are not included.
- `valuation` is the estimated cost as filed. Some filings carry a placeholder such as `1`, and some leave it empty (`null`).
- The Actor returns business names and license numbers, not phone numbers or emails.
- New York City only. For Chicago, see the Actor below.

### FAQ

**How fresh is the data?** It comes straight from NYC Open Data on each run. In testing, the newest permits were two days old.

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

**What does `status` mean?** It is the DOB status of the permit, for example `Permit Issued`.

### Related Actors

- [Zillow Property Lookup](https://apify.com/mission_critical/zillow-property)
- [Chicago Building Permits Scraper](https://apify.com/mission_critical/chicago-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 building site, e.g. 11215.

## `borough` (type: `string`):

Brooklyn, Queens, Manhattan, Bronx or Staten Island. Case does not matter.

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

Lookback window on the permit approval 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": "11215",
  "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": "11215",
    "days": 30,
    "limit": 50
};

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

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

```

## MCP server setup

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