# US Contractor License Scraper - Licensed Contractor Leads (`rel8ble/us-contractor-license-scraper`) Actor

Licensed contractor leads from state licensing open data: WA L\&I, OR CCB + BCD, TX TDLR, CT DCP, NY DOL. Business, licence no. / type / status / dates, trades (roofing, HVAC, electrical, plumbing, solar ...), phone, address, bond + insurance. $0.40 / 1,000.

- **URL**: https://apify.com/rel8ble/us-contractor-license-scraper.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** Lead generation, Business, Real estate
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 results

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/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 Scraper - Licensed Contractor Leads & License Lookup

**Contractor license scraper** and **licensed contractor leads** API for five US states: pull **active contractor licences** from the official state licensing open data of **Washington (L\&I), Oregon (CCB + Building Codes Division), Texas (TDLR), Connecticut (DCP) and New York (DOL Contractor Registry)**. Each row has the **business name, licence number, licence type and status, trades (roofing, HVAC, electrical, plumbing, solar, pool, general ...), business phone, address, ZIP, county, first-licensed / issue / expiration dates**, plus **bond and liability insurance** (Oregon) and **workers comp, MWBE and violation flags** (New York).

Use it as a **contractor lead list**, a **contractor license lookup / verification** feed, a **new contractor licences** feed (licensed in the last N days), or an **expiring licences** list for bond, insurance and software sellers. Plain HTTP against the states' own open-data APIs: no browser, no login, no proxy. **$0.40 per 1,000 licences.**

### What you get

- **Who**: business / DBA name, licence holder / principal, legal form, "is a business entity" flag.
- **The licence**: number, type ("Residential General Contractor", "A/C Contractor", "Electrical Sign Contractor", "Home Improvement Contractor" ...), class code, status, active flag, Washington specialties.
- **Trades**: 23 normalised trade tags so one filter works across all states: general, residential, commercial, electrical, plumbing, hvac, roofing, solar, pool, elevator, sign, demolition, abatement, underground-utility, fire-protection, painting, flooring-tile, landscaping, concrete-masonry, windows-doors, appliance, security-locks, home-inspection.
- **Contact**: business phone (Washington, Oregon CCB, Texas, New York), street address, city, state, ZIP, county, one-line address.
- **Dates**: first licensed, current term / issue date, expiration, licence age in days, days until expiration.
- **Extras**: surety bond company / amount / expiry and insurance company / amount / expiry (Oregon CCB), Washington UBI business id, New York workers comp, MWBE and debarred / wage / safety-violation flags, coordinates (New York).

### Sample output

Real rows from default runs on 2026-12-01 (one per registry):

| Business | Licence type | Trades | Phone | Location | Licence # | Licensed | Expires | State |
|---|---|---|---|---|---|---|---|---|
| YATES LINE CONSTRUCTION CO LLC | Construction Contractor | general | +15035927696 | Canby, OR 97013 | YATESLC741QT | 2026-11-30 | 2028-11-30 | WA |
| 5th Alarm Fiber LLC | Public Work Contractor Registration | - | +18455851025 | Kingston, NY 12401 | 26-9Y38Y-CR | 2026-11-30 | 2028-11-30 | NY |
| OLDE NEW ENGLAND SALVAGE COMPANY | Demolition Contractor | demolition | - | Bozrah, CT 06334 | DMCR.003658 | 2026-11-27 | 2027-11-30 | CT |
| AMERICAN MARBLE & GRANITE INC | Residential General Contractor | general, residential | +13608339905 | Camas, WA 98607 | 99952 | 1994-07-07 | 2027-05-10 | OR |
| RENUITY OPERATIONS LLC | Plumbing Contractor | plumbing | - | Madison, WI 53716 | PB3392 | - | 2029-07-01 | OR |
| ROYALTY SIGNS & LIGHTING | Electrical Sign Contractor | electrical, sign | +19794851144 | College Station, TX 77845 | 19313 | - | 2027-11-09 | TX |

In a default run (100 rows, 6 registries) 96% had a business name, 67% a phone, 100% a ZIP and an expiration date, 84% at least one trade tag.

### Registries covered

