# New Contractor Licenses Feed: WA, OR, CT & NY (Companies) (`moment-data/us-new-contractor-licenses-feed`) Actor

Daily feed of newly licensed contractor companies from official state open data: Washington L\&I, Oregon CCB, Connecticut DCP and New York DOL Contractor Registry. Licence type, specialty, city/ZIP, bond and insurer, entity type. Filters + 'new since last run'.

- **URL**: https://apify.com/moment-data/us-new-contractor-licenses-feed.md
- **Developed by:** [Luke Miller](https://apify.com/moment-data) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 contractor 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

## New Contractor Licenses Feed: WA, OR, CT & NY (Companies)

Get **newly licensed contractor companies** (construction, home improvement, electrical, plumbing, roofing, solar, demolition, abatement and public-work contractors) from **official state open data** as a clean, deduplicated daily feed. One record per new licence, with licence type, specialties, city/ZIP/county, entity type and, for Oregon, the surety bond, insurer and employee status.

Unlike contractor *lookup* scrapers, this Actor answers **"which contractor companies got licensed this week?"**, and in `sinceLastRun` mode it returns **only the licences you haven't seen yet**. That makes it a good fit for a daily schedule that feeds your CRM.

| State | Official source | What counts as "new" |
|---|---|---|
| Washington | WA Dept. of Labor & Industries, contractor licence data (data.wa.gov `m8qx-ubtq`) | licence effective date |
| Oregon | Construction Contractors Board, active licences (data.oregon.gov `g77e-6bhs`) | original registration date |
| Connecticut | Dept. of Consumer Protection, licences & credentials (data.ct.gov `ngch-56tr`) | issue date (home improvement, new home, major, demolition, asbestos/lead contractors) |
| New York | Dept. of Labor Contractor Registry (data.ny.gov `i4jv-zkey`) | certificate issue date (registry opened Nov 2024; renewals begin late 2026) |

### Use cases

- **Sell to new contractors:** suppliers, lumber yards, equipment dealers and rental companies reach companies in their first weeks of trading.
- **Insurance, bonding and finance:** general liability, workers' comp, surety, equipment finance and fleet cards.
- **B2B software:** field-service, estimating, scheduling, payroll and accounting tools for trades.
- **Lead lists for trade associations, training providers and marketing agencies.**
- **Market monitoring:** watch new entrants by trade or ZIP (e.g. solar or roofing in the 981xx ZIPs).

### Quick start

1. Click **Start** with the default input `{}`. You get the 32 newest contractor-company licences (8 per state) from each state's latest 7 days of data, in about 10 seconds.
2. Narrow the results with **Keywords** (`roof`, `solar`, `electric`...), **ZIP prefixes**, **Cities**, **Entity types** or **States**.
3. For a lead feed, set **Mode = New since last run**, raise **Max records**, and schedule the Actor daily. Each licence is delivered once per **State key**.

```json
{ "mode": "sinceLastRun", "keywords": ["roof", "solar"], "zipPrefixes": ["97", "98"], "maxItems": 500, "stateKey": "pnw-roofing" }
```

### Sample output

```json
{
  "source": "washington",
  "sourceState": "WA",
  "eventType": "newContractorLicense",
  "eventDate": "2026-10-30",
  "licenseNumber": "WAMOBML743P9",
  "businessName": "WA MOBILE LOCKSMITH",
  "dbaName": null,
  "entityType": "llc",
  "ownershipType": "Limited Liability Company",
  "licenseType": "Construction Contractor",
  "licenseCode": "CC",
  "specialties": [
    "Locks, Security and Alarm Equipment"
  ],
  "city": "Everett",
  "state": "WA",
  "zip": "98203",
  "county": null,
  "expirationDate": "2028-10-30",
  "status": "Active",
  "stateBusinessId": "606306938",
  "bondCompany": null,
  "bondAmount": null,
  "insuranceCompany": null,
  "insuranceAmount": null,
  "licenseId": "WA:WAMOBML743P9",
  "agency": "Washington State Department of Labor & Industries",
  "datasetUrl": "https://data.wa.gov/d/m8qx-ubtq",
  "sourceDataset": "L&I Contractor License Data - General",
  "newMeans": "contractor registration effective date",
  "attribution": "Source: Washington State Department of Labor & Industries, L&I Contractor License Data - General (Open Data Commons Public Domain Dedication and License (PDDL)). Processed by this Actor.",
  "retrievedAt": "2026-11-02T06:03:48.247Z"
}
```

The dataset view shows a table, and each run also writes an `OUTPUT` summary record with per-state windows, rows read, drops and errors.

### Companies only (privacy)

This feed covers businesses only. Individual and sole-proprietor licensees are dropped, and so are companies named after a person (e.g. "JOHN SMITH LLC"). Phone numbers, street addresses, principals, officers, owners and responsible managing individuals are **never requested from the source or output**. Location is limited to city, ZIP and county.

### Pricing

Pay per event: you pay only for the records you get.

| Event | Price | Charged |
|---|---|---|
| Actor start | $0.005 | once per run |
| Contractor record | $0.003 | per new contractor licence delivered |

A **default run** (`{}`, 32 records) costs about **$0.10**. A daily all-state feed of roughly 80-120 new companies costs about $0.25-0.37 a day. Use **Max records** to cap any run. No separate platform-usage charges.

### Notes

- Data comes from the states' official open-data portals (Socrata SODA API) under their open-data terms (WA: PDDL; OR and CT: public domain; NY: NY Open Data terms). It is processed by this Actor (filtered and normalised). Not affiliated with any state agency.
- The states publish on their own schedules (usually daily). The window ends at each state's newest published date, so a quiet day never returns empty.
- Oregon lists one row per endorsement. These are merged into one record per licence, with extra endorsements in `specialties`.

# Actor input Schema

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

window (default): licences in the latest N days of each state's data, no saved state. sinceLastRun: only licences not delivered before for this State key; use for daily schedules.

## `sources` (type: `array`):

Official state datasets to read (default: all 4).

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

Window length in days, ending at each state's newest published licence date (default 7). For daily schedules 7-14 days catches late-published records; already-delivered licences are skipped in sinceLastRun.

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

Keep records whose company name, trade name, licence type or specialty contains any of these words (e.g. roofing, solar, electrical, general).

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

Drop records whose name / licence type / specialty contains any of these words.

## `entityTypes` (type: `array`):

Restrict to these legal forms (default: all companies).

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

Exact city names (case-insensitive), e.g. Seattle, Portland, Hartford.

## `zipPrefixes` (type: `array`):

ZIP code prefixes, e.g. 981 (Seattle area) or 972 (Portland).

## `date` (type: `string`):

YYYY-MM-DD; for backfills. Default: each state's newest published date.

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

Cap per run (also caps your spend). States are interleaved so each is represented.

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

Saved-state name for sinceLastRun; use one per saved search.

## Actor input object example

```json
{
  "mode": "window",
  "sources": [
    "washington",
    "oregon",
    "connecticut",
    "newYork"
  ],
  "daysBack": 7,
  "keywords": [],
  "maxItems": 32,
  "stateKey": "default"
}
```

# Actor output Schema

## `contractors` (type: `string`):

One record per new contractor licence held by a company.

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

Per-state windows, rows read, records dropped by the company-only screen, errors and notes.

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

// Run the Actor and wait for it to finish
const run = await client.actor("moment-data/us-new-contractor-licenses-feed").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 = { "keywords": [] }

# Run the Actor and wait for it to finish
run = client.actor("moment-data/us-new-contractor-licenses-feed").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 '{
  "keywords": []
}' |
apify call moment-data/us-new-contractor-licenses-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moment-data/us-new-contractor-licenses-feed"
        }
    }
}
```

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/oTOICxzGvBuv9bl9K/builds/x5psmHrwbEph4aSVC/openapi.json
