# Contractor License Lookup - Washington L\&I & Oregon CCB (`se7enmethod/contractor-license-lookup-wa-or`) Actor

Verify and search contractor licenses in Washington (L\&I) and Oregon (CCB) by license number, UBI, business name, city, ZIP, county or specialty. Returns status, expiry, specialty, bond and insurance. Official state open data, no key.

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

## Pricing

$2.00 / 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/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 - Washington L\&I & Oregon CCB

Verify or search **contractor licenses in Washington and Oregon** in one run, straight from the official state open-data feeds:

- **Washington**: Department of Labor & Industries (L\&I) contractor license data (construction, electrical, plumbing and elevator contractors, all statuses).
- **Oregon**: Construction Contractors Board (CCB) active licenses, with **bond and liability insurance** details.

No scraping, captcha, API key or proxy.

### Use cases

- **Verify before you hire or pay**: license number -> status, expiry, specialty, suspension date.
- **Vendor compliance**: bulk-check subcontractor lists every month (expired / suspended flags).
- **Insurance & bonding**: Oregon bond company, amount and expiry; insurer, coverage and expiry.
- **Market sizing & B2B lists**: all active roofing contractors in a ZIP, county or city; newly licensed contractors (`licensedAfter`); renewals coming up (`expiringBefore`).

### Input examples

```json
{ "licenseNumbers": ["ECOSTSC758NN", "187755"] }
```

```json
{ "states": ["WA"], "specialtyKeyword": "ROOFING", "city": "Spokane", "activeOnly": true }
```

```json
{ "states": ["OR"], "county": "Lane", "licensedAfter": "2026-10-01" }
```

### Output (one row per license)

`state, licenseNumber, businessName, licenseType, specialty, businessType, status, effectiveDate, expirationDate, suspendDate, ubi, city, stateCode, zip, county, bondCompany, bondAmount, bondExpirationDate, insuranceCompany, insuranceAmount, insuranceExpirationDate, exempt, verifyUrl`

Unknown license numbers and searches with no match return `found: false` and are **not charged**.

### Privacy

Phone numbers, street addresses and principal / owner names are **not exported**. Many contractors are sole proprietors, so the business name can be a person's name; it is shown because it is the licensed name on the public register.

### Pricing

Pay per result (per license row). `found: false` rows are free.

### Notes & sources

- Washington L\&I "Contractor License Data - General" on data.wa.gov, Open Data Commons PDDL (public domain).
- Oregon CCB "CCB Active Licenses" on data.oregon.gov, public domain (U.S. government works). Oregon data lists **active** licenses only.
- The states refresh these datasets about daily. This actor reformats public data and is **not an official verification**; confirm on [L\&I Verify](https://secure.lni.wa.gov/verify/) or [CCB search](https://search.ccb.state.or.us/search/) before relying on it.

# Actor input Schema

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

Which state registries to search.

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

One per line. WA examples: ECOSTSC758NN. OR: numeric CCB numbers like 187755. Lookups return any status (expired, suspended...).

## `ubiNumbers` (type: `array`):

Washington Unified Business Identifiers, one per line.

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

One query per line; matches anywhere in the licensed business name.

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

City.

## `zip` (type: `string`):

ZIP code (or prefix).

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

County (Oregon only).

## `specialtyKeyword` (type: `string`):

e.g. ROOFING, PLUMBING, ELECTRICAL, Residential General Contractor.

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

Applies to name and filter searches. License-number and UBI lookups always return the current status.

## `expiringBefore` (type: `string`):

Find licenses up for renewal.

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

New licenses (WA effective date / OR original registration date).

## `maxPerQuery` (type: `integer`):

Max results per query and state.

## `maxItems` (type: `integer`):

Max results.

## Actor input object example

```json
{
  "states": [
    "WA",
    "OR"
  ],
  "businessNames": [
    "roofing"
  ],
  "activeOnly": true,
  "maxPerQuery": 1000,
  "maxItems": 5000
}
```

# Actor output Schema

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

All results in the default dataset (Overview view selected).

# 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 = {
    "businessNames": [
        "roofing"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("se7enmethod/contractor-license-lookup-wa-or").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 = { "businessNames": ["roofing"] }

# Run the Actor and wait for it to finish
run = client.actor("se7enmethod/contractor-license-lookup-wa-or").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 '{
  "businessNames": [
    "roofing"
  ]
}' |
apify call se7enmethod/contractor-license-lookup-wa-or --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,se7enmethod/contractor-license-lookup-wa-or"
        }
    }
}
```

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/y3dtbgbfMcG2wG5kU/builds/RmfVwgGB86rauv3EJ/openapi.json