| Key | State | Registry | Active licences (Dec 2026) | Phone | First-licensed date |
|---|---|---|---|---|---|
| `wa-lni` | WA | Washington L\&I contractor registrations (construction, electrical, plumbing, elevator) | ~76,000 | yes | current term start |
| `or-ccb` | OR | Oregon Construction Contractors Board | ~56,600 | yes | yes |
| `or-bcd` | OR | Oregon Building Codes Division trade contractors (electrical, plumbing, HVAC/R, energy, sign, elevator, pump, boiler) | ~5,400 | no | no |
| `tx-tdlr` | TX | Texas TDLR: A/C, electrical, electrical sign, elevator, appliance-installation contractors | ~36,400 | yes | no |
| `ct-dcp` | CT | Connecticut DCP contractor credentials (home improvement, new home, major, electrical, plumbing, HVAC, demolition, abatement ...) | ~45,700 | no | yes |
| `ny-dol` | NY | New York DOL Contractor Registry (public-work contractors) | ~15,400 | yes | current certificate |

### Use cases

- **Contractor lead generation**: roofers, HVAC, electricians, plumbers, solar and pool builders in a city or ZIP range, with phone numbers, for building-material suppliers, distributors, equipment dealers and SaaS sales teams.
- **New-licence prospecting**: `daysBack: 30` returns contractors licensed in the last month: the best moment to sell insurance, bonding, software, uniforms, vehicles and marketing.
- **Bond and insurance renewals**: `expiringWithinDays: 60` lists licences that expire soon; Oregon rows also carry the current bond and insurance carrier, amount and expiry.
- **Contractor licence verification / KYC**: check a sub-contractor's licence number, status and expiry before you hire or pay them.
- **Market sizing**: RUN_SUMMARY shows how many licences match each filter in each state.
- **Scheduled monitoring**: run it daily or weekly with Apify Schedules and a `daysBack` of 1-7 to feed new contractors straight into your CRM, Google Sheets or Slack.

### Pricing

Pay per result: **$0.40 per 1,000 licences** ($0.0004 per row), no start fee. You only pay for rows saved to your dataset; failed requests are never charged. Cloud test on Apify (1 Dec 2026, 512 MB, default input): 100 licences from the six registries in 20.8 s run time, platform usage $0.0006. A full run of every active licence in all six registries (~236,000 rows) costs about $94.

| Actor (Apify Store, 30 Nov 2026) | Coverage | Price per 1,000 rows |
|---|---|---|
| **This actor** | WA, OR (x2), TX, CT, NY in one run | **$0.40**, no start fee |
| scrapebench state directory actors (WA, TX, FL, OR ...) | one state per actor | $2.00 (+ $2.00 per contact found on some) |
| scrapebench state licence lookups | one state per actor | $4.00 |
| scrapebench US contractor license lookup | 49 states + DC, verification of known licences | $1.00 |
| haketa Arizona ROC contractor licence scraper | Arizona | $3.50 + start fee |
| pink_comic CSLB licence lookup | California | $4.00 + $0.002 start |

That is 80% under the cheapest single-state directory and 90% under the per-state lookups. Rivals cover states this actor does not (California, Arizona and others); speed and field coverage of rivals were not measured.

### FAQ

**Where does the data come from?** The states' own open-data publications: Socrata open-data portals data.wa.gov, data.oregon.gov, data.texas.gov, data.ct.gov and data.ny.gov (public JSON APIs whose robots.txt allows them). Nothing is behind a login.

**How fresh is it?** Every run reads the live datasets. On 1 Dec 2026 the Washington, Oregon CCB, Connecticut and New York datasets had been updated within the last day, Oregon BCD on 7 Nov and Texas TDLR on 13 Nov.

**Which states have phone numbers?** Washington, Oregon CCB, Texas and New York. Use `withPhoneOnly: true` to skip the rest. No registry publishes e-mails; pair the output with a website contact extractor if you need them.

**Does it cover California, Arizona or Florida?** Not yet: CSLB and AZ ROC publish no open-data API, and Florida's DBPR download refuses cloud servers. Need them? See the Fiverr line below.

**What does "licensed in the last N days" use?** The first-licensed date where the state publishes one (Oregon CCB, Connecticut), else the current term start (Washington registrations renew every 2 years; New York certificates every 2 years). Texas and Oregon BCD publish only expiration dates and are skipped under a date filter (listed in RUN_SUMMARY.skippedSources).

**Are these people's personal data?** Contractor licences are public business licences published by the states for consumer protection. Many licences are held by sole proprietors under their own name; `businessesOnly: true` drops those.

**Why does New York disappear when I pick a trade?** The NY Contractor Registry has no trade or class field, so a trades filter skips it.

**Can AI agents use it?** Yes. Input is a plain JSON object of filters, output is one flat JSON row per licence, and the typical cost is under $0.05 for 100 rows. Good fit for MCP / LLM agents that need "find licensed roofers in ZIP 981" or "is licence 99952 active?".

