# US Stormwater Construction Permits (EPA NPDES CGP) Leads (`zinky_atelier/epa-npdes-construction-permits`) Actor

Extract active and newly issued US commercial, residential subdivision, industrial, and civil pre-construction Stormwater General Permits (NPDES CGP) across all 50 states via official EPA ECHO REST APIs. Built for daily scheduled CRM/Slack lead alerts and AI MCP agents.

- **URL**: https://apify.com/zinky_atelier/epa-npdes-construction-permits.md
- **Developed by:** [Travis Burrows](https://apify.com/zinky_atelier) (community)
- **Categories:** Lead generation, Real estate, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 75.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 permit extracteds

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

## US Pre-Construction Stormwater Permits (NPDES CGP / NOI) Lead Feed

Capture commercial buildings, industrial warehouses, multifamily apartments, residential subdivisions, and civil infrastructure projects **before earthwork starts**—across all 50 US states via official EPA ECHO Clean Water Act (ICIS-NPDES) REST endpoints.

Zero headless browsers. Zero proxy costs. Built natively for **daily scheduled CRM/Slack lead alerts** (`deduplicateAcrossRuns: true`) and **AI MCP tool calling**.

***

### Why Pre-Construction Stormwater Permits?

Under the US Clean Water Act, any commercial, residential, or industrial project disturbing **1 acre or more** of land must obtain coverage under a **Construction General Permit (NPDES CGP / Notice of Intent)** *before* grading or excavation begins—often weeks before municipal vertical building permits are issued.

| Buyer Persona | How They Use This Feed |
| :--- | :--- |
| **Heavy Equipment, Sitework & Trench/Fencing Rental** | Identify brand-new commercial & subdivision job sites in TX, FL, NC, GA, AZ the week their CGP activates. |
| **Commercial Roofing, Solar, Concrete & MEP Subcontractors** | Filter SIC `1541` (Industrial/Warehouse) and `1542` (Commercial Buildings) by state/city to build early bid lists. |
| **Environmental & SWPPP Inspection Firms** | Track active construction sites (`inspectionCount === 0`) needing ongoing stormwater compliance inspections. |
| **Commercial Insurance & Surety Brokers** | Feed daily newly issued project permits directly into Clay, HubSpot, or Salesforce. |

***

### Copy-Paste Example Input

```json
{
  "states": ["TX", "FL"],
  "constructionSectors": [
    "commercial",
    "industrial_warehouse",
    "multifamily_residential"
  ],
  "issuedWithinDays": 60,
  "activeOnly": true,
  "deduplicateAcrossRuns": true,
  "maxItemsPerState": 100
}
```

### Example Output Item

```json
{
  "npdesPermitId": "TXR1531GB",
  "masterGeneralPermitId": "TXR150000",
  "registryId": "110071074301",
  "projectName": "0 WILL CLAYTON PKWY",
  "permitName": null,
  "streetAddress": "SEC OF WILL CLAYTON ROAD AND EASTEX FREEWAY",
  "city": "HUMBLE",
  "county": "Harris",
  "state": "TX",
  "zipCode": "77396",
  "latitude": 29.980073,
  "longitude": -95.274151,
  "permitStatus": "Effective",
  "permitType": "General Permit Covered Facility",
  "permitComponents": null,
  "permittingAgency": "State",
  "sicCodes": "1542",
  "sicDescriptions": "General Contractors - Nonresidential Buildings",
  "naicsCodes": null,
  "naicsDescriptions": null,
  "submittedDate": null,
  "issueDate": "2026-08-14",
  "effectiveDate": "2026-08-14",
  "expirationDate": "2028-03-04",
  "certifiedDate": "2026-08-14",
  "receivingWaterOrMs4": null,
  "inspectionCount": 0,
  "complianceStatus": "No Violation Identified",
  "epaDetailedReportUrl": "https://echo.epa.gov/detailed-facility-report?fid=TXR1531GB",
  "scrapedAt": "2026-11-14T03:18:00.000Z"
}
```

***

### Daily Automated Monitoring Setup (Zero Touch)

1. Save a Task in Apify Console with your target `states`, `issuedWithinDays: 30`, and `deduplicateAcrossRuns: true`.
2. Attach an **Apify Schedule** (e.g., `0 7 * * 1-5` — weekdays at 7:00 AM) and a **Webhook** (Slack, Clay, Make, n8n, Zapier).
3. On each run, previously delivered `npdesPermitId` records are skipped automatically—you only pay per-permit PPE events for **brand-new** construction sites.

***

### How Much Does It Cost? (Tiered Pay-Per-Event Pricing)

No monthly rental fee. Paid Apify plan subscribers automatically receive volume discounts per extracted permit:

| Event | One-Time? | Free Plan | Bronze | Silver | Gold / Enterprise |
| :--- | :---: | :---: | :---: | :---: | :---: |
| `actor-start` | Yes | `$0.03` | `$0.03` | `$0.03` | `$0.03` |
| `permit-extracted` *(Primary)* | No | `$0.006` | `$0.005` | `$0.0045` | `$0.004` |

#### Clay, Make, n8n & AI Agent (`mcp.apify.com`) Chaining

- **Clay.com / CRM Enrichment:** Export JSON or CSV directly into Clay to enrich permit operators with decision-maker emails and LinkedIn profiles before earthwork begins.
- **Make / n8n Scheduled Alerts:** Pair `deduplicateAcrossRuns: true` with Apify Webhooks to push newly issued NPDES CGP stormwater permits straight into Slack, HubSpot, or Airtable.
- **AI Agents & MCP (`mcp.apify.com`):** Query live state/ZIP pre-construction stormwater filings on demand from any MCP-compatible AI agent.

# Actor input Schema

## `states` (type: `array`):

One or more 2-letter US state/territory codes (e.g. \['TX', 'FL', 'NC']).

## `constructionSectors` (type: `array`):

Filter by construction industry SIC codes: 'commercial' (1542), 'industrial_warehouse' (1541), 'single_family_subdivision' (1521), 'multifamily_residential' (1522), 'highway_civil' (1611,1623), 'excavation_earthwork' (1794).

## `city` (type: `string`):

Restrict permits to a specific city name (e.g. 'AUSTIN', 'TAMPA'). Leave blank for statewide.

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

Restrict permits to a 5-digit ZIP code.

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

When set (e.g. 30 or 90), keeps only permits whose Issue Date, Effective Date, or Submitted Date falls within the last N days. Leave unset (0) to return all matching active permits.

## `activeOnly` (type: `boolean`):

Return only currently active / effective NPDES permits (excludes terminated/expired projects).

## `deduplicateAcrossRuns` (type: `boolean`):

Stores seen `npdesPermitId` values in a persistent Apify Named Key-Value Store ('npdes-seen-permits') so daily cron schedules only push brand-new construction sites to your Webhook/CRM.

## `maxItemsPerState` (type: `integer`):

Maximum number of permits to emit per state in this run.

## Actor input object example

```json
{
  "states": [
    "TX",
    "FL"
  ],
  "constructionSectors": [
    "commercial",
    "industrial_warehouse",
    "multifamily_residential"
  ],
  "issuedWithinDays": 0,
  "activeOnly": true,
  "deduplicateAcrossRuns": false,
  "maxItemsPerState": 50
}
```

# Actor output Schema

## `permits` (type: `string`):

Normalized dataset of active/new construction stormwater permits.

## `runSummary` (type: `string`):

JSON summary of states queried, total matching rows, and new permits emitted.

# 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 = {
    "states": [
        "TX",
        "FL"
    ],
    "constructionSectors": [
        "commercial",
        "industrial_warehouse",
        "multifamily_residential"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zinky_atelier/epa-npdes-construction-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 = {
    "states": [
        "TX",
        "FL",
    ],
    "constructionSectors": [
        "commercial",
        "industrial_warehouse",
        "multifamily_residential",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("zinky_atelier/epa-npdes-construction-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 '{
  "states": [
    "TX",
    "FL"
  ],
  "constructionSectors": [
    "commercial",
    "industrial_warehouse",
    "multifamily_residential"
  ]
}' |
apify call zinky_atelier/epa-npdes-construction-permits --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zinky_atelier/epa-npdes-construction-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/SprfarIvbfQnnvKfH/builds/XGuO4A0J1mptpey9l/openapi.json
