# Contractor License Lookup & Leads: 9 US State Registries (`quarrylane-data/us-contractor-license-leads`) Actor

Contractor license lookup and lead lists from official WA, OR, TX, CT, NY, NYC, DE and CA registries: business, license no., trade, status, expiry, phone, address, bond and insurance. New-licenses filter for B2B sales teams.

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

## Pricing

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

## US Contractor License Leads: Multi-State Contractor Licence Database & Lookup API

Export **contractor licences from 9 official US state and city registries in one run**: Washington, Oregon (two boards), Texas, Connecticut, New York State, New York City, Delaware and California. Get each licensed business's **name, licence number and type, trade, status, expiry date, business phone, address, bond and insurance details** as clean JSON, CSV or Excel. Filter by **trade** (roofing, HVAC, electrical, plumbing, solar, pool...), **city**, **ZIP**, **business name** or **newly issued licences**.

Built and maintained by **Quarrylane Data**. Data comes straight from official government open-data APIs and public-records files, with no browser and no proxies, so runs are fast, cheap and reliable.

### What does this Actor do?

Every US state licenses contractors separately, so building a contractor list usually means 9 different websites, 9 formats and lots of copy-paste. This Actor queries the official registries directly and returns **one normalized record per licence**, in the same schema for every state:

Looking only for Texas? Use the dedicated spoke **[Texas TDLR Contractor License Leads](https://apify.com/quarrylane-data/texas-tdlr-contractor-license-leads)** — same official TDLR file, titled for “Texas contractor license” searches. This bundle remains the place to pull several states at once.

| Registry | Licensing body | Active licences\* | Phone | Highlights |
|---|---|---|---|---|
| `WA` | Washington State Dept. of Labor & Industries | ~76,000 | ✅ | Specialty (roofing, painting, HVAC...), UBI number, principal |
| `OR` | Oregon Construction Contractors Board (CCB) | ~45,000 | ✅ | Endorsements, **bond and insurance carrier + amounts** |
| `OR-BCD` | Oregon Building Codes Division | ~5,400 | – | Electrical, plumbing, boiler and limited-energy contractor businesses |
| `TX` | Texas Dept. of Licensing & Regulation (TDLR) | ~36,000 | ✅ | A/C & refrigeration, electrical, elevator, electrical sign and appliance-installation contractors |
| `CT` | Connecticut Dept. of Consumer Protection | ~47,000 | – | Home improvement, new home construction, major, electrical, plumbing, HVAC, sheet metal, fire protection, solar contractors |
| `NY` | New York State Dept. of Labor Contractor Registry | ~15,000 | ✅ | Public-work contractors with **MWBE, workers' comp, apprenticeship and debarment flags** |
| `NYC` | NYC Dept. of Consumer & Worker Protection | ~13,500 | ✅ | Home Improvement Contractor licences in all five boroughs |
| `DE` | Delaware Division of Revenue | ~14,000 | – | Resident and non-resident contractor business licences |
| `CA` | California Contractors State License Board (CSLB) | Statewide master extract | ✅ | Official Public Data Portal CSV with classifications, phone, mailing address, bond and workers’ comp |

\*Counts of active licences in the official datasets on 13 Nov 2026. The registries update daily to weekly.

### Who uses it?

- **Building-supply distributors and manufacturers**: find every licensed roofer, HVAC or pool contractor in your territory.
- **Contractor insurance, bonding and financing**: target newly licensed businesses and see current carriers, bond amounts and insurance expiry dates (Oregon).
- **Construction SaaS and field-service software sales teams**: build trade-specific prospect lists with phone numbers.
- **Lead-gen agencies and marketplaces**: get fresh licences every week with the **new licences** filter and monitor mode.
- **Compliance and vendor-onboarding teams**: verify a contractor's licence status and expiry by business name.
- **AI agents and MCP clients**: call it as a tool to look up or list licensed contractors.

### Input

| Field | Description |
|---|---|
| `sources` | Registries to include (`WA`, `OR`, `OR-BCD`, `TX`, `CT`, `NY`, `NYC`, `DE`, `CA`, plus optional `FL`). Empty = the 9 default registries (not Florida). |
| `trades` | `general`, `home-improvement`, `electrical`, `plumbing`, `hvac`, `roofing`, `solar`, `pool`, `elevator`, `fire-protection`, `demolition`, `excavation`, `concrete-masonry`, `carpentry`, `painting`, `flooring`, `landscaping`, `sign`, `asbestos-lead`, `specialty` |
| `licenseTypeKeywords` | Extra free-text match on licence type or specialty (e.g. `fence`, `insulation`, `garage door`) |
| `businessNameContains` | Look up a specific company |
| `cities` / `zipCodes` | Exact city names and ZIP codes or prefixes (`981` = Seattle area) |
| `activeOnly` | Default `true`. Skip expired, suspended and inactive licences. |
| `requirePhone` | Only records with a business phone number |
| `newLicensesWithinDays` | **Fresh-lead mode**: only licences issued in the last N days (billed as a premium event) |
| `onlyNew` + `monitorKey` | **Monitor mode**: return only licences you haven't received before. Ideal for weekly schedules. |
| `maxItems` / `maxItemsPerSource` | Result limits. Default 1,000; up to 1,000,000 per run. Free Apify plan: 15 per run. |

#### Example: roofing and HVAC contractors with phone numbers in Seattle, Portland and Houston

```json
{
  "sources": ["WA", "OR", "TX"],
  "trades": ["roofing", "hvac"],
  "cities": ["Seattle", "Portland", "Houston"],
  "requirePhone": true,
  "maxItems": 5000
}
```

#### Example: every contractor newly licensed in the last 7 days, weekly schedule

```json
{
  "newLicensesWithinDays": 7,
  "onlyNew": true,
  "monitorKey": "weekly-new-contractors",
  "maxItems": 10000
}
```

### Output

Every record has the same fields (null when a registry doesn't publish a value):

```json
{
  "recordId": "WA:1WAYEWE761MS",
  "businessName": "1 WAY ELECTRICAL SERVS LLC",
  "dbaName": null,
  "principalName": "Stanley, Jonathan L",
  "businessEntityType": "Limited Liability Company",
  "licenseNumber": "1WAYEWE761MS",
  "licenseType": "ELECTRICAL CONTRACTOR",
  "licenseTypeCode": "EC",
  "licenseClass": null,
  "specialties": ["GENERAL"],
  "trades": ["electrical"],
  "status": "Active",
  "isActive": true,
  "firstLicensedDate": null,
  "issueDate": "2024-07-19",
  "expirationDate": "2028-07-19",
  "phone": "+12066949024",
  "phoneFormatted": "(206) 694-9024",
  "address": "1107 NW 61ST ST",
  "address2": null,
  "city": "SEATTLE",
  "state": "WA",
  "zip": "98107",
  "county": null,
  "bondCompany": null,
  "bondAmount": null,
  "insuranceCompany": null,
  "insuranceAmount": null,
  "insuranceExpirationDate": null,
  "stateBusinessId": "605573382",
  "extra": null,
  "licensingState": "WA",
  "source": "WA",
  "sourceName": "Washington L&I contractor licenses",
  "sourceAgency": "Washington State Department of Labor & Industries",
  "verifyAt": "https://secure.lni.wa.gov/verify/",
  "sourceDataUrl": "https://data.wa.gov/d/m8qx-ubtq",
  "scrapedAt": "2026-11-13T01:34:59.019Z"
}
```

Oregon records add bond and insurance carriers, amounts and expiry. New York State records add `extra.mwbeOwned`, `workersCompInsured`, `apprenticeshipProgram`, `debarred` and `outstandingWageAssessments`.

Export as JSON, CSV, Excel, XML or RSS, or send results to Google Sheets, HubSpot, Salesforce, Make, Zapier or n8n with Apify integrations.

### Pricing

Pay per result, with no monthly rental:

| Event | Price |
|---|---|
| Contractor licence record (`contractor-record`) | **$5.00 per 1,000 records** |
| New-licence lead (`new-license-lead`, any run that uses `newLicensesWithinDays`) | **$25.00 per 1,000 records** |
| Website contact enrichment (`contact-enriched`) | **$20.00 per 1,000 successful enrichments** ($0.02 each), only when `enrichWebsiteContacts` is on and an email or phone is found on the firm's own website |

You also pay Apify's small platform usage fee, which is usually a fraction of a cent per run because the Actor makes lightweight API calls with no browser. Set **Max cost per run** in the run options and the Actor stops exactly at your budget. On the Free Apify plan each run returns up to 15 records so you can test the output.

### How fresh is the data?

Each run reads the registries live. Washington, Oregon, Connecticut, New York State, NYC and Delaware publish daily or near-daily updates to their open-data portals. Texas TDLR updates its dataset on its own schedule. California CSLB publishes a free official master CSV on its Public Data Portal.

### Tips

- **Whole-state export**: pick one source, leave the filters empty and set `maxItems` high (e.g. all ~76,000 active Washington licences in under 90 seconds).
- **Cheaper targeted lists**: combine `trades` + `cities` / `zipCodes` + `requirePhone`. Filters run inside the government APIs, so you only pay for matching records.
- **Weekly new-business leads**: schedule `newLicensesWithinDays: 7` with `onlyNew: true`.
- **Licence verification**: use `businessNameContains` with `activeOnly: false` to see the current status of a specific company.

### Is it legal to use this data?

Yes. Every source is an official government publication released as public-records or open data, much of it explicitly public-domain. The Actor reads public open-data APIs, honours each portal's robots.txt crawl delay and never logs in. Records describe licensed businesses (business name, licence and business contact details as published by the licensing agency). Use the data responsibly: follow the CAN-SPAM Act, the TCPA, do-not-call rules and any applicable state laws when you contact businesses.

### How to automate with Clay.com, n8n, Make, and Claude MCP

All examples use this Actor's Store ID `quarrylane-data/us-contractor-license-leads`. Replace `YOUR_APIFY_TOKEN` with your Apify API token (Console → Settings → API & Integrations). Never paste a token into a public workflow.

#### Official Apify API (run-sync-get-dataset-items)

This endpoint starts a run, waits for it to finish, and returns the dataset items in one call:

```bash
curl -sS -X POST \
  "https://api.apify.com/v2/acts/quarrylane-data~us-contractor-license-leads/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"sources":["WA"],"trades":["roofing"],"maxItems":15}'
```

The same URL works from any HTTP client. Use `~` between the username and Actor name.

#### n8n

- **Apify node** (community, `n8n-nodes-apify`): add the Apify credentials, choose **Run Actor**, set the Actor to `quarrylane-data/us-contractor-license-leads`, and paste the JSON input above into the Actor input field. Use the node's "wait for finish" option, then read the default dataset.
- **HTTP Request node** (works without the community package): Method `POST`, URL `https://api.apify.com/v2/acts/quarrylane-data~us-contractor-license-leads/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN`, header `Content-Type: application/json`, body as JSON. Each item in the response is one record.

#### Make (Integromat)

Use the **Apify** module's **Run an Actor** action (or an HTTP module with the endpoint above). Map the input fields you need. After the run finishes, use **Get Dataset Items** on the default dataset, or call `run-sync-get-dataset-items` in a single HTTP module to receive the rows directly.

#### Clay.com

Add an **HTTP API** enrichment column:

- Method: `POST`
- URL: `https://api.apify.com/v2/acts/quarrylane-data~us-contractor-license-leads/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN`
- Headers: `Content-Type: application/json`
- Body: `{"sources":["WA"],"trades":["roofing"],"maxItems":15}`

Map the dataset fields you need into Clay columns. Keep `maxItems` small in table-wide enrichments so each row does not start a large run.

#### Claude and the Apify MCP server

This Actor is MCP-compatible (limited permissions). Point Claude, Cursor, or any MCP client at Apify's hosted server and include this Actor in the `tools` query parameter (that is the official parameter for selecting Actors):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=quarrylane-data/us-contractor-license-leads"
    }
  }
}
```

On first connect, sign in to Apify (OAuth) or send an `Authorization: Bearer YOUR_APIFY_TOKEN` header. In Claude, you can also add `https://mcp.apify.com?tools=quarrylane-data/us-contractor-license-leads` as a custom connector under Settings → Connectors. Then ask Claude to run the US Contractor License Leads Actor for active Washington roofers.