### Example inputs for common jobs

Times are from local runs on 2026-12-01.

Roofers and HVAC contractors in Washington and Texas (40 rows, 3.9 s):

```json
{ "states": ["WA", "TX"], "trades": ["roofing", "hvac"], "maxResults": 40 }
```

Seattle electricians with phone numbers (25 rows, 1.4 s):

```json
{ "states": ["WA"], "trades": ["electrician"], "cities": ["Seattle"], "withPhoneOnly": true, "maxResults": 25 }
```

Contractors licensed in the last 30 days, all states (60 rows, 7.4 s):

```json
{ "daysBack": 30, "maxResults": 60 }
```

Houston contractors whose Texas licence expires within 60 days, soonest first (20 rows, 1.2 s):

```json
{ "states": ["TX"], "cities": ["Houston"], "expiringWithinDays": 60, "maxResults": 20 }
```

The whole New York registry, bulk export (15,375 rows, 36.5 s):

```json
{ "states": ["NY"], "maxResults": 0 }
```

### How to use

1. Open the actor and pick states, trades, cities or ZIP prefixes (or leave everything empty for a 100-row sample of all registries).
2. Set `maxResults` (0 = everything that matches).
3. Click **Start**. Download the dataset as JSON, CSV, Excel or HTML, or read it through the API.

### Input

| Field | Type | Description |
|---|---|---|
| `states` | array | WA, OR, TX, CT, NY, state names, registry keys (`wa-lni`, `or-ccb`, `or-bcd`, `tx-tdlr`, `ct-dcp`, `ny-dol`) or "all". Default all. |
| `trades` | array | Any of the 23 trade tags; short forms like roofer, electrician, plumber, ac, gc work. |
| `keywords` | array | Words in the business / licensee name (OR). |
| `excludeKeywords` | array | Drop rows whose name or licence type contains any of these. |
| `cities` | array | Exact city names. |
| `zipCodes` | array | 5-digit ZIPs or 3-4 digit prefixes. |
| `activeOnly` | boolean | Default true. |
| `withPhoneOnly` | boolean | Only rows with a phone. |
| `businessesOnly` | boolean | Drop licences held under a personal name only. |
| `daysBack` | integer | Licensed in the last N days (0 = any). |
| `licensedAfter` / `licensedBefore` | string | YYYY-MM-DD window, overrides daysBack. |
| `expiringWithinDays` | integer | Licence expires between today and today + N days. |
| `maxResultsPerSource` | integer | Cap per registry (0 = none). |
| `maxResults` | integer | Total cap, default 100, shared fairly across registries. |

Bad values never crash the run: they are skipped with a warning and listed in `RUN_SUMMARY.ignoredInputs`. If every value of a filter is invalid the run stops instead of returning unfiltered data.

### Output example

```json
{
  "businessName": "AMERICAN MARBLE & GRANITE INC",
  "licenseeName": "PAUL GERALD VARSEK",
  "isBusinessEntity": true,
  "businessForm": "Inc",
  "licenseNumber": "99952",
  "licenseType": "Residential General Contractor",
  "licenseClass": "RGC",
  "trades": ["general", "residential"],
  "status": "Active",
  "isActive": true,
  "phone": "+13608339905",
  "address": "1900 SE 8TH AVE",
  "city": "Camas",
  "state": "WA",
  "zip": "98607",
  "county": "Out of State",
  "firstLicensedDate": "1994-07-07",
  "expirationDate": "2027-05-10",
  "licenseAgeDays": 11835,
  "daysUntilExpiration": 160,
  "bondCompany": "WESTERN SURETY COMPANY",
  "bondAmount": 25000,
  "insuranceCompany": "FEDERATED MUTUAL INS CO",
  "insuranceAmount": 1000000,
  "insuranceExpirationDate": "2027-08-04",
  "licensingState": "OR",
  "licensingAgency": "Oregon Construction Contractors Board (CCB)",
  "sourceKey": "or-ccb",
  "sourceUrl": "https://data.oregon.gov/d/g77e-6bhs"
}
```

The key-value store record `RUN_SUMMARY` lists, per registry, how many licences match on the server, how many were read and saved, skipped registries, ignored inputs, requests and seconds.

### Integrations

Export to Google Sheets, HubSpot, Salesforce, Airtable or Slack with Apify integrations, Make, Zapier or n8n, or call it from your code with the Apify API / client (`apify-client` for JavaScript and Python). Schedule it daily for a new-contractor feed.

