# Contractor License Lookup: WA, OR, TX, NY Leads (`scrapemint/contractor-license-lookup`) Actor

Verify contractor licenses or pull newly licensed contractors from Washington L\&I, Oregon CCB, Texas TDLR and New York DOL: license, status, trade, issue and expiry dates, phone, address, bond and insurance. Search by name, number, trade, city or ZIP.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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: WA, OR, TX, NY Leads

Verify a contractor's license or pull every newly licensed contractor from four official state license rolls in one run:

- **Washington**: Labor & Industries contractor registrations
- **Oregon**: Construction Contractors Board active licenses (with bond and insurance)
- **Texas**: TDLR trade licenses (electrical, A/C, appliance, sign, water well, elevator)
- **New York**: Department of Labor Contractor Registry (with workers' comp and debarment flags)

Every row uses the same fields: license number, business, trade, status, issue and expiry dates, **phone**, address, principal, bond and insurance where the state publishes them. Data comes from each state's open-data portal, refreshed daily. No API key, no login, no CAPTCHA.

### Who uses it

- **Insurance, bonding and surety agents**: new contractors need general liability, workers' comp and license bonds
- **Building suppliers, equipment dealers, software vendors**: reach newly licensed electricians, HVAC and general contractors
- **Homeowners, property managers, GCs**: verify a sub's license status, expiry and insurance before hiring
- **Marketplaces and lead-gen platforms**: verify contractors at signup

### What you get

- `licensingState` (the board: WA, OR, TX, NY), `licenseNumber`, `businessName`, `dbaName`, `ownerOrPrincipal`
- `licenseType`, `trades`, `status`, `issueDate`, `expirationDate`
- `phone`, `street`, `city`, `state`, `zip`, `county`, `businessType`
- Oregon: `bondCompany`, `bondAmount`, `insuranceCompany`, `insuranceAmount`, `insuranceExpiration`
- New York: `workersCompInsurance`, `debarred`, `wageAssessmentsOutstanding`, `mwbeOwned`
- `lookupUrl` to the official record

### Example input

Electricians licensed in Washington and New York in the last 30 days:

```json
{ "states": ["WA", "NY"], "trades": ["ELECTRICAL"], "issuedWithinDays": 30, "requirePhone": true }
```

Verify specific contractors:

```json
{ "states": ["WA", "OR", "TX", "NY"], "businessNames": ["ACME ROOFING"], "licenseNumbers": ["ECOSTSC758NN"] }
```

### Example output

```json
{
  "licensingState": "WA",
  "licenseNumber": "ECOSTSC758NN",
  "businessName": "!ECO STAR C G CONSTRUCTION LLC",
  "ownerOrPrincipal": "GUERRERO MARTINEZ, CARLOS I.",
  "licenseType": "CONSTRUCTION CONTRACTOR",
  "trades": ["GENERAL"],
  "status": "ACTIVE",
  "issueDate": "2025-08-15",
  "expirationDate": "2027-08-15",
  "phone": "+15039573452",
  "city": "VANCOUVER",
  "zip": "98661"
}
```

### Pricing

Pay per license row. The first row of every run is free.

### Notes

- Texas TDLR does not publish issue dates, so `issuedWithinDays` skips Texas. Without trades, Texas returns construction trades only (not barbers or cosmetologists).
- Oregon's file lists active licenses only. New York's registry covers contractors on public works and covered private projects.
- More states will be added. Ask in the Issues tab for the one you need.
- For permits pulled by contractors, see [Building Permit Leads](https://apify.com/scrapemint/building-permit-leads).

# Actor input Schema

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

Which state license rolls to search. Covered: WA (Labor & Industries), OR (CCB), TX (TDLR trades), NY (DOL Contractor Registry).

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

Look up specific license or certificate numbers.

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

Business or owner name contains this text (case insensitive). Up to 20.

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

Keyword matched against the license type and specialty, e.g. ELECTRICAL, PLUMBING, ROOFING, HVAC, A/C, GENERAL, RESIDENTIAL. Texas defaults to construction trades when empty.

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

Business city, e.g. SEATTLE, PORTLAND, AUSTIN.

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

e.g. 98101 or 981.

## `issuedWithinDays` (type: `integer`):

Only licenses issued in the last N days (new contractor leads). 0 = any date. Texas publishes no issue date and is skipped when this is set.

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

Skip expired, suspended and revoked licenses where the state publishes status.

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

Only licenses with a phone number on file.

## `maxRows` (type: `integer`):

Cap on rows returned, split evenly across states. Controls cost.

## Actor input object example

```json
{
  "states": [
    "WA",
    "OR",
    "TX",
    "NY"
  ],
  "issuedWithinDays": 0,
  "activeOnly": true,
  "requirePhone": false,
  "maxRows": 500
}
```

# Actor output Schema

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

One row per contractor license in one shared schema across states.

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

Licenses returned per state.

# 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",
        "TX",
        "NY"
    ]
};

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

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

```

## MCP server setup

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

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/JwLs9SojZOtAiTt8o/builds/YR0ZgfxbLbPHdjSm8/openapi.json