### FAQ

**Why are some registries skipped in my run?** Some registries don't publish certain fields. When you ask for phone numbers, trades or new licences, registries without that data are skipped automatically, and the log says why.

**Why do some records have no phone or trade?** Registries publish different fields. Texas A/C contractor licences list only the county and owner (no business address or phone), so they drop out when `requirePhone` or a city filter is set. Oregon CCB endorsements say *residential/commercial general* or *specialty* but not the specialty's trade. Connecticut and Delaware publish addresses but no phone numbers.

**Can you add Florida, Arizona, Nevada or another state?** California CSLB is included via the official Public Data Portal CSV (confirmed reachable from Apify cloud on 13 Nov 2026). Florida DBPR’s official construction extract is implemented and can be selected as `FL`, but from Apify cloud IPs the file server currently returns a Cloudflare “Just a moment…” challenge (HTTP 403), so Florida is left out of the default all-sources list. Open an issue with other states you need.

**Does it work with AI agents?** Yes. The Actor runs with limited permissions, so it's available to AI agents through the Apify MCP server and agentic payments.

### You might also like

- [NPPES NPI Newly Enumerated Practices & Providers](https://apify.com/quarrylane-data/nppes-npi-new-provider-leads) — newly enumerated medical practices from the official CMS weekly file
- [FMCSA Newly Granted Authorities & Carrier Census](https://apify.com/quarrylane-data/fmcsa-new-authority-leads) — newly granted USDOT / MC authorities and optional census leads
- [Texas TDLR Contractor License Leads](https://apify.com/quarrylane-data/texas-tdlr-contractor-license-leads) — standalone Texas contractor licence Actor (same official TDLR source)
- [US Federal Contract Awards (USASpending)](https://apify.com/quarrylane-data/usaspending-federal-contract-awards) — recent prime contract awards and winners
- [US MWBE, DBE & Diversity-Certified Business Leads](https://apify.com/quarrylane-data/us-diversity-certified-business-leads) — officially certified diverse vendors
- [NYS Contract Reporter Bids & RFPs Scraper](https://apify.com/quarrylane-data/nys-contract-reporter-bids-scraper) — New York State government bids, RFPs and grants

***

Quarrylane Data, structured B2B data from official public sources.

# Actor input Schema

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

Official registries to pull from. Leave empty for all of them.

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

Keep only licences in these trades (matched against licence type, class, endorsement and specialty). Leave empty for all trades. Registries that don't publish trade detail (NY State registry, Delaware) are skipped when a trade is selected.

## `licenseTypeKeywords` (type: `array`):

Extra free-text match on licence type / specialty, e.g. 'fence', 'insulation', 'garage door'. Combined with Trades using OR.

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

Case-insensitive match on business, DBA or principal name (useful for verifying one company).

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

Exact city names, e.g. 'Seattle', 'Portland', 'Houston'.

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

5-digit ZIPs or prefixes, e.g. '98101' or '981' (all of Seattle area).

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

Skip expired, suspended, inactive and out-of-business licences.

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

Keep only records with a published business phone. Registries that publish no phones (CT, DE, OR-BCD) are skipped.

## `newLicensesWithinDays` (type: `integer`):

Fresh-lead mode: only licences first issued (or, for WA and NY, issued/effective) in the last N days. Billed as the premium 'new-license-lead' event. Registries without issue dates (TX, DE, OR-BCD) are skipped.

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

Remembers every licence delivered under the monitor key and skips it next time, so a scheduled run returns (and charges for) only new records.

## `monitorKey` (type: `string`):

Separate memory for different saved searches, e.g. 'wa-roofers'.

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

Upper limit of licences to return across all registries (Free Apify plan: 15 per run).

## `maxItemsPerSource` (type: `integer`):

Optional cap per registry so one big state doesn't use the whole budget.

## `enrichWebsiteContacts` (type: `boolean`):

When a registry record already includes the firm's own website, fetch the homepage plus likely /contact and /about pages (lightweight HTTP only, robots.txt respected, short timeouts). Adds websiteEmails, websitePhones and websiteSocials. Charges an extra $0.02 contact-enriched event only when an email or phone is found. Records with no website are skipped; domains are never guessed. Most official contractor registries do not publish a website, so this is a no-op unless a source provides one.

## Actor input object example

```json
{
  "sources": [
    "WA",
    "OR",
    "TX"
  ],
  "trades": [
    "roofing"
  ],
  "activeOnly": true,
  "requirePhone": false,
  "onlyNew": false,
  "monitorKey": "default",
  "maxItems": 1000,
  "enrichWebsiteContacts": false
}
```

# Actor output Schema

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

Contractor licence leads (business name, licence, trade, status, contact and address fields).

# 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 = {
    "sources": [
        "WA",
        "OR",
        "TX"
    ],
    "trades": [
        "roofing"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("quarrylane-data/us-contractor-license-leads").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 = {
    "sources": [
        "WA",
        "OR",
        "TX",
    ],
    "trades": ["roofing"],
}

# Run the Actor and wait for it to finish
run = client.actor("quarrylane-data/us-contractor-license-leads").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 '{
  "sources": [
    "WA",
    "OR",
    "TX"
  ],
  "trades": [
    "roofing"
  ]
}' |
apify call quarrylane-data/us-contractor-license-leads --silent --output-dataset

```

## MCP server setup

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

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/mTHtbbCndyTmhXiAQ/builds/qHN3VSozClgigyDAn/openapi.json
