# Contractor Licenses Scraper: Insurance and Bonds (`parselab/us-contractor-licenses-bonds-insurance-scraper`) Actor

Scrape contractor licenses from the registries of Washington, Oregon and New York in one format. Get license type, status, dates, address, insurance and bond company and amount, and expiration alerts. Find contractors whose coverage expires soon. Export to CSV or Excel.

- **URL**: https://apify.com/parselab/us-contractor-licenses-bonds-insurance-scraper.md
- **Developed by:** [ParseLab](https://apify.com/parselab) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.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.
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 Licenses Scraper: Licenses, Insurance, Bonds and Expiration Alerts

This contractor licenses scraper reads the official registries of Washington, Oregon and New York and gives you one clean table in one format. Each row is a licensed or registered contractor with the license number and type, the status, the dates the license was issued and expires, the days left, the business address and the business phone where the registry publishes it. Washington and Oregon also publish the **liability insurance** and the **bond** of each contractor, so the rows include the insurance company, the amount and its expiration date, the bond company and its amount, and flags such as insurance expires within 60 days.

The summary mode counts contractors by license type, status, city, county, insurance company, bond company or month, with the average insurance and bond amounts.

Insurance brokers and surety agents, material suppliers, software vendors, general contractors that vet subcontractors, lenders, property managers, compliance teams and researchers use it to find licensed contractors, check their coverage and reach them at the right moment, for example before their insurance runs out.

### What can you do with this contractor licenses scraper?

- Find contractors by name, trade, city, county or ZIP code
- Find contractors whose insurance or bond expires in the next weeks
- Find contractors with missing or expired coverage
- Keep only contractors with a minimum insurance or bond amount
- See which insurance and bond companies cover the most contractors
- Vet subcontractors: status, coverage, debarment and violation flags in New York
- Find the newest licenses issued in a period
- Find contractors based in another state
- Export to CSV or Excel, or send new licenses to your own tools

### What data can you extract?

| Mode | One row is | Highlights |
|---|---|---|
| Licenses | One license | State and source, license number, business name, license type and specialties, status, business type, issue date, expiration date, days to expiration, license age, address, city, county, ZIP, out of state flag, business phone (not shown for sole proprietors in Washington and New York), insurance company, amount and expiration, bond company, amount and expiration, days left for each, compliance flags, link to the source dataset |
| Summary | One group in one source | Group (type, status, city, county, state, insurer, bond company, month or business type), licenses, share, active share, licenses expiring within 60 days, average insurance amount, average bond amount, top types, top cities, top insurers, first and last issue date |

New York public works contractors also carry flags for outstanding wage assessments, debarment, labor or tax law violations, safety violations, workers compensation coverage and minority or women owned status. New York mold and elevator contractors are included as separate sources.

### How to scrape contractor licenses

1. Choose **Licenses** or **Summary**.
2. Pick the sources: Washington, Oregon and the New York registries.
3. Add filters: name words, trade, city, dates, or coverage that expires within a number of days.
4. Set **Max Items** and click **Start**.
5. Export the dataset as CSV, Excel or from the Apify console.

### Input example

```json
{
  "mode": "licenses",
  "states": ["wa", "or"],
  "licenseTypes": ["general"],
  "insuranceExpiringWithinDays": 45,
  "minBondAmount": 20000,
  "maxItems": 500
}
```

### Output example

```json
{
  "state": "OR",
  "businessName": "LM PAINT LLC",
  "licenseType": "Residential General Contractor",
  "status": "Active",
  "expirationDate": "2028-11-04",
  "insurer": "Everspan Insurance Company",
  "insuranceAmount": 1000000,
  "insuranceDaysToExpiration": 40,
  "bondCompany": "Atlantic Specialty Insurance Company",
  "bondAmount": 25000,
  "flags": ["insurance expires within 60 days"]
}
```

### How much does it cost to scrape contractor licenses?

You pay per result: $20 per 1,000 rows plus a tiny start fee. The free plan returns up to 10 rows per run. A summary row counts many licenses, so those reports cost only a few cents.

### Tips for better results

- Each state publishes different fields. Insurance and bond details come from Washington and Oregon only. New York publishes compliance flags instead.
- Washington stores insurance and bonds in separate lists. The Actor joins the latest record of each license. Some contractors have a bond that lasts until canceled, so it has no expiration date.
- Oregon has no issue date that can be sorted, so the Actor reads the whole list, which takes about half a minute, and sorts it for you.
- The registries are updated every day, but an insurance policy can be renewed before the registry shows it. Treat an expiring policy as a lead to check, not as proof.
- Business phone numbers appear when the registry publishes them, and they are not shown for sole proprietors in Washington and New York. Oregon does not label sole proprietors, so check its phone numbers before you use them.
- Names of owners, principals, managers and signers are not collected. Email addresses are not collected.
- Some records have an issue date in the future, which is a mistake in the source. Those dates are left empty.
- The type of license is written by each state. Use words such as general, electrical or plumbing in the license type filter.

### Who uses this data?

- **Insurance brokers and surety agents** reach contractors before coverage ends.
- **General contractors and developers** vet subcontractors.
- **Suppliers and software vendors** find new licensed businesses.
- **Lenders and property managers** check coverage and standing.
- **Compliance teams and researchers** follow licensing and violations.

### Automate and connect

Schedule the Actor every week with the coverage that expires in the next 45 days and send the rows to your CRM, Google Sheets, Slack, Zapier, Make or n8n, or trigger a webhook when a run ends.

### FAQ

**Do I need an account or a login?**
No. The Actor works without any login.

**Which states are covered?**
Washington, Oregon and New York. New York has the public works contractor registry and the mold and elevator contractor licenses.

**Can you add my state?**
Open an issue with the state and its contractor license dataset and it can be considered.

**Is the phone number of every contractor included?**
Only when the registry publishes it, and not for sole proprietors in Washington and New York.

**How current is the data?**
The Actor reads the state portals when you run it. They are usually updated daily.

### Legal note

This Actor collects information that is publicly visible on the website. Check the source site's terms and your local rules before using the data, including the rules on marketing contact by phone.

### Support

Missing a field or found a bug? Open an issue from the Actor page.

# Actor input Schema

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

Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000.

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

Licenses returns one row per licensed or registered contractor. Summary counts licenses by type, status, city, county, insurer, bond company or month.

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

wa (Washington contractors with insurance and bond), or (Oregon contractors with insurance and bond), nyreg (New York public works contractor registry), nymold (New York mold contractors), nyelevator (New York elevator contractors). Leave empty for Washington, Oregon and the New York registry.

## `nameContains` (type: `array`):

Part of the business name, for example roofing, electric, builders or paving. Each word is an alternative.

## `licenseTypes` (type: `array`):

Part of the license type or specialty, for example general, electrical, plumbing, residential or mold.

## `statuses` (type: `array`):

Part of the status as the state writes it, for example active, expired or suspended.

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

Part of the city name of the business address.

## `counties` (type: `array`):

Oregon only. Part of the county name.

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

ZIP codes or their first digits.

## `issuedAfter` (type: `string`):

Keep licenses issued on or after this date, in the form 2026-01-01.

## `issuedBefore` (type: `string`):

Keep licenses issued on or before this date.

## `expiringWithinDays` (type: `integer`):

Keep licenses that expire in the next number of days, for example 60. Useful for renewal services.

## `insuranceExpiringWithinDays` (type: `integer`):

Washington and Oregon. Keep contractors whose liability insurance expires in the next number of days. Useful for insurance brokers.

## `bondExpiringWithinDays` (type: `integer`):

Washington and Oregon. Keep contractors whose bond expires in the next number of days. Useful for surety agents. Bonds that last until canceled are skipped.

## `minInsuranceAmount` (type: `integer`):

Washington and Oregon.

## `minBondAmount` (type: `integer`):

Washington and Oregon.

## `missingCoverageOnly` (type: `boolean`):

Washington and Oregon. Keep contractors with no insurance or bond on record, or with one that already expired.

## `outOfStateOnly` (type: `boolean`):

Keep businesses whose address is outside the state of the license.

## `includeCoverage` (type: `boolean`):

Washington keeps insurance and bonds in other lists. This adds them to each row. Turn it off for faster runs.

## `groupBy` (type: `string`):

Summary mode. What to count.

## `sampleSize` (type: `integer`):

Summary mode. How many licenses to read in each source before counting.

## Actor input object example

```json
{
  "maxItems": 10,
  "mode": "licenses",
  "states": [
    "wa",
    "or",
    "nyreg"
  ],
  "missingCoverageOnly": false,
  "outOfStateOnly": false,
  "includeCoverage": true,
  "groupBy": "licenseType",
  "sampleSize": 20000
}
```

# Actor output Schema

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

No description

# 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 = {
    "maxItems": 10,
    "states": [
        "wa",
        "or",
        "nyreg"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("parselab/us-contractor-licenses-bonds-insurance-scraper").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 = {
    "maxItems": 10,
    "states": [
        "wa",
        "or",
        "nyreg",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("parselab/us-contractor-licenses-bonds-insurance-scraper").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 '{
  "maxItems": 10,
  "states": [
    "wa",
    "or",
    "nyreg"
  ]
}' |
apify call parselab/us-contractor-licenses-bonds-insurance-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parselab/us-contractor-licenses-bonds-insurance-scraper"
        }
    }
}
```

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/aRhMLlow77Hzg4zOU/builds/0GQoRZZENlaOl7WjB/openapi.json
