# Contractor License Scraper: WA, OR, TX & NY Contractor Leads (`techliondev/contractor-license-scraper`) Actor

Get licensed contractors from official state open data in Washington, Oregon, Texas and New York: business name, phone, address, trade, license dates, bond and insurance. New-license leads. No login.

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

## Pricing

from $0.65 / 1,000 license saveds

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/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

### ⭐ What is Contractor License Scraper?

**Contractor License Scraper** collects **licensed contractors from official state license data** in **Washington, Oregon, Texas and New York** into one clean table: business name, phone number, street address, city, ZIP code, trade, license number, license status, start and expiration dates, owner or principal, and (in Oregon) bond and insurance details. Pick the states, optionally a trade such as **roofing**, **HVAC** or **electrical**, and press **Start**.

It is built for **new-contractor leads**. Every week hundreds of businesses get a new contractor license. They need insurance, bonds, trucks, tools, suppliers, accounting, software, websites and marketing, and they are easy to reach because the license lists a phone number and address. Insurance agents, building suppliers, software companies, marketing agencies and AI (artificial intelligence) agents use this data to find them first.

The data comes straight from each state's public open data portal, published by the state licensing agency. There is no scraping of websites, no login and no proxy, so runs are **fast, cheap and stable**: 200 licenses take about 6 seconds.

- **New-license leads:** contractors licensed in the last 7, 30 or 60 days, newest first.
- **Trade lists:** every licensed roofer, plumber, HVAC (heating, ventilation and air conditioning) or electrical contractor in a city, ZIP code or county.
- **Renewal reminders:** licenses expiring in the next 30, 60 or 90 days.
- **Contractor checks:** confirm a license number, status, bond and insurance before you hire.
- **Weekly feed:** schedule the Actor and get only contractors you have not seen before.

#### What data does it extract?

| | |
| --- | --- |
| 🏢 Business name | ☎️ Business phone number |
| 📍 Street address, city, state, ZIP, county | 🔨 License type, trade and specialty codes |
| 🪪 License number and status | 📅 Start date, days since licensed, expiration date, days left |
| 👤 Owner, principal or responsible managing individual | 🏛️ Business type and state business ID (Washington) |
| 🛡️ Bond company and amount (Oregon) | 📄 Insurance company, amount and expiration (Oregon) |
| 👷 Workers' compensation, minority or woman owned, debarred (New York) | 🗺️ Source state and licensing agency |

#### Which states and licenses are covered?

| State | Source | What is in it |
| --- | --- | --- |
| Washington (WA) | Department of Labor & Industries | Every registered construction contractor (general and specialty, about 160,000 records including expired) |
| Oregon (OR) | Construction Contractors Board | Every active contractor license, with bond and insurance |
| Texas (TX) | Department of Licensing and Regulation | Air conditioning, electrical, sign, appliance installation, elevator and water well contractor licenses (you can choose other license types) |
| New York (NY) | Department of Labor Contractor Registry | Contractors registered for public works jobs |

Texas data has no license start date, so Texas rows are sorted by license number (highest first, which is usually newest) and the **Licensed since** filter does not apply to Texas.

#### Why this scraper?

- **4 states in one Actor and one table.** Other contractor license actors cover one state each.
- **Cheaper:** $1.00 per 1,000 licenses. Single-state license actors charge $4.00 to $19.00 per 1,000.
- **Official data only.** Every row comes from a state agency's own published dataset.
- **New-license and expiring-license filters** built in, plus city, ZIP, county, trade and phone filters. All filters are free.
- **Plain-English trades.** Type HVAC and the Actor also matches each state's own wording (A/C, heating, refrigeration).
- **New-lead tracking** for scheduled runs.

### ⬇️ Input

Example input:

```json
{
    "states": ["WA", "OR"],
    "trades": ["roofing", "gutters"],
    "cities": ["Seattle", "Portland"],
    "issuedSince": "30 days",
    "maxResultsPerState": 500,
    "onlyActive": true,
    "requirePhone": true
}
```