### Related actors

- [US Building Permits Scraper - Contractor & Construction Leads](https://apify.com/rel8ble/us-building-permits-scraper): issued permits with job value and contractor from 15 city / county portals.
- [US City Business License Scraper - New Business Leads](https://apify.com/rel8ble/us-city-business-licenses-scraper): newly licensed businesses in Chicago, LA, SF, Seattle, NYC, Denver and Baton Rouge.
- [FMCSA Trucking Leads Scraper](https://apify.com/rel8ble/fmcsa-trucking-leads-scraper): U.S. trucking companies with email, phone and fleet size.
- [Website Contact Details Scraper & Email Extractor](https://apify.com/rel8ble/website-contact-extractor): emails and phones from company websites.

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

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

Optional. State codes WA, OR, TX, CT, NY (or names like "Texas"), or registry keys "wa-lni", "or-ccb", "or-bcd", "tx-tdlr", "ct-dcp", "ny-dol", or "all". Default: all 6 registries in 5 states.

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

Optional. Keep licences whose class / specialty matches any of: general, residential, commercial, electrical, plumbing, hvac, roofing, solar, pool, elevator, sign, demolition, abatement, underground-utility, fire-protection, painting, flooring-tile, landscaping, concrete-masonry, windows-doors, appliance, security-locks, home-inspection. Short forms work (roofer, electrician, plumber, ac, gc, asbestos). New York's registry has no trades and is skipped when this is set.

## `keywords` (type: `array`):

Optional. Words in the business or licensee name, many per run (OR), e.g. "roofing", "solar", "electric", "builders". 3+ characters.

## `excludeKeywords` (type: `array`):

Optional. Drop licences whose business name, licensee name or licence type contains any of these, e.g. "inspector", "handyman".

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

Optional. Exact city names of the licence address, e.g. "Seattle", "Portland", "Houston", "Hartford".

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

Optional. 5-digit ZIPs or 3- to 4-digit prefixes of the licence address, e.g. "98101", "972", "770".

## `activeOnly` (type: `boolean`):

Default true: only licences the state lists as active / current. False also returns expired, suspended and out-of-business records where the registry keeps them (Washington, Oregon BCD, Connecticut).

## `withPhoneOnly` (type: `boolean`):

Only rows with a business phone. Phones are published by Washington, Oregon CCB, Texas and New York; the other registries are skipped when this is on.

## `businessesOnly` (type: `boolean`):

Drop licences held under a personal name with no business name, legal form or business word (sole proprietors filed as "SMITH, JOHN").

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

Optional, 0 = any date (default). New-licence leads: first licensed (Oregon CCB, Connecticut) or current term started (Washington, New York) within the last N days. Texas and Oregon BCD publish no issue date and are skipped when a date filter is set.

## `licensedAfter` (type: `string`):

Optional. YYYY-MM-DD. Overrides daysBack.

## `licensedBefore` (type: `string`):

Optional. YYYY-MM-DD.

## `expiringWithinDays` (type: `integer`):

Optional, 0 = off. Keep licences whose expiration date falls between today and today + N days (renewal, bond and insurance outreach).

## `maxResultsPerSource` (type: `integer`):

Optional, 0 = no per-registry limit.

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

Default 100. 0 = everything that matches (Washington alone has ~68,000 active registrations; all 6 registries ~236,000 active licences). Shared fairly across the chosen registries.

## Actor input object example

```json
{
  "states": [
    "WA",
    "OR",
    "TX",
    "CT",
    "NY"
  ],
  "activeOnly": true,
  "withPhoneOnly": false,
  "businessesOnly": false,
  "daysBack": 0,
  "expiringWithinDays": 0,
  "maxResultsPerSource": 0,
  "maxResults": 100
}
```

# Actor output Schema

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

One row per contractor licence: business, licence number / type / status / dates, trades, phone, address, bond and insurance where published.

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

Counts per registry (matching, read, saved), skipped registries, ignored inputs, requests and seconds.

# 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",
        "OR",
        "TX",
        "CT",
        "NY"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/us-contractor-license-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 = {
    "states": [
        "WA",
        "OR",
        "TX",
        "CT",
        "NY",
    ],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/us-contractor-license-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 '{
  "states": [
    "WA",
    "OR",
    "TX",
    "CT",
    "NY"
  ],
  "maxResults": 100
}' |
apify call rel8ble/us-contractor-license-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rel8ble/us-contractor-license-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/ms7DVKABbIgLokA5l/builds/cLSh9nFIPNvUwK3id/openapi.json
