# US Multi-State Contractor License, Bond & Insurance Verifier (`jacobianflux/us-contractor-license-verifier`) Actor

Verify US contractor licenses, surety bonds, liability insurance, and expiration status across 5 official state boards (CA CSLB, TX TDLR, OR CCB, WA L\&I, CT DCP). Returns a 0-100 KYB underwriting trust score and APPROVE/REVIEW/REJECT decision. Errors & misses free.

- **URL**: https://apify.com/jacobianflux/us-contractor-license-verifier.md
- **Developed by:** [Jacobian Flux Labs](https://apify.com/jacobianflux) (community)
- **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 license verifieds

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 Multi-State Contractor License, Bond & Insurance Verifier

Verify contractor licenses, surety bonds, general liability / workers' compensation status, and expiration risk across **5 official US state licensing registries** in a single normalized JSON feed — complete with a deterministic **0–100 Underwriting Trust Score** and **`APPROVE` / `REVIEW` / `REJECT` decision**.

### Why Use This Actor Over Single-State Scrapers?

Most contractor lookup tools only scrape a single state board and return raw HTML strings. **US Multi-State Contractor License Verifier** unifies five official state registries into one strict schema built for fintech KYB underwriting, proptech marketplaces, construction ERPs, and insurance compliance pipelines:

- **Oregon (`OR`):** Oregon Construction Contractors Board (CCB) — includes active status, surety bond carrier & dollar amount, general liability insurance carrier & coverage limit, RMI principal, and endorsements.
- **Texas (`TX`):** Texas Department of Licensing and Regulation (TDLR) — license types/subtypes, owner name, county, phone, and expiration runway.
- **Washington (`WA`):** Washington Dept. of Labor & Industries (L\&I) — contractor license status, specialty classifications, principal name, and effective/expiration dates.
- **Connecticut (`CT`):** Connecticut Dept. of Consumer Protection (DCP) — credential status, active flag, status reason, and issue/expiration dates.
- **California (`CA`):** Contractors State License Board (CSLB) — real-time CheckLicenseII verification with classifications, bond coverage, Workers' Compensation status, and graceful detection of CSLB's Sunday night maintenance window.

Every verified record includes `daysUntilExpiration`, `trustScore` (`0–100`), `underwritingDecision` (`APPROVE`, `REVIEW`, `REJECT`), and `complianceFlags` (`EXPIRING_IMMINENT_30_DAYS`, `SURETY_BOND_VERIFIED`, `LIABILITY_INSURANCE_VERIFIED`, `LICENSE_EXPIRED`, etc.). Failed portal lookups or non-existent license numbers are reported transparently and **never billed**.

***

### Input Parameters

| Field | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `states` | `array<string>` | `["OR", "TX"]` | State codes or full names to query: `OR`, `TX`, `WA`, `CT`, `CA`. |
| `licenseNumbers` | `array<string>` | `[]` *(UI prefill: `["100215", "296"]`)* | Specific license numbers to verify. Leave empty when searching purely by `businessName`. |
| `businessName` | `string` | `""` | Optional contractor business or owner/principal name search. |
| `maxResults` | `integer` | `25` | Maximum verified records to return (`1`–`2000`). |

***

### Output Sample

```json
{
  "state": "OR",
  "registrySource": "Oregon Construction Contractors Board (CCB)",
  "licenseNumber": "100215",
  "businessName": "PACIFIC NORTHWEST BUILDERS INC",
  "ownerOrPrincipal": "JOHN DOE",
  "licenseStatus": "ACTIVE",
  "isActive": true,
  "classifications": [
    "Residential General Contractor",
    "Commercial General Contractor Level 2"
  ],
  "issueDate": "1994-06-14",
  "expirationDate": "2028-06-14",
  "daysUntilExpiration": 569,
  "bondCompany": "WESTERN SURETY COMPANY",
  "bondAmount": 20000.0,
  "insuranceOrWorkersCompStatus": "CONTINENTAL WESTERN INSURANCE CO ($1,000,000, exp 2027-05-01)",
  "phone": "5035550199",
  "address": "1234 INDUSTRIAL WAY",
  "city": "PORTLAND",
  "county": "MULTNOMAH",
  "zipCode": "97201",
  "trustScore": 100,
  "underwritingDecision": "APPROVE",
  "complianceFlags": [
    "ACTIVE_STANDING",
    "SURETY_BOND_VERIFIED",
    "LIABILITY_INSURANCE_VERIFIED"
  ],
  "verifiedAt": "2026-11-23T04:00:00+00:00",
  "error": null
}
```

***

### Python Usage (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("jacobianflux/us-contractor-license-verifier").call(
    run_input={
        "states": ["OR", "TX", "WA"],
        "licenseNumbers": ["100215", "296"],
        "businessName": "",
        "maxResults": 25,
    }
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(
        f"[{item['state']}] #{item['licenseNumber']} {item['businessName']} -> "
        f"{item['underwritingDecision']} (Trust: {item['trustScore']}/100)"
    )
```

***

### Claude Desktop / Cursor MCP Integration

Expose instant contractor KYB verification to AI agents via the hosted Apify MCP server (`https://mcp.apify.com`):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?actors=jacobianflux/us-contractor-license-verifier",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

### Workflow Automation (`n8n` / Make)

1. Trigger on vendor onboarding form submission (HubSpot, Typeform, Procore, ServiceTitan).
2. Run **Apify -> Run an Actor** (`jacobianflux/us-contractor-license-verifier`) passing the submitted state and license number.
3. Branch on `underwritingDecision`:
   - `APPROVE` -> Auto-activate vendor in ERP.
   - `REVIEW` -> Route to compliance officer Slack channel with `complianceFlags`.
   - `REJECT` -> Block onboarding and request updated credential documentation.

***

### Transparent Pay-Per-Event Pricing

| Event | Price | Details |
| :--- | :--- | :--- |
| `license-verified` | **$0.005 / license** | Charged only for verified official state board records. Not-found licenses, unsupported states, and portal errors are **$0 (free)**. |

Non-subscribed Free Plan users can test up to **10 verified licenses per run** automatically.

# Actor input Schema

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

Two-letter state codes to query. Supported official registries: OR (Oregon CCB), TX (Texas TDLR), WA (Washington L\&I), CT (Connecticut DCP), CA (California CSLB).

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

Exact contractor license or credential numbers to verify across the selected states. Leave empty when searching purely by Business Name.

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

Optional contractor business name or owner/principal name to search across selected state registries.

## `maxResults` (type: `integer`):

Maximum number of verified contractor license records to return in a single run.

## Actor input object example

```json
{
  "states": [
    "OR",
    "TX"
  ],
  "licenseNumbers": [
    "100215",
    "296"
  ],
  "businessName": "",
  "maxResults": 25
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing verified state license records, bond/insurance coverage, compliance flags, and underwriting decisions.

# 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": [
        "OR",
        "TX"
    ],
    "licenseNumbers": [
        "100215",
        "296"
    ],
    "businessName": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("jacobianflux/us-contractor-license-verifier").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": [
        "OR",
        "TX",
    ],
    "licenseNumbers": [
        "100215",
        "296",
    ],
    "businessName": "",
}

# Run the Actor and wait for it to finish
run = client.actor("jacobianflux/us-contractor-license-verifier").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": [
    "OR",
    "TX"
  ],
  "licenseNumbers": [
    "100215",
    "296"
  ],
  "businessName": ""
}' |
apify call jacobianflux/us-contractor-license-verifier --silent --output-dataset

```

## MCP server setup

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

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/WUinHMpse6KZSQ6Hh/builds/5woPNIDRMUtT2Zwdo/openapi.json