| Setting | What it does |
| --- | --- |
| **States** | WA, OR, TX and NY. Default WA and OR. |
| **Trades or keywords** | Optional. Roofing, plumbing, HVAC, electrical, painting, landscaping, handyman, general and more, or any word in the trade or business name. |
| **Cities, ZIP codes, counties** | Optional location filters. ZIP codes can be prefixes (972 matches every ZIP starting with 972). |
| **Maximum licenses per state** | Newest first. Default 100. |
| **Licensed since** | A date (2026-10-01) or a relative value (30 days). |
| **Expiring within (days)** | Only licenses that expire soon. |
| **Only active licenses** | On by default. |
| **Only licenses with a phone number** | Free filter. |
| **Texas license types** | Texas only. Leave empty for the contractor license types. |
| **Only licenses not seen on earlier runs** | Save only new licenses on scheduled runs. |

### ⬆️ Output

One row per license. Real sample from a run for roofing contractors licensed in the last 60 days in Washington and Oregon:

| Business | State | License | Phone | City | Licensed | Expires |
| --- | --- | --- | --- | --- | --- | --- |
| B & B ROOFING | WA | CONSTRUCTION CONTRACTOR | (206) 632-7221 | SEATTLE | 2026-11-16 | 2028-11-16 |
| TIP TOP ROOFING LLC | WA | CONSTRUCTION CONTRACTOR | (425) 309-3609 | LAKE STEVENS | 2026-11-09 | 2028-11-09 |
| KPROOF CONSTRUCTION LLC | WA | CONSTRUCTION CONTRACTOR | (360) 543-3855 | EVERSON | 2026-10-29 | 2028-10-29 |
| EMERALD EAGLE ROOFING | WA | CONSTRUCTION CONTRACTOR | (206) 391-2245 | BOTHELL | 2026-10-20 | 2028-10-20 |
| TRU ARMOR ROOFING LLC | OR | Residential Specialty Contrac… | (208) 550-9387 | EAGLE | 2026-10-28 | 2028-10-28 |
| ROOFS PROSS LLC | OR | Residential General Contractor | (541) 728-7790 | SPRINGFIELD | 2026-10-06 | 2028-10-06 |

One full row as JSON:

```json
{
    "sourceState": "OR",
    "businessName": "SKY RIDGE ROOFING AND CONSTRUCTION LLC",
    "licenseNumber": "264461",
    "licenseType": "Residential Specialty Contractor",
    "specialties": [
        "RSC",
        "Exempt"
    ],
    "status": "Active",
    "phone": "(154) 145-0104",
    "address": "1120 MERLIN RD B",
    "city": "GRANTS PASS",
    "state": "OR",
    "zipCode": "97527",
    "county": "Josephine",
    "ownerName": "ADAM JAMES D BRITTAIN",
    "businessType": null,
    "issueDate": "2026-11-18",
    "daysSinceIssued": 1,
    "expirationDate": "2028-11-18",
    "daysUntilExpiration": 730,
    "bondCompany": "NATIONWIDE MUTUAL INSURANCE COMPANY",
    "bondAmount": 25000,
    "insuranceCompany": "HADRON SPECIALTY INSURANCE COMPANY",
    "insuranceAmount": 500000,
    "insuranceExpirationDate": "2027-10-03",
    "hasWorkersCompInsurance": null,
    "isMinorityOrWomanOwned": null,
    "isDebarred": null,
    "stateBusinessId": null,
    "licensingAgency": "Oregon Construction Contractors Board",
    "isNew": null,
    "scrapedAt": "2026-11-19T20:47:49.413Z"
}
```

The dataset has three views: **Overview**, **Lead list** (contact columns for a CRM, or customer relationship management, import) and **Compliance** (license, bond and insurance dates). A **RUN_SUMMARY** record lists, for each state, how many rows were checked and saved, plus the filters used.

### ▶️ How to use Contractor License Scraper

