# Building Permit Leads: Contractor Leads by Trade (Echo Engine) (`the100/echo-engine-permit-leads`) Actor

Fresh building permits turned into scored leads for the trade that comes next: new pool → fencing & pool service, new roof → gutters & solar, panel upgrade → EV chargers. 22 trades, 13 US markets, ZIP filter, no repeat leads.

- **URL**: https://apify.com/the100/echo-engine-permit-leads.md
- **Developed by:** [Christopher Dorado](https://apify.com/the100) (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

from $40.00 / 1,000 leads

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

## Echo Engine: Permit-Triggered Leads

**Know who needs your service before they start searching.**

When a homeowner pulls a city permit for a pool, a new roof, solar panels or a new house, they've just committed real money, and they'll soon need *other* services. Echo Engine reads fresh building permits from official city open-data feeds every time you run it. It works out who needs what next and hands you a scored lead list for **your** trade, with the reason they need you and the best time to reach them.

> Raw permit scrapers give you thousands of rows to dig through. Echo Engine gives you the 20 homes that need a fence this month.

### How it works

| When this permit appears… | …these businesses get a lead | Why |
|---|---|---|
| New swimming pool / spa | Pool service, fencing, pool safety, landscaping, outdoor living | Codes usually require a pool barrier; a new pool needs weekly care; the yard gets rebuilt |
| Roof replacement | Gutters, solar, insulation | A fresh roof is the ideal time for solar and new gutters |
| Solar installation | Home batteries, EV chargers | New solar owners are top prospects for storage and EV charging |
| Electrical panel upgrade | EV chargers, standby generators, home batteries | Panel upgrades come right before big electric add-ons |
| New single-family home | Landscaping, fencing, window treatments, security | New houses come bare |
| HVAC replacement | Duct cleaning, insulation | Protect and maximize the new system |
| Kitchen / bath remodel | Countertops, flooring, junk removal, cleaning | Remodels cascade into other trades |
| Addition / ADU | HVAC (mini-splits), flooring, property management | New space needs comfort, floors, and often a tenant |
| Demolition | Junk removal & dumpsters | Debris has to go somewhere |
| Water heater | Water softeners & filtration | The natural moment to upgrade water quality |
| Foundation repair | Waterproofing & drainage, gutters | Foundation problems usually trace back to water |

### Coverage (13 US markets, all official open data)

Austin TX · Los Angeles CA · New York City NY · Chicago IL · Seattle WA · Mesa AZ · Collin County TX (Plano, Frisco, McKinney, Allen, Prosper) · New Orleans LA · Baton Rouge LA · College Station TX · Montgomery County MD · Cincinnati OH · Marin County CA

More markets are added regularly. Want your city? Open an issue and tell us.

### What you get (one row per lead)

| Field | Example |
|---|---|
| `leadScore` | 92 (0–100: timing + project value + signal clarity + homeowner) |
| `tradeLabel` | Fencing |
| `whyTheyNeedIt` | Most building codes require a safety barrier around a new pool before final inspection. |
| `timing` | In window now (days 0–45 after permit) |
| `address`, `city`, `state`, `zip` | 123 Main St, Austin, TX 78704 |
| `latitude`, `longitude` | Ready for maps and routing |
| `signalLabel` | New swimming pool / spa |
| `projectValue` | 85000 |
| `propertyType` | residential / commercial / unknown |
| `permitNumber`, `permitDescription`, `issueDate`, `daysSinceIssued` | Straight from the city record |
| `permitUrl`, `sourceDatasetUrl` | Verify any lead at the source |

A run summary (counts by trade, city and signal) is saved to the key-value store as `OUTPUT`.

### Quick start

1. Pick **your trade(s)** and **cities**.
2. Optional: add your **ZIP codes**, a **minimum project value** or a **minimum lead score**.
3. Run it. Leads arrive best-first.
4. **Schedule it weekly** with **Only leads I haven't received before** switched on, and you'll get a fresh list every week without paying twice for the same lead.

### Pricing

Pay per lead delivered. No subscription, no charge for runs that find nothing, and no charge if a city's data source is down. Set a max cost per run and Echo Engine delivers the best leads that fit inside it.

### Lead quality

- Permits that are paperwork revisions, temporary power, equipment repairs or commercial jobs are filtered out.
- Each lead carries the original permit text and a link to the city record, so you can verify it in seconds.
- One permit can create several leads (a pool creates fence, service and landscaping leads), but you only get leads for the trades you choose.

### Responsible use

All data comes from public records that cities publish under open-data programs. Echo Engine provides property addresses, not personal contact details. If you contact homeowners, follow the law: direct mail and door-knocking are generally fine; phone and text marketing must follow the Do-Not-Call list and TCPA consent rules. Never present your marketing as an official city notice.

### FAQ

**How fresh is the data?** Most cities update their feeds daily. Run with `daysBack` 7–14 for the freshest leads.

**Why do some leads have no ZIP?** Chicago, Mesa and New Orleans don't publish ZIPs in their feeds. Use the latitude and longitude instead.

**Can my AI agent use this?** Yes. The input and output are fully structured, and pay-per-lead pricing works for AI agents too.

# Actor input Schema

## `trades` (type: `array`):

Which follow-on services do you sell? Leave empty for all trades.

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

Where to look for fresh permits.

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

How far back to look. 7–30 days gives the freshest leads.

## `zipCodes` (type: `array`):

Limit leads to your service area. Leave empty for the whole city. Note: Chicago, Mesa and New Orleans feeds have no ZIP column, so ZIP filtering removes their leads.

## `residentialOnly` (type: `boolean`):

Skip permits clearly marked as commercial.

## `minProjectValue` (type: `integer`):

Bigger projects usually mean bigger budgets for follow-on work.

## `minLeadScore` (type: `integer`):

The score combines timing, project value, how clearly the permit shows the signal, and whether it's a home.

## `maxLeads` (type: `integer`):

The best-scored leads are delivered first. You're only charged for leads delivered.

## `onlyNewLeads` (type: `boolean`):

Perfect for daily or weekly schedules. Remembers delivered leads in your account so you never pay twice for the same lead.

## Actor input object example

```json
{
  "trades": [
    "fencing"
  ],
  "cities": [
    "austin"
  ],
  "daysBack": 14,
  "residentialOnly": true,
  "minProjectValue": 0,
  "minLeadScore": 0,
  "maxLeads": 50,
  "onlyNewLeads": false
}
```

# Actor output Schema

## `leads` (type: `string`):

Scored follow-on leads, best first.

## `summary` (type: `string`):

Lead counts by trade, city and signal.

# 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 = {
    "trades": [
        "fencing"
    ],
    "cities": [
        "austin"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("the100/echo-engine-permit-leads").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 = {
    "trades": ["fencing"],
    "cities": ["austin"],
}

# Run the Actor and wait for it to finish
run = client.actor("the100/echo-engine-permit-leads").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 '{
  "trades": [
    "fencing"
  ],
  "cities": [
    "austin"
  ]
}' |
apify call the100/echo-engine-permit-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,the100/echo-engine-permit-leads"
        }
    }
}
```

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/cL6YvCQZ84adgCDQI/builds/xDlzjuLYJMPmu8Dwb/openapi.json
