# Contractor License Verification (WA, OR, NY) (`waynesville_data/contractor-license-check`) Actor

Verify a contractor license in Washington, Oregon or New York, or pull a list of newly licensed contractors. Official state data with status, bond and insurance (OR), and labor-law red flags (NY).

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

## Pricing

from $6.00 / 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.
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

## Contractor License Verification (WA, OR, NY)

**Verify a contractor license** in seconds, or pull a list of **newly licensed contractors**, from official state licensing open data. This is a lookup and lead-list tool, not a legal determination and not a consumer report.

**This Actor covers only these 3 states:**

- **Washington L\&I** contractor licenses: status, specialty, principal, expiration, and suspension date
- **Oregon CCB** active licenses: endorsement, plus **bond and insurance carrier, amounts, and expiration dates**
- **New York DOL Contractor Registry**: certificate status, workers' compensation, and **red flags** the state has published (for example debarment, wage assessments, or labor/tax or safety findings)

A state that is not on this list will not return results.

### Who uses it

- **Property managers, general contractors and homeowners** checking that a sub is currently licensed before work starts
- **Insurers, bonding agents, suppliers and construction software** looking for newly licensed contractors
- **AI agents** answering "Is this contractor licensed in Washington, Oregon, or New York?" or "List new electrical contractors licensed in Oregon since November 1."

Always confirm critical decisions on the state's own lookup page.

### What it returns

One row per matching license record, in one schema:

| Field | What's in it |
|---|---|
| `state_source`, `license_number`, `business_name`, `dba_name` | Who was licensed, and the official number |
| `license_type`, `specialty`, `status`, `principal` | Type, trade, current status, and principal when published |
| `address`, `city`, `state`, `zip`, `phone` | Business contact details as the state published them |
| `license_effective`, `license_expires`, `suspended_on` | Dates, when the source provides them |
| `bond_company`, `bond_amount`, `bond_expires` | Oregon bond fields (empty in WA and NY) |
| `insurance_company`, `insurance_amount`, `insurance_expires` | Oregon insurance fields (empty in WA and NY) |
| `has_workers_comp`, `red_flags` | New York DOL fields (`red_flags` is a list; empty in WA and OR) |
| `source_dataset`, `checked_at` | Official dataset link and the time of this check |

### Sample output

From official state open data (illustrative rows; values are as each state published them):

| State | Business | License # | Specialty / type | Status | Useful extras |
|---|---|---|---|---|---|
| WA | B & B ROOFING, Seattle | BBROOBR740NS | Roofing | ACTIVE | Principal listed; effective 2026-11-16, expires 2028-11-16 |
| OR | MOORE ROOFING INC, Sherwood | 102532 | Residential General Contractor | ACTIVE (CCB active-licenses file) | Bond $25,000 (CBIC, exp. 2026-12-07); insurance $1,000,000 (exp. 2027-05-01) |
| NY | Abracadabra Painting Co., Inc. (DBA Avante Contracting) | 26-64Q6F-CR | NYS DOL Contractor Registry certificate | Active | Workers' comp: Yes; no red flags listed on this record |

After a run, download the dataset as **CSV, Excel, or JSON** from the Apify run page.

### Input examples

Verify a contractor by name in all three states:

```json
{ "states": ["WA", "OR", "NY"], "businessName": "acme roofing", "maxResultsPerState": 25 }
```

Verify by exact license or certificate number:

```json
{ "states": ["OR"], "licenseNumber": "102532" }
```

New licenses since a date (for example, newly licensed electrical contractors):

```json
{
  "states": ["WA", "OR", "NY"],
  "licensedSince": "2026-11-01",
  "specialtyContains": "electrical",
  "maxResultsPerState": 50
}
```

Leave `states` empty to search WA, OR, and NY. Other filters: `city`, `zip` (or a ZIP prefix such as `981`), and `activeOnly` (default true).

### Pricing

Pay per license record returned (see the Pricing tab). As published, the price starts at about **$6–$20 per 1,000 records**, depending on the buyer's Apify plan. There is no charge when nothing matches.

**Cost tip:** start with a small `maxResultsPerState` (for example 10–25) to preview the data. Apify stops a run when your maximum cost per run is reached, and the run's status message says so.

### Use with AI agents