1. Click **Try for free** and sign in to Apify (a free plan is enough to start).
2. Choose one or more **States**.
3. Optional: add a trade (roofing), a city or ZIP code, and **Licensed since** (30 days) for new-contractor leads.
4. Click **Start**. When the run finishes, open the **Output** tab and download Excel, CSV (comma-separated values) or JSON (JavaScript Object Notation).
5. For a weekly lead feed, turn on **Only licenses not seen on earlier runs** and add a schedule.

### 💰 How much does it cost?

This Actor uses pay-per-event pricing:

| Event | Price on the free plan |
| --- | --- |
| Actor start | $0.00005 per run |
| License saved | $0.001 per license ($1.00 per 1,000) |

Paid Apify plans get lower prices automatically (down to $0.0004 per license on the highest plan). Filters are free and filtered-out licenses are never charged.

**Worked examples**

- Default run (100 newest licenses in Washington and 100 in Oregon): 200 × $0.001 + $0.00005 = **about $0.20**.
- 1,000 licenses: **$1.00** (single-state actors: $4.00 to $19.00).
- Weekly feed of new roofing contractors in Washington and Oregon: about 38 new licenses in the 30 days to November 19, 2026, so **about $0.04 a month**.

You can set a **maximum cost per run** in the run options; the Actor stops cleanly when it is reached.

### 💡 Use cases

- **Insurance and bonding agents:** reach contractors in their first weeks of business.
- **Building material suppliers and equipment dealers:** find new roofers, electricians and HVAC companies in your sales area.
- **Software and marketing agencies:** field-service software, websites and ads for new contractors.
- **Homeowners, property managers and general contractors:** check that a contractor's license is active and when it expires.
- **Market research:** count licensed contractors by trade, city and county.

### 🔗 Integrations

Send results to Google Sheets, HubSpot, Salesforce, Airtable, Slack, Zapier, Make or any webhook with Apify integrations, and schedule weekly runs for a steady lead feed. Pair it with a website contact scraper to add emails where the business has a website. AI agents can call it through the Apify connector for AI assistants: inputs and outputs are fully described.

### 💻 Use it from code (API)

Replace `YOUR_APIFY_TOKEN` with the API token from the **Settings > API & Integrations** page in Apify Console.

