# US Contractor License Lead Feed (New Licensees + Alerts) (`latentlark/contractor-license-lead-feed`) Actor

Official contractor license data from WA, TX, CA, AZ and OR in one clean schema. Filter by trade, city, ZIP, county, status and issue date. New-licensee feed, suspended/expired alerts, optional verified website. Pay per row.

- **URL**: https://apify.com/latentlark/contractor-license-lead-feed.md
- **Developed by:** [LatentLark](https://apify.com/latentlark) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 license rows

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

## US Contractor License Lead Feed (New Licensees + Alerts)

**For home-services marketing agencies, insurance agents and field-service SaaS sales teams.** Pull official contractor license records from five state boards (Washington, Texas, California, Arizona, Oregon) in **one clean schema**: business name, license number, trade, status, issue and expiry dates, business phone, city, ZIP and county. Run it once for a prospect list, or schedule it as a **new-licensee feed** with **suspended / expired / reinstated alerts**.

- 🏛️ **Official sources only:** state licensing boards' open data and public search, with the source URL and a verify link on every row.
- 🧰 **Filter like a buyer:** state, trade (plumbing, electrical, HVAC, roofing, solar, pool, general...), city, ZIP, county, license status and issue-date window.
- 🆕 **New since last run:** schedule it weekly and get only licenses that are new since your previous run with the same filters.
- 🚨 **Status-change alerts:** suspended, expired, revoked, inactive, reinstated, or dropped off the board's current list.
- 🌐 **Optional verified website** (off by default): kept only when the homepage shows the license phone number or the exact business name. Never guessed.
- 💸 **Pay per row:** $0.003 per license row. Error, info and per-state status rows are free.

### Quick start (first run in about 10 seconds)

1. Click **Try for free** (or **Start** in Console). The form is prefilled with states **WA + TX**, trade **electrical**, **Max rows 10**.
2. Click **Start**. You get about **10 rows** (5 newest Washington electrical contractors + 5 Texas electrical contractors) in the **Output** tab for about **$0.04** ($0.01 start + 10 x $0.003).
3. Add your trades, cities or counties, pick a mode, raise **Max rows** and save it as a Task. Schedule the Task weekly with mode **New licenses + status-change alerts**.

### Who uses it

- **Home-services marketing agencies:** brand-new plumbers, roofers and HVAC companies need a website, Google Business Profile, LSA and ads. Reach them in their first weeks.
- **Insurance agents and surety brokers:** newly licensed contractors need general liability, workers' comp and bonds. California and Oregon rows include the bond company and the current insurer with its expiry date.
- **Field-service SaaS sales teams** (scheduling, invoicing, CRM): weekly list of new licensees per trade and territory.
- **Suppliers and distributors:** new accounts by trade and county.
- **Compliance and partner managers:** alerts when a subcontractor's license is suspended, expires or is reinstated.
- **M\&A brokers:** filter by issue date to find established firms (yearsLicensed).

### States, sources and coverage

| State | Official source | What it covers | Phone | Issue date | Freshness |
|---|---|---|---|---|---|
| WA | [Washington L\&I contractor license data](https://data.wa.gov/d/m8qx-ubtq) (data.wa.gov, PDDL public domain) | All construction, electrical, plumbing and elevator contractor registrations, every status (about 161,000 records, licensed since 1935) | Yes | Yes (original effective date) | Daily |
| TX | [TDLR all licenses](https://data.texas.gov/d/7358-krk7) (data.texas.gov) | TDLR business-level contractor licenses: A/C (HVAC), electrical, electrical sign, appliance installation, elevator, water well (about 38,000). Technician and apprentice licenses are never returned | Electrical and most others yes; A/C no | Not published | Daily |
| CA | [CSLB Public Data Portal, List by Classification](https://www.cslb.ca.gov/onlineservices/dataportal/ListByClassification) | All currently renewed licenses in the chosen CSLB classifications (B, C-10, C-36, C-39, C-46, C-53 and 70+ more) | Yes | Yes | Live at download |
| AZ | [Arizona ROC public contractor search](https://azroc.my.site.com/AZRoc/s/contractor-search) | All ROC licenses in the chosen classifications and/or cities, every status (Active, Suspended, Expired, Revoked, Cancelled) | Yes | Yes | Live |
| OR | [Oregon CCB active licenses](https://data.oregon.gov/d/g77e-6bhs) (data.oregon.gov, public domain) | All active CCB licenses (about 56,000) with bond and liability insurer | Yes | Yes (original registration) | Daily |

Each state is fetched independently with retries. If one board is slow or down, the other states still deliver and you get a free `stateStatus` row explaining what happened.

### Input

| Field | What it does |
|---|---|
| `states` | Any of `WA`, `TX`, `CA`, `AZ`, `OR` |
| `trades` | Plain trades (`plumbing`, `electrical`, `hvac`, `roofing`, `solar`, `pool`, `painting`, `landscaping`, `general`, `concrete`, `flooring`, `fencing`, `low-voltage`, `fire-protection`, `handyman`...) or board codes (`C-36`, `CR-42`). California needs at least one |
| `cities`, `zipCodes`, `counties` | Optional location filters (business address as listed by the board) |
| `licenseStatus` | Default `ACTIVE`. Pick `ANY` for every status |
| `issuedAfter` / `issuedBefore` | `YYYY-MM-DD` or relative like `30 days`, `6 months` |
| `mode` | `all`, `newSinceLastRun`, `statusChanges`, `newAndStatusChanges` |
| `maxResults` | Hard cap on charged rows per run (split evenly across states). `maxResultsPerState` overrides the split |
| `enrichWebsites` | Off by default. Verified website lookup, $0.004 per website found. `maxWebsiteLookups` caps it |
| `emitAllOnFirstRun` | First monitoring run returns the current matches as the baseline (default on) |
| `includeRemovedAlerts` | Alert when a license drops off a current-only list (TX, CA, OR) |
| `snapshotName` | Optional fixed name for the monitoring snapshot |
| `includeStateSummaryRows` | One free summary row per state |

Example: new roofers and solar installers in three metros, weekly:

```json
{
  "states": ["WA", "AZ", "CA"],
  "trades": ["roofing", "solar"],
  "counties": ["King", "Maricopa", "San Diego"],
  "mode": "newAndStatusChanges",
  "maxResults": 500
}
```

### Output

One dataset item per license, always in the same field order (see the **Export** view). Example (real row, Arizona):

```json
{
  "rowType": "license",
  "alertType": null,
  "state": "AZ",
  "licenseNumber": "342306",
  "businessName": "HERRERA ROOFING LLC",
  "licenseType": "Dual (residential + commercial) contractor license",
  "classification": "CR-42 Roofing",
  "trades": ["roofing"],
  "status": "ACTIVE",
  "statusRaw": "Active",
  "previousStatus": null,
  "issueDate": "2022-12-20",
  "expirationDate": "2026-12-31",
  "yearsLicensed": 3,
  "businessType": "LLC",
  "isIndividual": false,
  "phone": "+19286061446",
  "address": null,
  "city": "Flagstaff",
  "zip": "86004",
  "county": "Coconino",
  "countySource": "zip (US Census ZCTA-county)",
  "website": null,
  "sourceName": "Arizona Registrar of Contractors public contractor search",
  "sourceUrl": "https://azroc.my.site.com/AZRoc/s/contractor-search",
  "verifyUrl": "https://azroc.my.site.com/AZRoc/s/contractor-search?licenseId=a0o8y000000U4efAAC",
  "detectedAt": "2026-11-13T19:13:34+00:00"
}
```

Row types:

- `license`: a matching license (mode `all`, or the first monitoring run).
- `newLicense`: not in your previous snapshot.
- `statusChange`: `alertType` is `suspended`, `expired`, `revoked`, `inactive`, `reinstated` or `removedFromSource`, with `previousStatus`.
- `stateStatus`, `info`, `error`: free explanation rows (a state failed, was skipped for a filter it cannot apply, or matched nothing).

Other fields: `bondCompany`, `bondAmount`, `insuranceType`, `insuranceCompany`, `insuranceExpirationDate` (CA, OR), `websiteDomain`, `websiteMatch` (`phone` or `nameOnPage` when verified; `notVerified`, `lookupError` or `skipped: ...` otherwise, all free), `websiteSource`, `websitePhone`, `sourceLicense`, `note`. A run summary per state is saved as `SUMMARY` in the run's key-value store.

### How monitoring works

The Actor saves a snapshot in your account's key-value store `contractor-license-lead-feed-snapshots`, keyed by a hash of your filters (states, trades, cities, ZIPs, counties, issue dates). Each saved Task therefore keeps its own history. Every monitoring run scans the full filtered set (all statuses, so suspensions are caught even if you only want active leads), compares it with the snapshot and returns only new licenses and status changes. Rows that do not fit under `maxResults` are not marked as seen, so they come back in the next run. Keep filters narrow (trade + county) for big states; one scan is capped at 200,000 licenses per state.

### Pricing (pay per event)

| Event | Price | When |
|---|---|---|
| `apify-actor-start` | $0.01 | Once per run |
| `license` | $0.003 | Each delivered license, new-license or status-change row |
| `website-found` | $0.004 | Each verified website (only when `enrichWebsites` is on) |

Free: per-state status rows, info and error rows, duplicates, baseline-only snapshots. Examples: 100 rows = $0.31. 1,000 rows with 400 websites found = $4.61. Platform usage is included.

### Privacy

Business license data only. The Actor never outputs principal, owner or qualifying-party names, owner phones, mailing addresses, emails, SSNs or dates of birth (boards publish no emails; CA by law). Street addresses are dropped for sole proprietors and individuals (WA and CA flag them; for TX, OR and AZ the Actor drops the street whenever the license name looks like a person's name). City, ZIP and county are kept. Website lookup is skipped for licenses held in a person's own name. A sole proprietor's license name is part of the public business record and is kept. Verify with the board before acting on any record.

### Limitations

- Texas publishes no issue date: Texas is skipped (with a free explanation row) when an issue-date filter is set. Use `newSinceLastRun` for new Texas licensees. Texas A/C contractors have county only (no city, ZIP or phone).
- Oregon has no trade field: only `general` (residential and commercial general contractors) can be filtered there; other trades skip Oregon with an explanation.
- California downloads are per classification, so California needs a trade or code. A big class like `B` (about 100,000 licenses) takes 1 to 2 minutes.
- Arizona needs a trade/code or a city. Very broad Arizona searches may be capped by the site; add a city.
- Washington and Arizona have no county field; county is derived from the ZIP (US Census ZIP-to-county file).
- Status "EXPIRED" for TX and OR is derived from the expiry date in the current list.
- Data is as published by each board; changes can appear with the board's own delay.

### FAQ

**I got 0 results.** Read the free `stateStatus` row: it says whether the state was skipped (filter it cannot apply), failed (board down, rerun later) or matched nothing. Then try a broader trade, remove the city or ZIP (cities must match the board's spelling), widen the issue-date window or set status to `ANY`.

**Why only N rows per state?** `maxResults` is split evenly across states. Set `maxResultsPerState` to change it.

**My first monitoring run returned many rows.** That is the baseline (`emitAllOnFirstRun`). Turn it off to save the baseline for free and only get changes from the next run.

**Is the website guessed?** No. A website is returned only when its homepage shows the license phone number or the exact business name; otherwise it stays empty and is not charged.

**How do I get it into a spreadsheet or CRM?** Use the Export view (CSV/Excel), the API, or [Google Sheets Export](https://apify.com/latentlark/sheets-export).

### More from LatentLark

- [Google Local Services Ads Scraper (LSA Leads + Website)](https://apify.com/latentlark/google-local-services-ads): which plumbers, roofers and HVAC pros already pay for Google Local Services Ads in a city or ZIP. Pair it with this feed to split new licensees from active advertisers.
- [Google Maps No-Website Leads (Audit & Pitch)](https://apify.com/latentlark/local-lead-audit): audit local businesses' websites and get a pitch angle per lead.
- [Google Maps Rank Tracker (Geo-Grid Local SEO Heatmap)](https://apify.com/latentlark/google-maps-rank-tracker): where a business ranks on Google Maps across a city.
- [Google Sheets Export](https://apify.com/latentlark/sheets-export): send any dataset to Google Sheets.

# Actor input Schema

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

Official state boards to read. WA (L\&I), TX (TDLR), CA (CSLB), AZ (ROC), OR (CCB). Each state is fetched independently: if one board is down, the others still deliver.

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

Optional. Plain trades like plumbing, electrical, hvac, roofing, solar, pool, painting, landscaping, general, or a board code like C-36 (CA) or CR-42 (AZ). Supported trade words: general, plumbing, electrical, hvac, roofing, solar, pool, painting, landscaping, flooring, concrete, masonry, tile, drywall, insulation, carpentry, fencing, glass, fire-protection, low-voltage, security, sign, elevator, well-drilling, demolition, excavation, tree, siding, gutters, garage-doors, handyman, appliance, sheet-metal, asbestos. Empty = all trades (California needs at least one trade).

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

Optional. Business city as listed by the board, e.g. Seattle, Austin, Phoenix. Exact city name, case-insensitive.

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

Optional. 5-digit business ZIP codes.

## `counties` (type: `array`):

Optional. County names without the word County, e.g. King, Travis, Maricopa. For WA and AZ the county comes from the ZIP code (US Census ZIP-to-county file).

## `licenseStatus` (type: `array`):

Which license statuses to return. Default: ACTIVE only. Pick ANY to include every status. Status-change alerts are always reported whatever you pick here.

## `issuedAfter` (type: `string`):

Optional. YYYY-MM-DD, or a relative window like 30 days or 6 months (= licensed in the last 30 days / 6 months). Texas publishes no issue date, so Texas is skipped (with an explanation row) when this is set.

## `issuedBefore` (type: `string`):

Optional. YYYY-MM-DD or a relative value like 1 year.

## `mode` (type: `string`):

All matching licenses, or a monitoring feed. Monitoring modes compare with the snapshot saved by your previous run with the same filters and return only what changed. The first monitoring run saves the baseline.

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

Hard cap on charged rows for the run. Split evenly across states unless you set Max rows per state.

## `maxResultsPerState` (type: `integer`):

Optional cap per state. Empty = Max rows divided by the number of states.

## `enrichWebsites` (type: `boolean`):

Off by default. Looks up each business's own website with a web search and keeps it only when the homepage shows the license phone number or the exact business name. Never guessed. Skipped for licenses held in a person's own name. Adds a few seconds per row.

## `maxWebsiteLookups` (type: `integer`):

Caps website lookups per run. Rows beyond the cap are delivered without a website.

## `emitAllOnFirstRun` (type: `boolean`):

In monitoring modes, the first run (no snapshot yet) returns the currently matching licenses (up to Max rows) as the baseline. Turn off to only save the baseline silently (free).

## `includeRemovedAlerts` (type: `boolean`):

TX, CA, AZ and OR publish current licenses only. When a license from your last snapshot is no longer listed (expired, cancelled, suspended or revoked), emit a removedFromSource alert.

## `snapshotName` (type: `string`):

Optional. By default the snapshot is keyed by a hash of your filters, so each saved task keeps its own history. Set a name to share or reset a snapshot on purpose.

## `includeStateSummaryRows` (type: `boolean`):

Adds one free stateStatus row per state. Errors, skipped states and states with 0 results always get a row.

## Actor input object example

```json
{
  "states": [
    "WA",
    "TX"
  ],
  "trades": [
    "electrical"
  ],
  "licenseStatus": [
    "ACTIVE"
  ],
  "mode": "all",
  "maxResults": 10,
  "enrichWebsites": false,
  "maxWebsiteLookups": 50,
  "emitAllOnFirstRun": true,
  "includeRemovedAlerts": true,
  "includeStateSummaryRows": false
}
```

# Actor output Schema

## `overview` (type: `string`):

State, license number, business name, trade, status, issue and expiry dates, phone, city, ZIP, county, website.

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

Per-state rows, new licensees, alerts, errors and website lookups.

# 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": [
        "WA",
        "TX"
    ],
    "trades": [
        "electrical"
    ],
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("latentlark/contractor-license-lead-feed").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": [
        "WA",
        "TX",
    ],
    "trades": ["electrical"],
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("latentlark/contractor-license-lead-feed").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": [
    "WA",
    "TX"
  ],
  "trades": [
    "electrical"
  ],
  "maxResults": 10
}' |
apify call latentlark/contractor-license-lead-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,latentlark/contractor-license-lead-feed"
        }
    }
}
```

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/fCCOgxhvnzcvlx1Xd/builds/IIceY69hJ0XnHk8pn/openapi.json