This Actor works as a tool through [Apify's MCP server](https://docs.apify.com/platform/integrations/mcp). It returns official license records from WA, OR, and NY only. It does **not** certify that a contractor is safe to hire, does not replace the state's lookup, and is not a consumer report.

Example prompts:

- "Verify whether a contractor named Acme Roofing is licensed in Washington, Oregon, or New York, and show status, expiration, and any bond, insurance, or red-flag fields."
- "List newly licensed contractors in Oregon since 2026-11-01 whose specialty contains roofing."

### Honesty notes

- Official open-data APIs only. Records are only as current as each state's publication (WA and NY typically daily; OR roughly weekly).
- The Oregon file lists **active** licenses only, so a missing Oregon result can mean expired, revoked, or a name mismatch. The New York DOL registry file also lists only active certificates, so `activeOnly: false` changes results only for Washington.
- Always confirm critical decisions on the state's own lookup page.
- This is information, not legal advice or a guarantee of a contractor's work.
- If you market to contractors, follow TCPA, CAN-SPAM and Do-Not-Call rules.

### Data sources, licenses and terms

| State | Dataset | License / terms |
|---|---|---|
| Washington | data.wa.gov m8qx-ubtq (L\&I) | Open Data Commons Public Domain Dedication and License |
| Oregon | data.oregon.gov g77e-6bhs (CCB) | Public Domain |
| New York | data.ny.gov i4jv-zkey (DOL) | Open NY Terms of Use |

Records can include a principal's name, business phone and business address, exactly as each state publishes them. This Actor is independent and is not affiliated with or endorsed by any state agency.

### Permitted use

- **Not a consumer report.** Do not use this data to decide anyone's eligibility for credit, insurance, employment or housing (FCRA purposes).
- Data is provided as published by each agency, "as is", with no warranty of accuracy or completeness. Sources can change or go offline without notice.

# Actor input Schema

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

Which official state licensing sources to search. Allowed values: WA (Washington L\&I), OR (Oregon CCB), NY (New York DOL Contractor Registry). Leave empty to search all three. This Actor covers only these states.

## `businessName` (type: `string`):

Optional case-insensitive partial match on the contractor's business name, for example 'acme roofing'. Use this to verify a named contractor. Combine with states, and optionally licenseNumber, city, or zip.

## `licenseNumber` (type: `string`):

Optional exact license or certificate number to verify, as issued by the state (for example a Washington L\&I number or a New York DOL certificate number).

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

Optional exact city name, case-insensitive, for example Seattle or Portland. Filters the business city as published by the state.

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

Optional ZIP code or ZIP prefix, for example 981 or 97205. Matches the start of the published ZIP.

## `specialtyContains` (type: `string`):

Optional case-insensitive text to match the license specialty or type, for example electrical, roofing, HVAC, or plumbing. Coverage of specialty fields varies by state.

## `licensedSince` (type: `string`):

Optional date in YYYY-MM-DD format. Returns contractors first licensed or effective on or after this date. Use this to build a list of newly licensed contractors (leads for insurers, suppliers, or software). Example: 2026-11-01.

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

If true (the default), return only licenses the source currently reports as active. Oregon's file and New York's registry list active licenses only (so turning this off only adds inactive Washington records), so a missing Oregon result can mean expired, revoked, or a name mismatch.

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

Maximum number of license records to return per state (1–20000). Each returned record is billed, so start with 10–25 to preview the data. Default is 100.

## `socrataAppToken` (type: `string`):

Optional free app token from the state's open-data portal, used only to raise rate limits. Not required for normal use. Leave blank unless you already have a token.

## Actor input object example

```json
{
  "states": [
    "WA",
    "OR",
    "NY"
  ],
  "activeOnly": true,
  "maxResultsPerState": 10
}
```

# Actor output Schema

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

Default dataset items shown with the 'overview' view (key license fields).

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

All default dataset items with every field, one license record per item.

# 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",
        "NY"
    ],
    "maxResultsPerState": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("waynesville_data/contractor-license-check").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",
        "NY",
    ],
    "maxResultsPerState": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("waynesville_data/contractor-license-check").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",
    "NY"
  ],
  "maxResultsPerState": 10
}' |
apify call waynesville_data/contractor-license-check --silent --output-dataset

```

## MCP server setup

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

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/jUylyoV4Bt9W02KKN/builds/NgJamTKj5cm0TI41T/openapi.json
