# US Plumber & Contractor Lead Scraper — AI cold email (`kloude/plumber-contractor-us-lead-scraper`) Actor

Scrape US plumber, HVAC, electrician, and home contractor leads from Google Maps with verified emails + AI-personalized cold emails. Highest-LTV B2B niche.

- **URL**: https://apify.com/kloude/plumber-contractor-us-lead-scraper.md
- **Developed by:** [Nguyễn Tuấn Thành](https://apify.com/kloude) (community)
- **Categories:** Lead generation, AI
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 lead delivereds

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## US Plumber & Home Contractor Lead Scraper

**Scrape verified contact info for licensed plumbers, HVAC, electricians, and general contractors across the US — with license number, service area, trade specialties, BBB rating, and direct owner phone.**

Home services contractors are the highest-LTV SMB segment in America (avg revenue $1.2M, avg software spend $400/month) — and the hardest to reach by cold email. The owner is on a roof. This actor gives you their cell phone, current license status, service radius, and emergency-service availability so your outreach hits the right person with a relevant hook.

---

### What you get per lead

**Business identity**
- Business name + DBA
- Owner / principal name (where listed)
- Direct mobile + office phone
- Owner email + general email (verified)
- Website + booking URL

**Trade & license**
- Trade type (plumber, HVAC, electrician, general contractor, roofer, handyman, drain cleaner, water heater specialist) — multi-tag
- License number + state
- License class / category (master plumber, journeyman, contractor's A/B/C class, etc.)
- License expiry date (where public via state board)
- Bonded (yes/no)
- Insurance verified (where shown on listing)
- BBB accreditation + rating + complaint count

**Service details**
- Services offered: emergency repair, new installation, drain cleaning, sewer line, water heater, HVAC install/repair, electrical panel upgrade, remodeling, etc.
- 24/7 emergency available (yes/no)
- Free estimates offered
- Senior / military discounts (marketing signal)
- Financing offered (huge buy signal for GreenSky / Synchrony reps)
- Warranty period offered

**Operational signals**
- Employee count estimate (from Google "Owned by..." + photos + reviews mentioning "the team")
- Service vehicles photo count
- Years in business
- Multi-location (yes/no) + branch addresses

**Reputation**
- Google rating + review count + last review date
- Review velocity (reviews per month, last 6 months)
- BBB rating + accreditation year
- Angi / HomeAdvisor profile (when linked)

**Geo & coverage**
- Headquarters address + lat/lng
- Service radius (miles, when stated)
- ZIP codes / cities served (when listed)

**Online presence**
- Google Maps URL
- Facebook business page
- Instagram (rare in trades, but valuable signal of marketing maturity)
- YouTube channel (modern contractors)

---

### 3 example use cases

#### 1. ServiceTitan / Housecall Pro sales rep targeting growth-stage contractors

You don't want the 1-truck operator (no budget) OR the 200-truck enterprise (already on competitor). Sweet spot: 3-15 employees, 4.5+ Google rating, 50+ reviews per year, NO obvious software footprint. Filter `employeeCountEstimate BETWEEN 3 AND 15 AND googleRating >= 4.5 AND reviewVelocity >= 4/month`. Output: 600 perfect-fit accounts per metro, with owner cell phones.

#### 2. Home warranty company recruiting service network in Phoenix

You need 200 licensed, insured, bonded plumbers + HVAC techs in the Phoenix metro to fulfill warranty claims. Filter `trade IN (plumber, hvac) AND state=AZ AND insuranceVerified=true AND licenseExpiry > 2026-01-01 AND emergency24_7=true`. Output: vetted contractors ready for partnership outreach.

#### 3. Contractor financing rep (GreenSky / Synchrony / Sunbit)

You sell consumer financing that contractors offer at the point of sale (think: $8,000 HVAC install on 24 months 0% APR). Best targets: contractors doing big-ticket installs who DON'T already advertise financing. Filter `services CONTAINS hvac_install OR water_heater_install AND financingOffered=false AND googleReviewCount >= 100`. Output: contractors leaving deals on the table — easy pitch.

---

### Pricing

**Option A — Rental: $39/month**
Unlimited runs. Reflects higher LTV per lead in this vertical.

**Option B — Pay-Per-Event: $0.04 per lead**
Pay only for delivered leads. Compare: a single closed ServiceTitan deal is worth $5K+ ARR.

Free tier: first 30 leads free.

---

### Output schema example

```json
{
  "businessName": "Rapid Response Plumbing & Drain LLC",
  "ownerName": "Jake Hernandez",
  "profession": "plumber",
  "tradeType": ["plumbing", "drain cleaning", "water heater"],
  "email": "info@rapidresponseaz.com",
  "ownerEmail": "jake@rapidresponseaz.com",
  "emailStatus": "verified",
  "phone": "+1-602-555-0177",
  "officePhone": "+1-602-555-0100",
  "website": "https://rapidresponseplumbingaz.com",
  "licenseNumber": "ROC328477",
  "licenseState": "AZ",
  "licenseClass": "Commercial / Residential L-37",
  "licenseExpiry": "2027-03-15",
  "bonded": true,
  "insuranceVerified": true,
  "bbbAccredited": true,
  "bbbRating": "A+",
  "bbbComplaintsLast3Years": 1,
  "servicesOffered": [
    "emergency_repair",
    "drain_cleaning",
    "sewer_line",
    "water_heater_install",
    "water_heater_repair",
    "leak_detection",
    "fixture_install"
  ],
  "emergency24_7": true,
  "freeEstimates": true,
  "financingOffered": false,
  "warrantyMonths": 12,
  "employeeCountEstimate": 8,
  "yearsInBusiness": 11,
  "multiLocation": false,
  "googleRating": 4.8,
  "googleReviewCount": 312,
  "reviewVelocityPerMonth": 6.2,
  "googleLastReviewAt": "2025-05-20",
  "address": "4421 E Thomas Rd, Phoenix, AZ 85018",
  "lat": 33.4805,
  "lng": -111.9912,
  "serviceRadiusMiles": 35,
  "zipCodesServed": ["85018", "85020", "85021", "85028", "85032", "85254"],
  "googleMapsUrl": "https://maps.google.com/?cid=...",
  "facebook": "https://facebook.com/rapidresponseaz",
  "scrapedAt": "2025-05-21T14:32:00Z"
}
````

***

### Roadmap

- **v1.0** (now) — Google Maps + BBB enrichment + multi-trade detection
- **v1.1** — State license board lookup (CA, TX, FL, AZ, NV first — covers 35% of market)
- **v1.2** — Fleet size detection from review photos (truck count proxy)
- **v1.3** — Software footprint detection (does their site use ServiceTitan / Housecall Pro / Jobber widgets)
- **v1.4** — Sub-trade granularity (sewer specialist vs. fixture installer)
- **v2.0** — Permit data overlay (which contractors pulled which permits last 90 days)

Indie-built. Issues tab for support — reply within 12h.

# Actor input Schema

## `profession` (type: `string`):

Target business type to scrape (e.g. 'real estate agent', 'plumber', 'restaurant')

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

List of cities to scrape. Up to 50.

## `country` (type: `string`):

ISO country code (e.g. US, CA, UK). Used for regional source routing.

## `maxLeadsPerCity` (type: `integer`):

Maximum number of leads to scrape per city. Defaults to 100. Higher values cost more compute.

## `sources` (type: `array`):

Which sources to scrape. gmaps = Google Maps (recommended, broad coverage). yelp = Yelp (EXPERIMENTAL: Yelp aggressively blocks scrapers — usually returns 0 leads even with residential proxy). Stick with gmaps unless you know what you're doing.

## `enrichEmails` (type: `boolean`):

Scrape contact pages + Hunter.io to find verified emails. Adds ~2s per lead.

## `generateColdEmails` (type: `boolean`):

Use Gemini to generate a personalized cold email subject + body for each lead with a verified email.

## `coldEmailTone` (type: `string`):

Writing style for the generated cold email.

## `serviceOffering` (type: `string`):

Short description of your product/service — used to personalize cold emails.

## `geminiApiKey` (type: `string`):

Bring your own Gemini API key for unlimited AI generation. Leave empty to use actor's free tier (limited daily quota). Get key free at https://aistudio.google.com

## Actor input object example

```json
{
  "profession": "plumber contractor",
  "cities": [
    "Austin TX",
    "Dallas TX"
  ],
  "country": "US",
  "maxLeadsPerCity": 100,
  "sources": [
    "gmaps"
  ],
  "enrichEmails": true,
  "generateColdEmails": true,
  "coldEmailTone": "professional"
}
```

# Actor output Schema

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

All scraped leads with business name, phone, website, email, rating, and AI-generated cold email.

## `leadsCsv` (type: `string`):

Same leads exported as CSV for direct import into a spreadsheet or CRM.

## `leadsExcel` (type: `string`):

Same leads exported as Excel (xlsx).

# 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 = {
    "cities": [
        "Austin TX",
        "Dallas TX"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kloude/plumber-contractor-us-lead-scraper").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 = { "cities": [
        "Austin TX",
        "Dallas TX",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kloude/plumber-contractor-us-lead-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "cities": [
    "Austin TX",
    "Dallas TX"
  ]
}' |
apify call kloude/plumber-contractor-us-lead-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=kloude/plumber-contractor-us-lead-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "US Plumber & Contractor Lead Scraper — AI cold email",
        "description": "Scrape US plumber, HVAC, electrician, and home contractor leads from Google Maps with verified emails + AI-personalized cold emails. Highest-LTV B2B niche.",
        "version": "0.1",
        "x-build-id": "izSNufheuV1FI2IVx"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/kloude~plumber-contractor-us-lead-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-kloude-plumber-contractor-us-lead-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/kloude~plumber-contractor-us-lead-scraper/runs": {
            "post": {
                "operationId": "runs-sync-kloude-plumber-contractor-us-lead-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/kloude~plumber-contractor-us-lead-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-kloude-plumber-contractor-us-lead-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "profession",
                    "cities"
                ],
                "properties": {
                    "profession": {
                        "title": "Profession / business type",
                        "type": "string",
                        "description": "Target business type to scrape (e.g. 'real estate agent', 'plumber', 'restaurant')",
                        "default": "plumber contractor"
                    },
                    "cities": {
                        "title": "Cities",
                        "type": "array",
                        "description": "List of cities to scrape. Up to 50.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "country": {
                        "title": "Country code",
                        "type": "string",
                        "description": "ISO country code (e.g. US, CA, UK). Used for regional source routing.",
                        "default": "US"
                    },
                    "maxLeadsPerCity": {
                        "title": "Max leads per city",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum number of leads to scrape per city. Defaults to 100. Higher values cost more compute.",
                        "default": 100
                    },
                    "sources": {
                        "title": "Data sources",
                        "type": "array",
                        "description": "Which sources to scrape. gmaps = Google Maps (recommended, broad coverage). yelp = Yelp (EXPERIMENTAL: Yelp aggressively blocks scrapers — usually returns 0 leads even with residential proxy). Stick with gmaps unless you know what you're doing.",
                        "items": {
                            "type": "string",
                            "enum": [
                                "gmaps",
                                "yelp"
                            ]
                        },
                        "default": [
                            "gmaps"
                        ]
                    },
                    "enrichEmails": {
                        "title": "Find emails",
                        "type": "boolean",
                        "description": "Scrape contact pages + Hunter.io to find verified emails. Adds ~2s per lead.",
                        "default": true
                    },
                    "generateColdEmails": {
                        "title": "Generate AI cold emails",
                        "type": "boolean",
                        "description": "Use Gemini to generate a personalized cold email subject + body for each lead with a verified email.",
                        "default": true
                    },
                    "coldEmailTone": {
                        "title": "Cold email tone",
                        "enum": [
                            "professional",
                            "casual",
                            "punchy"
                        ],
                        "type": "string",
                        "description": "Writing style for the generated cold email.",
                        "default": "professional"
                    },
                    "serviceOffering": {
                        "title": "What you sell",
                        "type": "string",
                        "description": "Short description of your product/service — used to personalize cold emails."
                    },
                    "geminiApiKey": {
                        "title": "Your Gemini API key (optional, BYOK)",
                        "type": "string",
                        "description": "Bring your own Gemini API key for unlimited AI generation. Leave empty to use actor's free tier (limited daily quota). Get key free at https://aistudio.google.com"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