**Python** (install with `pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("techliondev/contractor-license-scraper").call(run_input={
    "states": ["WA", "OR"],
    "trades": ["roofing"],
    "issuedSince": "30 days",
    "maxResultsPerState": 200,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["businessName"], item["phone"], item["city"], item["issueDate"])
```

**JavaScript / Node.js** (install with `npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('techliondev/contractor-license-scraper').call({
    states: ['TX'],
    trades: ['HVAC'],
    cities: ['Austin', 'Round Rock'],
    maxResultsPerState: 200,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Any language (HTTP):** send a POST request with the input as JSON to the `run-sync-get-dataset-items` endpoint for `techliondev~contractor-license-scraper` and you get the licenses back in the response.

### ❓ FAQ

#### How do I find newly licensed contractors?

Set **Licensed since** to a date or a relative value such as `30 days`. Washington uses the start of the current license period (renewals reset it), Oregon the first registration date, and New York the registration date. Rows come newest first.

#### Where does the data come from?

From each state's official open data portal, published by the licensing agency: Washington Department of Labor & Industries, Oregon Construction Contractors Board, Texas Department of Licensing and Regulation, and the New York State Department of Labor. The Actor reads the public data feeds those portals provide. The data is as fresh as the state publishes it; in November 2026 Washington, Oregon and New York updated daily and Texas weekly.

#### Does it include emails?

No. State license lists include phone numbers and addresses but not emails. To add emails, run a website contact details scraper on the business websites.

#### Why are there no roofers in Texas?

Texas does not license roofing or general contractors at the state level. The Texas data covers air conditioning, electrical, sign, appliance, elevator and water well contractors. Use **Texas license types** to choose other Texas license types.

#### Will you add more states?

Yes, as long as the state publishes its contractor license list as open data. Open the **Issues** tab and tell us which state you need.

#### Is it legal to use this data?

The data is public records published by state agencies for anyone to use. Some rows name owners or principals, so follow your local marketing and privacy laws and do-not-call rules before contacting businesses. If you are unsure, ask a lawyer.

#### I found a problem or want a feature

Open the **Issues** tab on this page and describe what you need. Issues are answered quickly.

# Actor input Schema

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

Which state license lists to read. Washington and Oregon cover every licensed construction contractor. Texas covers the trades the Texas Department of Licensing and Regulation licenses (air conditioning, electrical, signs, appliances, elevators, water wells). New York covers contractors registered for public works jobs.

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

Optional. Trades to keep, one per line, for example roofing, plumbing, HVAC, electrical, painting, landscaping, handyman, general. Common trades are matched to each state's own wording (HVAC also finds A/C and heating). Other words are matched against the trade and the business name.

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

Optional. Keep only businesses in these cities, one per line, for example Seattle or Portland.

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

Optional. ZIP codes, or the first digits of a ZIP code (972 keeps every ZIP starting with 972).

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

Optional. County names (Oregon and Texas only, for example Multnomah or Travis).

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

Stop after this many licenses for each state. Newest licenses come first. Licenses removed by filters are not counted or charged.

## `issuedSince` (type: `string`):

Optional. Keep only licenses that started on or after this date: 2026-10-01, or a relative value such as 30 days or 2 weeks. Washington uses the start of the current license period, Oregon the first registration date, New York the registration date. Texas data has no start date, so Texas is skipped when this is set.

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

Optional. Keep only licenses that expire within this many days from today (renewal reminders, compliance checks).

## `onlyActive` (type: `boolean`):

Keep only licenses the state lists as active and not yet expired.

## `requirePhone` (type: `boolean`):

Remove licenses with no phone number.

## `texasLicenseTypes` (type: `array`):

Texas only. License types to read, exactly as Texas names them. Leave empty for the contractor types: A/C Contractor, Electrical Contractor, Electrical Sign Contractor, Appliance Installation Contractor, Elevator Contractor, Water Well Driller/Pump Installer.

## `onlyNew` (type: `boolean`):

Remember every license this search has found and save only ones not seen before. The first run saves everything and remembers it.

## `stateName` (type: `string`):

Optional name for the memory used by new-lead tracking. Use a different name for each separate schedule.

## Actor input object example

```json
{
  "states": [
    "WA",
    "OR"
  ],
  "trades": [
    "roofing"
  ],
  "cities": [],
  "zipCodes": [],
  "counties": [],
  "maxResultsPerState": 25,
  "issuedSince": "60 days",
  "onlyActive": true,
  "requirePhone": false,
  "texasLicenseTypes": [],
  "onlyNew": false
}
```

# Actor output Schema

## `licenses` (type: `string`):

Dataset with one row per license

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

Rows checked and saved per state, filters used, and any errors

# 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"
    ],
    "trades": [
        "roofing"
    ],
    "cities": [],
    "zipCodes": [],
    "counties": [],
    "maxResultsPerState": 25,
    "issuedSince": "60 days",
    "texasLicenseTypes": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("techliondev/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",
    ],
    "trades": ["roofing"],
    "cities": [],
    "zipCodes": [],
    "counties": [],
    "maxResultsPerState": 25,
    "issuedSince": "60 days",
    "texasLicenseTypes": [],
}

# Run the Actor and wait for it to finish
run = client.actor("techliondev/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"
  ],
  "trades": [
    "roofing"
  ],
  "cities": [],
  "zipCodes": [],
  "counties": [],
  "maxResultsPerState": 25,
  "issuedSince": "60 days",
  "texasLicenseTypes": []
}' |
apify call techliondev/contractor-license-scraper --silent --output-dataset

```

## MCP server setup

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