# Commercial Construction Subcontractors Scraper (`automation_studio/construction-subcontractors-scraper`) Actor

Extract verified commercial construction trade subcontractors, estimators, and specialty trade contractors across US states with direct quotation emails, phone numbers, license numbers, and CSI MasterFormat divisions.

- **URL**: https://apify.com/automation_studio/construction-subcontractors-scraper.md
- **Developed by:** [Automation Studio](https://apify.com/automation_studio) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 verified subcontractor 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

## Commercial Construction Subcontractors Scraper (The Blue Book & AGC)

Extract verified commercial construction trade subcontractors, estimators, and specialty trade contractors across US states with direct quotation emails, phone numbers, license numbers, and CSI MasterFormat divisions.

General contractors, construction estimating teams, building product manufacturers, and equipment rental suppliers constantly require up-to-date lists of qualified trade subcontractors. This scraper automates contractor sourcing across major commercial construction registries, organizing results by MasterFormat divisions with verified estimating and bid contact details.

***

### Key Features

- **Covers 8 Major CSI Trade Divisions**: Commercial Electrical (Div 26), Mechanical & HVAC (Div 23), Commercial Plumbing (Div 22), Concrete & Foundations (Div 03/04), Drywall & Framing (Div 09), Roofing & Waterproofing (Div 07), and Structural Steel (Div 05).
- **Direct Estimating & Plan Room Contacts**: Targets dedicated estimating inboxes (`estimating@`, `bids@`, `commercial@`) and direct office dispatch phone numbers.
- **State Contractor Licensing**: Captures state contractor board license numbers (e.g., CSLB, TDLR, DBPR, ROC) to verify active operational standing.
- **Labor Affiliation Filtering**: Identifies Union vs. Open Shop (Merit Shop) contractor status.
- **Instant High-Volume Streaming**: Delivers pre-verified trade contractors within seconds, scaling smoothly across multi-state territories.

***

### Supported CSI Divisions

| Division Code | Trade Description | Typical Subcontractor Specialties |
| :--- | :--- | :--- |
| `ELECTRICAL` | Division 26: Electrical & Low Voltage | Commercial wiring, switchgear, generators, fire alarms, architectural lighting |
| `HVAC_MECHANICAL` | Division 23: HVAC & Mechanical Systems | Chilled water plants, ductwork, VRF systems, rooftop units, building automation |
| `PLUMBING` | Division 22: Commercial Plumbing & Piping | Domestic water, sanitary waste, medical gas piping, grease traps, backflow |
| `CONCRETE_MASONRY` | Division 03/04: Concrete & Masonry | Footings, post-tension slabs, cast-in-place walls, structural brick, CMU |
| `DRYWALL_ACOUSTICAL` | Division 09: Drywall, Framing & Finishes | Heavy gauge metal stud framing, drywall finishing, ACT ceilings, insulation |
| `ROOFING_WATERPROOFING` | Division 07: Commercial Roofing | TPO, EPDM, PVC membranes, metal standing seam, below-grade waterproofing |
| `STEEL_STRUCTURAL` | Division 05: Structural Steel & Misc Metals | Structural steel erection, stairs, handrails, bar joists, metal decking |

***

### Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `tradeDivision` | String | `ALL` | Select `ELECTRICAL`, `HVAC_MECHANICAL`, `PLUMBING`, `CONCRETE_MASONRY`, `DRYWALL_ACOUSTICAL`, `ROOFING_WATERPROOFING`, `STEEL_STRUCTURAL`, or `ALL`. |
| `state` | String | `ALL` | Select a specific US state (e.g., `CA`, `TX`, `FL`, `NY`) or `ALL` for nationwide coverage. |
| `unionAffiliation` | String | `ALL` | Filter by `UNION`, `OPEN_SHOP`, or `ALL`. |
| `maxResults` | Integer | `100` | Target number of verified subcontractor leads to extract. |
| `requireContact` | Boolean | `true` | Guarantees every record includes a verified estimating email or office phone. |
| `requireEmail` | Boolean | `false` | Filters exclusively for records with direct bid/estimating emails. |
| `deepEmailExtraction` | Boolean | `true` | Crawls contractor plan-room pages to resolve estimating personnel contacts. |

***

### Output Data Structure

```json
{
  "companyName": "Helix Electric Inc.",
  "tradeDivision": "ELECTRICAL",
  "estimatingEmail": "estimating@helixelectric.com",
  "phone": "(858) 535-0505",
  "website": "https://www.helixelectric.com",
  "licenseNumber": "CA-CSLB-476210",
  "laborAffiliation": "OPEN_SHOP",
  "serviceRadiusMiles": 150,
  "streetAddress": "8260 Miralani Dr, San Diego, CA 92126",
  "state": "CA",
  "leadQualityScore": 100
}
```

***

### Common Use Cases

#### 1. General Contractors & Construction Estimators

Quickly build trade subcontractor bid lists (ITBs) for commercial, healthcare, and educational project bid invitations across specific counties.

#### 2. Commercial Building Material Suppliers

Wholesale distributors of lumber, electrical switchgear, plumbing fixtures, and mechanical equipment can identify trade contractors actively bidding projects.

#### 3. Construction Equipment & Tool Rental Companies

Field sales teams at equipment rental companies can generate direct territory calling lists of concrete, steel, and mechanical contractors.

***

### Frequently Asked Questions

##### How are estimating emails verified?

The scraper prioritizes dedicated estimating department emails (`estimating@`, `bids@`, `commercial@`), allowing general contractors to send invitations to bid directly to estimating teams.

##### Are state contractor licenses verified?

Yes. Output records include state board registration formats (such as California CSLB, Texas TDLR, Florida DBPR, and Arizona ROC).

##### Can I export directly to Procore or BuildingConnected?

Yes. You can export datasets to CSV or Excel formatted for straightforward upload into contractor directories and construction management platforms.

# Actor input Schema

## `tradeDivision` (type: `string`):

Select the specific commercial subcontractor trade or construction division to extract.

## `state` (type: `string`):

Target US state for subcontractor licensing and local service coverage.

## `unionAffiliation` (type: `string`):

Filter by labor type or collective bargaining status.

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

The maximum number of verified subcontractor leads to extract.

## `requireContact` (type: `boolean`):

Guarantees that every exported subcontractor has a verified estimating email or direct office phone.

## `requireEmail` (type: `boolean`):

Only export subcontractors that have a direct bid/estimating department email address.

## `deepEmailExtraction` (type: `boolean`):

Crawls contractor websites and plan room portals to resolve direct estimating emails (e.g. estimating@, bids@).

## `proxyConfiguration` (type: `object`):

Recommended for high-volume extraction runs across state directories.

## Actor input object example

```json
{
  "tradeDivision": "ALL",
  "state": "ALL",
  "unionAffiliation": "ALL",
  "maxResults": 100,
  "requireContact": true,
  "requireEmail": false,
  "deepEmailExtraction": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset containing verified commercial trade subcontractors.

# 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("automation_studio/construction-subcontractors-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("automation_studio/construction-subcontractors-scraper").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 automation_studio/construction-subcontractors-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automation_studio/construction-subcontractors-scraper"
        }
    }
}
```

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/2dwXxnZ2V8O0EB54O/builds/KUMwlXOlea9OfjhAw/openapi.json
