# BuildZoom Scraper - Contractors, Licenses, Permits & Leads (`scrapesage/buildzoom-scraper`) Actor

Scrape US contractors from BuildZoom by city and trade. Get phone, address, geo, licenses, BuildZoom score, building-permit history, ratings, reviews and ready-to-contact B2B leads. No login, no browser.

- **URL**: https://apify.com/scrapesage/buildzoom-scraper.md
- **Developed by:** [Scrape Sage](https://apify.com/scrapesage) (community)
- **Categories:** Lead generation, Agents, Integrations
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.81 / 1,000 contractor scraped (listing)s

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

## BuildZoom Scraper — US Contractors, Licenses, Permits & B2B Leads

Extract **complete US contractor data** from BuildZoom — the fields other scrapers leave empty: **real phone numbers, full license registry (numbers + issuing authority + jurisdiction), the BuildZoom Score, building-permit history with job values, ratings and customer reviews**. Every contractor comes out as a **ready-to-contact B2B lead** with a 0–100 lead score.

Search by **city and trade** (general contractors, electricians, plumbers, roofers, HVAC, painters, remodelers, architects…), paste BuildZoom URLs, or pass contractor profiles directly. No login, no cookies, no browser — fast JSON-LD extraction.

### Why this BuildZoom scraper?

Most contractor scrapers return a name and a profile link and stop there. This actor pulls the structured data BuildZoom publishes and ships the **richest contractor lead record in the category**:

| Data | Typical scrapers | This actor |
|---|---|---|
| Contractor name + profile URL | ✅ | ✅ |
| Direct phone number | partial | ✅ (≈100% from listings) |
| Full mailing address + lat/lng | partial | ✅ |
| License registry (number, type, **issuing authority**, jurisdiction) | ❌ | ✅ every license |
| License-verified / active status | ❌ | ✅ |
| **BuildZoom Score** + state ranking | ❌ | ✅ |
| **Building-permit history** (project type, address, date, valuation) | ❌ | ✅ opt-in |
| Services / specialties catalog | ❌ | ✅ |
| Star rating + customer reviews | partial | ✅ opt-in |
| Areas served | ❌ | ✅ |
| Lead score (0–100) | ❌ | ✅ |
| Only-new / score-change monitoring | ❌ | ✅ |
| Website emails/phones/socials | ❌ | ✅ best-effort |

### Use cases

- **Lead generation** — contractors are active buyers: building materials, tools, software, insurance, bonding, financing, recruiting and subcontracting. Filter by trade, city, license status and BuildZoom Score, then reach them by phone (always present) or enriched email.
- **Construction market intelligence** — map who is licensed and active in a metro, which trades dominate, and recent **permit activity** with job valuations.
- **Competitive research** — benchmark BuildZoom Scores, review counts and permit volume against your own crews.
- **Sales territory building** — pull every licensed contractor in a list of cities and load straight into your CRM.
- **Recruiting** — find established, licensed firms by trade and location.
- **Compliance & verification** — capture license numbers, issuing authorities and jurisdictions for vendor onboarding.

### How to use

1. [Sign up for Apify](https://console.apify.com/sign-up) — the free plan is enough to try this actor.
2. Open the **BuildZoom Scraper**, enter trades in **searchTerms** and cities in **locations** (or paste BuildZoom URLs), and click **Start**.
3. Watch contractor leads stream into the dataset table.
4. **Export** as JSON, CSV, Excel, XML, or RSS — or pull results programmatically via the [Apify API](https://docs.apify.com/api/v2).

### Input

```json
{
    "searchTerms": ["general contractors", "electricians"],
    "locations": ["Chicago", "Austin, TX"],
    "includeProfileDetails": true,
    "includePermits": true,
    "includeReviews": false,
    "maxContractorsPerSearch": 100
}
```

- **searchTerms** — trades, combined with every location. Friendly names (`general contractors`, `plumbers`, `roofers`, `hvac`, `painters`, `landscaping`, `handyman`, `architects`, `home builders`, `solar`, `remodeling`) or raw BuildZoom slugs (`general-contractors`, `kitchen-and-bathroom-remodeling`).
- **locations** — US cities: `Chicago`, `Los Angeles`, `Austin, TX`, `New York, NY`, or a BuildZoom city slug (`austin-tx`).
- **startUrls** — any BuildZoom URL: a search page (`/chicago/general-contractors`) or a contractor profile (`/contractor/<slug>`). Auto-routed.
- **contractorUrls** — direct contractor profile URLs or slugs; always fetched with full detail.
- **includeProfileDetails** *(default true)* — open each profile for BuildZoom Score, full license list, license-verified status, permit history and reviews (billed as `contractorDetail`). Turn off for a fast listing-only run (`contractor`).
- **includePermits** *(default true)* — include a sample of the contractor's building-permit history.
- **includeReviews** *(default false)* — also output one record per customer review.
- **enrichWebsiteContacts** *(default false)* — when a profile links the contractor's own website, crawl it for emails/phones/socials.
- **monitorMode** / **monitorKey** — only output new contractors (plus existing ones whose BuildZoom Score or review count changed).
- **sortBy**, **minRating**, **maxContractorsPerSearch**, **maxPagesPerSearch**, **deduplicateContractors**, **maxConcurrency**, **proxyConfiguration** — fine controls.

### Output

One record per contractor (`type: "contractor"`), plus optional review records (`type: "review"`):

```json
{
    "type": "contractor",
    "slug": "bezruchuk-inc",
    "name": "Bezruchuk Inc",
    "profileUrl": "https://www.buildzoom.com/contractor/bezruchuk-inc",
    "contractorType": "GeneralContractor",
    "phone": "(425) 243-3470",
    "streetAddress": "11422 184th St Ct E",
    "city": "Puyallup",
    "state": "WA",
    "postalCode": "98374",
    "country": "US",
    "latitude": 47.08946,
    "longitude": -122.276899,
    "buildZoomScore": 173,
    "scoreRankText": "Ranks in the top 1% of 128,670 Washington licensed contractors",
    "licenseStatus": "active",
    "isLicenseVerified": true,
    "licenseCount": 2,
    "licenses": [
        {
            "type": "Construction Contractor, General",
            "number": "BEZRUI*867DG",
            "category": "License",
            "issuingAuthority": "Washington State Department of Labor & Industries",
            "jurisdiction": "Washington",
            "jurisdictionType": "State"
        }
    ],
    "services": ["Kitchen Remodel", "Bathroom Remodel", "Hardwood Flooring"],
    "rating": 5,
    "reviewCount": 29,
    "permitsSampleCount": 17,
    "permits": [
        {
            "type": "Single family remodel",
            "address": "10213 NE 19th Pl, Bellevue, WA, 98004",
            "date": "2025-01-31",
            "description": "Remodel of kitchen, powder room and laundry on first floor",
            "valuation": null
        }
    ],
    "areasServed": ["Bellevue", "Seattle"],
    "leadScore": 99,
    "searchTrade": "general-contractors",
    "searchLocation": "puyallup-wa",
    "scrapedAt": "2026-06-19T12:00:00.000Z"
}
```

### Automate & schedule

Run this actor on autopilot and pull results into your own stack:

- **[Apify API](https://docs.apify.com/api/v2)** — start runs, fetch datasets, and manage schedules over REST.
- **[apify-client for JavaScript](https://docs.apify.com/api/client/js/)** and **[apify-client for Python](https://docs.apify.com/api/client/python/)** — official SDKs.
- **[Schedules](https://docs.apify.com/platform/schedules)** — run it daily/weekly to keep a contractor list fresh; pair with **monitorMode** to capture only newly listed contractors and updated profiles.
- **[Webhooks](https://docs.apify.com/platform/integrations/webhooks)** — trigger downstream actions (CRM import, Slack alert, email sequence) the moment a run finishes.

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });

const run = await client.actor('scrapesage/buildzoom-scraper').call({
    searchTerms: ['roofers'],
    locations: ['Dallas, TX', 'Houston, TX'],
    includeProfileDetails: true,
    maxContractorsPerSearch: 200,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Got ${items.length} contractor leads`);
```

### Integrate with any app

Connect the dataset to 5,000+ apps — no code required:

- **[Make](https://docs.apify.com/platform/integrations/make)** — multi-step automation scenarios.
- **[Zapier](https://docs.apify.com/platform/integrations/zapier)** — push new contractor leads straight into your CRM.
- **[Slack](https://docs.apify.com/platform/integrations/slack)** — get notified when a monitored search finds new contractors.
- **[Google Drive / Sheets](https://docs.apify.com/platform/integrations/drive)** — auto-export every run to a spreadsheet.
- **[Airbyte](https://docs.apify.com/platform/integrations/airbyte)** — pipe results into your data warehouse.
- **[GitHub](https://docs.apify.com/platform/integrations/github)** — trigger runs from commits or releases.

### Use with AI assistants (MCP)

The output is clean, LLM-ready JSON. Call this actor from Claude, ChatGPT, or any agent framework through the **[Apify MCP server](https://docs.apify.com/platform/integrations/mcp)** — ask your assistant to "find licensed roofers in Dallas with a high BuildZoom score and list their phone numbers" and let it run this scraper for you.

### Agent-ready: autonomous payments (x402 & Skyfire)

This actor is **agent-ready** — AI agents can discover it, run it, and **pay for it autonomously**, with no Apify account and no human in the loop. It uses [pay-per-event](https://docs.apify.com/platform/actors/publishing/monetize/pay-per-event) pricing and [limited permissions](https://docs.apify.com/platform/actors/development/permissions), so it qualifies for Apify's agentic-payment standards:

- **[x402](https://docs.apify.com/platform/integrations/x402)** — an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) — no account, no API key.
- **[Skyfire](https://docs.apify.com/platform/integrations/skyfire)** — agent-to-service payments for fully autonomous AI-agent workflows.

Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.

### More scrapers from scrapesage

Build a complete **US B2B lead-gen stack** with the rest of the scrapesage directory:

- **[TaxBuzz Scraper](https://apify.com/scrapesage/taxbuzz-scraper)** — tax preparers, CPAs & accountant leads.
- **[FindLaw Scraper](https://apify.com/scrapesage/findlaw-scraper)** — lawyers, law firms & leads.
- **[Healthgrades Scraper](https://apify.com/scrapesage/healthgrades-scraper)** — doctors, reviews & provider leads.
- **[WebMD Scraper](https://apify.com/scrapesage/webmd-scraper)** — physicians, specialties & provider leads.
- **[Insurance Agent Scraper](https://apify.com/scrapesage/insurance-agent-scraper)** — State Farm & Farmers agent leads.
- **[US Business Formation Scraper](https://apify.com/scrapesage/us-business-formation-scraper)** — newly registered LLCs & companies.
- **[SAM.gov Scraper](https://apify.com/scrapesage/sam-gov-scraper)** — federal contract opportunities & contacts.
- **[Rent.com Scraper](https://apify.com/scrapesage/rent-com-scraper)** — apartments, rentals & property-manager leads.

### Tips

- **City slugs**: BuildZoom uses a bare slug for big cities (`chicago`, `los-angeles`) and `city-st` for others (`austin-tx`, `new-york-ny`). The actor tries both automatically from a `City, ST` input — or just paste the exact BuildZoom search URL into `startUrls`.
- **Cost control**: a listing-only run (`includeProfileDetails: false`) is the cheapest way to harvest phone + license + address at scale. Turn on profile details only when you need BuildZoom Scores, permits and reviews.
- **Big metros**: raise `maxPagesPerSearch` to go deeper; combine several trades and cities in one run.
- **Recurring monitoring**: combine [Schedules](https://docs.apify.com/platform/schedules) with `monitorMode` to track only newly listed contractors and updated scores/reviews.

### FAQ

**How do I scrape contractors for a specific city?** Put the city in `locations` (`Chicago`, `Austin, TX`) and the trade in `searchTerms` (`general contractors`, `electricians`). The actor resolves the BuildZoom city slug for you.

**Where do the phone numbers come from?** From BuildZoom's own public contractor data — they're present on the listing pages, so you get a phone for ~100% of contractors without even opening the profile.

**Can I get license numbers?** Yes. Every license is captured with its number, type, issuing authority and jurisdiction (city/state) — ideal for verification and compliance.

**What is the BuildZoom Score?** BuildZoom's proprietary ranking of a contractor's track record. The actor returns the numeric score plus the "ranks in the top X% of N state contractors" context.

**Can I export to Google Sheets, CSV, or Excel?** Yes — one click in the dataset view, or automatically on every run via the [Google Drive integration](https://docs.apify.com/platform/integrations/drive).

**How do I monitor new contractors automatically?** Turn on `monitorMode` and create a [Schedule](https://docs.apify.com/platform/schedules); the actor remembers what it has seen and emits only new contractors (and contractors whose BuildZoom Score or review count changed).

**A field is null — why?** Some contractors genuinely don't have reviews yet, a published valuation, or a verified license. Fields are `null` only when the data doesn't exist, not because the scraper skipped them.

**Is scraping BuildZoom legal?** This actor collects publicly available data only. You are responsible for using the data in compliance with applicable laws (e.g. CCPA for personal data) and BuildZoom's terms.

### Need help?

Open an issue on the actor's **Issues** tab, or visit the [Apify help center](https://help.apify.com/). Feature requests are welcome — this actor is actively maintained.

# Actor input Schema

## `searchTerms` (type: `array`):

Contractor trades to search, combined with every location. Use friendly names ('general contractors', 'electricians', 'plumbers', 'roofers', 'hvac', 'painters', 'landscaping', 'handyman', 'architects', 'home builders', 'solar', 'remodeling') or a raw BuildZoom trade slug (e.g. 'general-contractors', 'kitchen-and-bathroom-remodeling').

## `locations` (type: `array`):

US cities to search. Use a plain city ('Chicago', 'Los Angeles'), a 'City, ST' string ('Austin, TX', 'New York, NY') or a BuildZoom city slug ('austin-tx'). Each location is combined with every trade.

## `startUrls` (type: `array`):

Paste any BuildZoom URL — a search page (https://www.buildzoom.com/chicago/general-contractors) or a contractor profile (https://www.buildzoom.com/contractor/<slug>). Auto-routed.

## `contractorUrls` (type: `array`):

Direct contractor profile URLs or slugs (e.g. 'https://www.buildzoom.com/contractor/bezruchuk-inc' or just 'bezruchuk-inc'). Always fetched with full profile detail.

## `sortBy` (type: `string`):

Optional BuildZoom result sort. Leave as default (BuildZoom relevance / BZ-score ranking) for the most useful order.

## `minRating` (type: `integer`):

Only keep contractors with a star rating greater than or equal to this (0 = no filter). Note: many contractors have no reviews yet and will be dropped if you set this.

## `includeProfileDetails` (type: `boolean`):

Open each contractor's profile to add the BuildZoom Score + ranking, full license list (numbers, issuing authorities, jurisdictions), license-verified status, building-permit history sample (project type, address, date, valuation) and reviews. One extra request per contractor (billed as 'contractorDetail'). Turn off for a fast, cheap listing-only run.

## `includePermits` (type: `boolean`):

Include a sample of the contractor's building-permit history (project type, address, date, description, job valuation) in each record. Requires profile details.

## `includeReviews` (type: `boolean`):

Also output one record per customer review (author, date, star rating, title, body) for each contractor. Requires profile details.

## `maxReviewsPerContractor` (type: `integer`):

Cap the number of review records emitted per contractor.

## `enrichWebsiteContacts` (type: `boolean`):

When a contractor's own website is linked on their profile, crawl it (home + contact/about) for emails, phone numbers and social links. BuildZoom only links a website on some claimed/premium profiles, so this is best-effort — the phone number is always available regardless.

## `deduplicateContractors` (type: `boolean`):

Emit each contractor only once per run, even if they appear in several searches.

## `maxContractorsPerSearch` (type: `integer`):

Upper limit of contractors collected per trade × location (or per start URL).

## `maxPagesPerSearch` (type: `integer`):

Maximum number of result pages to paginate per search (~25 contractors per page).

## `monitorMode` (type: `boolean`):

Remember contractors across runs in a named key-value store and emit only NEW contractors, plus existing ones whose permit count or BuildZoom score changed (changeType: new / new\_permit / score\_change). Combine with Apify Schedules to build a recurring contractor & permit feed. This is independent of (and complementary to) the platform scheduler.

## `monitorKey` (type: `string`):

Names the monitor memory so different saved searches don't collide (store: buildzoom-monitor-<key>).

## `maxConcurrency` (type: `integer`):

Maximum number of pages fetched in parallel.

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

Proxy settings. BuildZoom serves clean pages to Apify datacenter proxies (the default). If you ever hit Cloudflare challenges, switch the group to RESIDENTIAL.

## `urlsFromFile` (type: `string`):

Paste a list of URLs (one per line), OR one link to a .txt/.csv file, Google Sheet or Google Drive file containing them. Lets you import many Start URLs at once instead of typing each. Google Sheet/Drive share links are handled automatically.

## Actor input object example

```json
{
  "searchTerms": [
    "general contractors"
  ],
  "locations": [
    "Chicago"
  ],
  "sortBy": "",
  "minRating": 0,
  "includeProfileDetails": true,
  "includePermits": true,
  "includeReviews": false,
  "maxReviewsPerContractor": 20,
  "enrichWebsiteContacts": false,
  "deduplicateContractors": true,
  "maxContractorsPerSearch": 100,
  "maxPagesPerSearch": 15,
  "monitorMode": false,
  "monitorKey": "default",
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped records in the default dataset. Each row is tagged with a `type` (contractor or review); use the Contractors / Reviews views to filter the columns.

# 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 = {
    "searchTerms": [
        "general contractors"
    ],
    "locations": [
        "Chicago"
    ],
    "urlsFromFile": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesage/buildzoom-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 = {
    "searchTerms": ["general contractors"],
    "locations": ["Chicago"],
    "urlsFromFile": "",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapesage/buildzoom-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 '{
  "searchTerms": [
    "general contractors"
  ],
  "locations": [
    "Chicago"
  ],
  "urlsFromFile": ""
}' |
apify call scrapesage/buildzoom-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapesage/buildzoom-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/qZ4DrNk69vbnmNW4n/builds/28ytdiQvGBUxABLbP/openapi.json
