# Contractor License Lookup & Leads: WA, OR, CT (Official Data) (`singgendarhan/us-contractor-license-search`) Actor

Verify contractor licenses by number or name, export lists by trade, city or ZIP, and pull new-license and insurance or bond-expiring leads from Washington L\&I, Oregon CCB and Connecticut DCP open data. $1.50 per 1,000 records.

- **URL**: https://apify.com/singgendarhan/us-contractor-license-search.md
- **Developed by:** [Starry Night](https://apify.com/singgendarhan) (community)
- **Categories:** Lead generation, Business, Developer tools
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 license records

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

## Contractor License Lookup & Leads: Washington, Oregon and Connecticut

**Contractor License Lookup & Leads** checks contractor licenses and builds contractor lead lists from the official license files that Washington Labor & Industries (L\&I), the Oregon Construction Contractors Board (CCB) and the Connecticut Department of Consumer Protection (DCP) publish as open data. One Actor, three modes:

- **Verify.** Check contractor licenses by license number or business name: status, expiry, specialties, principal, liability insurance and surety bond, plus a plain **OK / CHECK / PROBLEM** verdict with reasons. Paste up to 5,000 license numbers at once to vet subcontractors.
- **Export.** Pull contractor lists by state, trade, city, ZIP, county (OR) and status, newest licenses first.
- **Leads.** Four feeds:

  - contractors **licensed in the last N days** (WA, OR, CT);
  - contractors whose **liability insurance on file ends within N days** (WA, OR);
  - contractors whose **surety bond on file expires within N days** (OR);
  - contractors whose **license expires within N days** (WA, OR, CT).

  Turn on **Only new since my last run** and schedule it daily or weekly to get just the new ones.

Who uses it: **insurance and surety agents** (new contractors and upcoming renewals), **building suppliers and distributors** (newly licensed trades in their area), **general contractors and property managers vetting subs**, and **lenders and marketplaces** checking a contractor before they pay.

- **Official data, no form scraping.** Each record comes from the state's own daily open-data file, so runs are fast and do not break when a lookup website changes.
- **Traceable.** Every record names the source dataset and its licence, says when the state last updated it, and links to the agency's own verify page.
- **Simple pricing.** **$1.50 per 1,000 license records** ($0.0015 each). No start fee. Errors, license numbers that are not found and empty searches cost nothing.

### Coverage

| State | Source dataset (publisher) | What is in it | Refresh | Licence / terms |
|---|---|---|---|---|
| Washington (WA) | [L\&I Contractor License Data - General](https://data.wa.gov/d/m8qx-ubtq) and [Insurance](https://data.wa.gov/d/ciwg-agsx) (Department of Labor & Industries) | about 161,000 construction, electrical, plumbing and elevator contractor licenses, all statuses; insurer, policy, amount, dates and agency | several times a day | Open Data Commons PDDL (general); Public Domain (insurance) |
| Oregon (OR) | [CCB Active Licenses](https://data.oregon.gov/d/g77e-6bhs) (Construction Contractors Board) | about 44,700 **active** contractor licenses, with county, bond and insurance | daily | Public Domain U.S. Government |
| Connecticut (CT) | [State Licenses and Credentials](https://data.ct.gov/d/ngch-56tr) (Department of Consumer Protection) | contractor credentials, all statuses: home improvement (about 136,000), new home construction, electrical, plumbing and piping, heating and cooling, major, demolition, fire protection and more | daily | Public Domain |

Check `sourceUpdatedAt` on each record to see how fresh the state's dataset is.

### What you get

One dataset row per contractor license:

| Field | What it is |
|---|---|
| `state`, `licenseNumber` | WA, OR or CT, and the state's license number (WA L\&I number, OR CCB number, CT credential such as `HIC.0707645`) |
| `licenseType`, `licenseTypeDescription`, `specialties` | WA type (CC, EC, PC, LC) and specialties (roofing, plumbing, HVAC...), OR license classes and endorsements, CT credential |
| `businessName`, `dba`, `businessType`, `ubi` | Business name as licensed, CT DBA, business or entity type, WA UBI |
| `principalName` | WA primary principal, OR responsible managing individual (RMI), CT licensee when the credential is held by a person |
| `address`, `phone` | `{street, city, state, zip, county}` and phone, as the agency publishes them (county: OR only; phone: WA and OR) |
| `status`, `statusReason`, `isActive` | The state's status (ACTIVE, EXPIRED, SUSPENDED, APPROVED...) and reason |
| `issueDate`, `effectiveDate`, `expirationDate`, `daysToExpiry` | WA first-effective date, OR original registration date, CT issue date; expiry and days left |
| `insurance` | `{company, policyNumber, amount, effectiveDate, expirationDate, cancelDate, coverageEndDate, agency}` (WA full detail; OR company, amount and expiry) |
| `bond`, `additionalBonds` | Oregon surety bond(s): `{company, amount, expirationDate}` |
| `exemptStatus` | Oregon CCB exempt / nonexempt status as published |
| `leadType`, `leadDate` | Which feed found the record and the date it is about (licensed on, or insurance, bond or license ends on) |
| `verdict`, `verdictReasons` | `OK`, `CHECK` or `PROBLEM`, with plain reasons (see below) |
| `isNewSinceLastRun` | With only-new mode on |
| `searchTerm` | Verify mode: the license number or name this row answers |
| `officialVerifyUrl` | The agency's own lookup page (WA links straight to the license) |
| `sourceDataset`, `sourceLicense`, `sourceUpdatedAt`, `retrievedAt` | Provenance on every row |

**Verdicts** are computed only from what the state publishes:

- `PROBLEM`: the license is not active (expired, suspended, revoked, out of business...), its expiry date has passed, or the insurance or bond on file has ended.
- `CHECK`: the license, insurance or bond ends within 30 days; no liability insurance is on file (WA construction contractors, OR); or a Connecticut status such as LAPSED or RETIRED.
- `OK`: none of the above.

The run summary (key-value store record `OUTPUT`) lists records per state and feed, license numbers that were not found, feeds a state does not publish, and any failed searches.

### Example input

New licenses and insurance-expiring leads in all three states, 5 per state per feed (up to 25 records, about $0.04):

```json
{
  "mode": "leads",
  "states": ["WA", "OR", "CT"],
  "leadTypes": ["new_license", "insurance_expiring"],
  "licensedWithinDays": 30,
  "expiringWithinDays": 30,
  "maxResultsPerState": 5
}
```

Verify a list of subcontractors:

```json
{
  "mode": "verify",
  "licenseNumbers": ["ECOSTSC758NN", "100215", "HIC.0707645"],
  "businessNames": ["Cascade Heating"]
}
```

Every active roofing contractor in the Seattle area (Washington lists roofing as a specialty):

```json
{ "mode": "export", "states": ["WA"], "trade": "roofing", "zipCodes": ["980", "981"], "maxResultsPerState": 5000 }
```

Weekly feed of new Oregon contractors in Multnomah County, only the new ones each time:

```json
{ "mode": "leads", "states": ["OR"], "leadTypes": ["new_license"], "licensedWithinDays": 14, "county": "Multnomah", "onlyNew": true, "maxResultsPerState": 1000 }
```

### Example output

```json
{
  "state": "OR",
  "licenseNumber": "261629",
  "licenseType": "RGC",
  "licenseTypeDescription": "Residential General Contractor",
  "specialties": ["Residential General Contractor"],
  "businessName": "OKF CONSTRUCTION LLC",
  "principalName": "JAMES RAY BLODGETT",
  "address": { "street": "326 SE SPRUCE AVE", "city": "GRESHAM", "state": "OR", "zip": "97080", "county": "Multnomah" },
  "phone": "5039130271",
  "status": "ACTIVE",
  "isActive": true,
  "issueDate": "2026-11-06",
  "expirationDate": "2028-11-06",
  "daysToExpiry": 728,
  "exemptStatus": "Exempt",
  "insurance": { "company": "HADRON SPECIALTY INSURANCE COMPANY", "amount": 1000000, "expirationDate": "2027-03-05", "coverageEndDate": "2027-03-05" },
  "bond": { "company": "WESTERN SURETY COMPANY", "amount": 25000, "expirationDate": "2028-11-06" },
  "leadType": "new_license",
  "leadDate": "2026-11-06",
  "verdict": "OK",
  "verdictReasons": ["status ACTIVE", "license valid until 2028-11-06", "insurance on file until 2027-03-05", "bond on file until 2028-11-06"],
  "officialVerifyUrl": "https://search.ccb.state.or.us/search/",
  "sourceDataset": "Oregon Construction Contractors Board (CCB): CCB Active Licenses (https://data.oregon.gov/d/g77e-6bhs)",
  "sourceLicense": "Public Domain U.S. Government",
  "sourceUpdatedAt": "2026-11-08T18:09:16.000Z",
  "retrievedAt": "2026-11-09T00:59:20.615Z"
}
```

(Shortened: fields that are null for this record are left out here.)

### Pricing

- **$1.50 per 1,000 license records** ($0.0015 per record), charged only for records saved to your dataset.
- No start fee and no extra charge for platform usage.
- Not charged: input errors, failed requests, license numbers that are not found, empty searches, and records skipped by only-new mode.
- Set a **maximum cost per run** in the run options and the Actor stops cleanly when it is reached.

For comparison, single-state contractor license Actors in the Store charge about $2 to $4 per 1,000 results.

### Limits

- **Three states for now:** Washington, Oregon and Connecticut. Other states (for example New York City, New York State and Texas) are planned once their portal terms have been checked.
- **Oregon publishes active licenses only.** An Oregon license number that is not found is not active (or does not exist); confirm on the CCB site.
- **Trades:** Washington publishes specialties (roofing, plumbing, HVAC, painting...) and Connecticut publishes the credential (home improvement, electrical, plumbing...). Oregon publishes license classes (residential general, commercial specialty...), not trades, so a trade filter there matches the class name only.
- **Insurance and bonds:** Washington insurance comes from the L\&I insurance file. Washington bonds are not included yet: the L\&I bond dataset does not state a licence in its metadata. Oregon gives the insurer, amount and expiry (no policy number). Connecticut does not publish insurance or bonds.
- **Point in time.** Records are as the state published them when the run started. A state can update its file several times a day, and a license can change between runs. Confirm anything important on the agency's own verify page (`officialVerifyUrl`) before you rely on it.
- **"Licensed in the last N days"** uses each state's own date: the WA license's first effective date, the OR original registration date, the CT issue date. Connecticut renewals can carry a new issue date.
- Oregon home inspector and locksmith certifications (separate numbering) are not included.

### Data source and terms

All data comes from public open-data APIs (Socrata SODA `/resource/<id>.json`, no key needed) run by the states:

- Washington: [data.wa.gov](https://data.wa.gov/d/m8qx-ubtq), attribution "Labor & Industries", licensed under the Open Data Commons Public Domain Dedication and License; insurance file Public Domain.
- Oregon: [data.oregon.gov](https://data.oregon.gov/d/g77e-6bhs), Construction Contractors Board, Public Domain U.S. Government.
- Connecticut: [data.ct.gov](https://data.ct.gov/d/ngch-56tr), attribution "Department of Administrative Services & Department of Consumer Protection", Public Domain.

The Actor follows each portal's robots.txt (`Crawl-delay: 1`): at most one request per second per portal, with retries and backoff when a portal is busy. It does not log in, solve CAPTCHAs or scrape lookup forms. It returns only what the agencies publish about licensed contractors: business names, license details, business addresses and phones, and principal names that are part of the public license record. Connecticut lists some credentials under the individual licensee's own name and address; that is how DCP publishes them. Use the data lawfully, for example in line with telemarketing and anti-spam rules when you contact contractors.

This Actor is not affiliated with or endorsed by any state agency.

### FAQ

**How do I verify one contractor?** Use verify mode with the license number (fastest) or the business name. The verdict tells you whether to look closer; the `officialVerifyUrl` takes you to the agency's page to confirm.

**Which license number format do I use?** Washington: the 12-character L\&I number such as `ECOSTSC758NN`. Oregon: the CCB number such as `100215`. Connecticut: the credential with its prefix such as `HIC.0707645` or `ELC.0188368-E1` (or `CT:707645`). Bare digits are read as Oregon numbers when Oregon is selected.

**How do I get only new contractors every week?** Set leads mode, choose `new_license`, set `licensedWithinDays` a little longer than your schedule (for example 10 for a weekly run), turn on **Only new since my last run**, and schedule the Actor. Licenses returned before are skipped and not charged. Give the search a `stateKey` name if you want to change other options later without starting over.

**Why does a state return nothing for a feed?** Not every state publishes every field: insurance (WA, OR), bonds (OR). The run summary lists the feeds each state skipped and why.

**Why is "insurance expiring" useful if the contractor renews?** When the contractor files a renewal, the state's file shows the new policy and the license drops out of the feed. A license that is still in the feed close to the date had no later policy on file when the state last updated its file.

**Can I get the data as CSV or Excel?** Yes. Every Apify dataset downloads as CSV, Excel, JSON or XML, or through the API.

**Is the data accurate?** It is the state's own published file, unchanged except for formatting (dates as YYYY-MM-DD, ZIP+4 with a hyphen). Errors in the source stay in the source; report them to the agency.

# Changelog

This Actor's version history is a separate document: https://apify.com/singgendarhan/us-contractor-license-search/changelog.md

# Actor input Schema

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

leads = new licenses and licenses whose insurance, bond or license expires soon (set the feeds below). verify = check license numbers or business names. export = a list filtered by trade, city, ZIP and status.

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

WA = Washington Department of Labor & Industries (construction, electrical, plumbing and elevator contractors, all statuses, with insurance). OR = Oregon Construction Contractors Board (active licenses only, with insurance and bond). CT = Connecticut Department of Consumer Protection (home improvement, new home, electrical, plumbing, HVAC and other contractor credentials, all statuses). Leave empty for all three.

## `leadTypes` (type: `array`):

new_license = licensed within the last N days (WA, OR, CT). insurance_expiring = liability insurance on file ends within N days (WA, OR). bond_expiring = surety bond on file expires within N days (OR). license_expiring = the license itself expires within N days (WA, OR, CT). A state that does not publish a feed is skipped for it.

## `licensedWithinDays` (type: `integer`):

For the new_license feed. 30 = licenses that took effect (WA), were first registered (OR) or were issued (CT) in the last 30 days.

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

For the insurance_expiring, bond_expiring and license_expiring feeds, from today. Verdicts also flag anything that ends within 30 days.

## `licenseNumbers` (type: `array`):

One per line, up to 5,000. Washington: the 12-character L\&I number, e.g. ECOSTSC758NN. Oregon: the CCB number, e.g. 100215. Connecticut: the credential with its prefix, e.g. HIC.0707645 (or CT:707645). Bare digits are treated as Oregon numbers when Oregon is selected. Numbers that are not found are listed in the run summary and are not charged.

## `businessNames` (type: `array`):

One per line, up to 500. Matches licenses whose business name (and in CT the DBA) contains the text, not case-sensitive, e.g. "Cascade Heating". Each name returns up to "Max results per state" records per state.

## `status` (type: `string`):

active = currently active licenses only. inactive = expired, suspended, revoked and similar (WA and CT; Oregon publishes active licenses only). any = both. Default: active for export, any for verify. Lead feeds always use active licenses.

## `trade` (type: `string`):

Optional, not case-sensitive. Washington matches the license type and specialties (e.g. roofing, plumbing, electrical, HVAC, painting, landscaping, handyman). Connecticut matches the credential (e.g. home improvement, new home construction, electrical, plumbing, heating). Oregon publishes license classes only (e.g. residential general, commercial specialty), not trades.

## `city` (type: `string`):

Optional. Exact city of the license address, not case-sensitive, e.g. Seattle, Portland, Hartford.

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

Optional, up to 50. A 5-digit ZIP (98101) or a 3- or 4-digit prefix (981 = Seattle area).

## `county` (type: `string`):

Optional. Oregon county, e.g. Multnomah. Washington and Connecticut do not publish a county, so they are skipped when this is set.

## `businessNameContains` (type: `string`):

Optional filter for export mode, e.g. "roofing" or "electric".

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

Export: records per state. Leads: records per state for each lead feed. Verify: records per state for each business name (license numbers are always all returned).

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

For scheduled runs: skip licenses this same search already returned in an earlier run (they are not saved or charged). A new insurance or bond expiry date counts as new. Progress is kept in a named key-value store in your account (us-contractor-license-search-seen).

## `stateKey` (type: `string`):

Optional. Name for the only-new progress, e.g. "seattle-roofers". Leave empty to derive it from the search, so changing the search starts fresh.

## `includeInsurance` (type: `boolean`):

Adds the insurer, policy number, amount, dates and agency from the L\&I insurance file to Washington records (one extra request per 100 records).

## Actor input object example

```json
{
  "mode": "leads",
  "states": [
    "WA",
    "OR",
    "CT"
  ],
  "leadTypes": [
    "new_license",
    "insurance_expiring"
  ],
  "licensedWithinDays": 30,
  "expiringWithinDays": 30,
  "maxResultsPerState": 5,
  "onlyNew": false,
  "includeInsurance": true
}
```

# Actor output Schema

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

One item per contractor license: status, dates, trade, address, phone, insurance, bond, verdict and source links.

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

Records per state and feed, license numbers that were not found, and any skipped or failed searches.

# 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 = {
    "mode": "leads",
    "states": [
        "WA",
        "OR",
        "CT"
    ],
    "leadTypes": [
        "new_license",
        "insurance_expiring"
    ],
    "licensedWithinDays": 30,
    "expiringWithinDays": 30,
    "maxResultsPerState": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("singgendarhan/us-contractor-license-search").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 = {
    "mode": "leads",
    "states": [
        "WA",
        "OR",
        "CT",
    ],
    "leadTypes": [
        "new_license",
        "insurance_expiring",
    ],
    "licensedWithinDays": 30,
    "expiringWithinDays": 30,
    "maxResultsPerState": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("singgendarhan/us-contractor-license-search").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 '{
  "mode": "leads",
  "states": [
    "WA",
    "OR",
    "CT"
  ],
  "leadTypes": [
    "new_license",
    "insurance_expiring"
  ],
  "licensedWithinDays": 30,
  "expiringWithinDays": 30,
  "maxResultsPerState": 5
}' |
apify call singgendarhan/us-contractor-license-search --silent --output-dataset

```

## MCP server setup

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

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/wWIi1f1dC1ExB0mls/builds/KjsKPuepOPe2oBTgD/openapi.json
