# Contractor Vetting: Bulk License & Business Entity Check (`scrapebench/contractor-vetting-license-entity-check`) Actor

Is each vendor a licensed contractor? Bulk contractor vetting in 29 US states: send up to 5,000 companies by name and state (city or license number optional), get license status, type and expiry, the business entity record, match confidence and a no_match_reason. $0.01 per company answered.

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

## Pricing

$5.00 / 1,000 companies answered

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/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 Vetting: Bulk License & Business Entity Check

**What it does:** takes a list of companies, each with its own state, and answers per company: is there a contractor license under that name or number, what is its status, and what does the state's business registry hold for that company.

**Call it with:** `{"companies": [{"name": "Quality Remodeling LLC", "state": "VA"}]}`. **Returns:** `input_name`, `input_state`, `license_match`, `license_confidence`, `licenses` (license_number, license_type, status, expiry_date, verdict), `entity` (name, entity_id, type, status, formed, agent), `entity_match`, `no_match_reason`. A miss is a reason code, never "unlicensed". $0.005 per company answered; ambiguous, partial-register, not-covered, unavailable and failed checks are not charged.

### Pain points

- A vendor or subcontractor list spans several states, and every state keeps its license and its business registration in a different place.
- Checking 300 subcontractors by hand is 600 searches, and a name that differs by 'LLC' or '&' looks like a miss.
- A tool that guesses at near-matches ends up telling you about somebody else's license.

### What we solve

- One list in, one row per company out: license status, type and expiry for every license the firm holds, plus the state's business entity record.
- Strict, explainable matching: case, punctuation, legal suffixes (LLC, Inc), a leading 'The', '&' and 'and', and 'X dba Y' tried both ways. No fuzzy matching, so a typo misses instead of matching a stranger.
- Two different firms with one name are told apart by the city or license number you give; still tied, the row says ambiguous and lists every candidate. It is never charged.
- Every miss carries a reason code: not on the roster, local registers only, state not covered, ambiguous, unavailable.

### Summary

Bulk contractor vetting from one list. Each company carries its own state (and optionally a city, a license number or a phone), and gets one row: the licenses found under that name or number with status, type, expiry and a verdict (active, expired, revoked, suspended, inactive), how the match was made and how confident it is, and, as its own block, the business entity record the state keeps for the company (registered name, id, type, status, formation date, registered agent). The entity is joined by the registry's own id where the license carries one, otherwise by one unique name in the state plus your city, and it is never merged into the license. A miss is never 'unlicensed': it is a reason code you can act on.

### Who it's for

- General contractors and property managers vetting subcontractor and bid lists across several states
- Insurers, lenders and marketplaces checking contractor licenses and registrations in bulk or at signup
- Procurement teams re-vetting an approved-vendor list every quarter
- AI agents that need one structured answer per company, with a reason when there is none

### How to use

Set the input, run the actor, and collect results from the run's dataset (export to JSON/CSV/Excel, or pull via the Apify API). Example input:

```json
{
  "companies": [
    {
      "name": "Quality Remodeling LLC",
      "state": "VA"
    },
    {
      "name": "Crear Contracting",
      "state": "IA",
      "city": "Mediapolis"
    }
  ]
}
```

See **Inputs** below for every available field.

### What you get

One row per record:

| Field | Description |
|---|---|
| `input_name / input_state / input_city / input_license_number / id` | What you sent, echoed back. id is your own key for the company. |
| `license_match` | How the license was matched. exact_number (the license number you gave) | exact_name (name equal after folding case, punctuation, suffixes, 'The', & / and) | exact_name_city (two firms shared the name and your city chose one) | dba_name (matched through a 'doing business as' name, lower confidence) | none | ambiguous (several different firms fit; nothing is charged) |
| `license_confidence` | high | medium | low, or null when nothing matched. medium: the license number matched but the name on the license differs, or the single firm is in a different city than the one you gave. low: matched through a dba name |
| `licenses` | Every license the matched firm holds: license_number, license_type, status (as the state words it), expiry_date, verdict (active | expired | revoked | suspended | inactive | unknown) and the name on the license |
| `entity` | The state business registry's record: name, entity_id, type, status, formed, agent, city. Null when none matched |
| `entity_match` | exact_key (the license carries the registry's own id) | name_unique_city (one entity has the name and your city agrees) | name_unique (one entity has the name; you gave no city) | ambiguous | none | no_entity_data (no registry data for the state) |
| `no_match_reason` | Why there is no license: no_such_name_on_roster (the state's register was read in full and has no such name or number) | local_register_only (only local registers or one trade are covered; a miss is not a finding) | state_not_covered | ambiguous_name | source_unavailable | check_failed (the entry had no name, number or state) |
| `candidates` | On an ambiguous row only: every license of every firm that fits, so you can pick by city or license number and re-run |
| `note` | A plain-language caveat for this row, when there is one |

Sample:

```json
{
  "input_name": "Quality Remodeling LLC",
  "input_state": "VA",
  "license_match": "exact_name",
  "license_confidence": "high",
  "licenses": [
    {
      "license_number": "177611",
      "license_type": "Class A Contractor",
      "status": null,
      "expiry_date": "12/31/2026",
      "verdict": "active",
      "name": "QUALITY REMODELING LLC"
    }
  ],
  "entity": {
    "name": "Quality Remodeling, LLC",
    "entity_id": "11117908",
    "type": "Limited Liability Company",
    "status": "ACTIVE",
    "formed": "2020-10-05",
    "agent": "Brooke S Barden",
    "city": "Midlothian"
  },
  "entity_match": "name_unique"
}
```

### Inputs

| Field | Required | Type | Default | Description |
|---|---|---|---|---|
| `companies` | no | array | `[{"name": "Quality Remodeling LLC", "state": "VA"}]` | The companies to vet, up to 5,000 per run. Each entry is a company name (text) or an object {"name", "state", "city", "licenseNumber", "phone", "id"}: name and state are enough, city or licenseNumber separates two firms with one name, id is echoed back on the row. A plain text entry takes the default State below. |
| `state` | no | string | — | Two-letter state code used for entries that carry no state of their own. Prefer a state on each company: one list can mix states. |
| `includeEntity` | no | boolean | `true` | Adds `entity` (registry name, id, type, status, formation date, registered agent) and `entity_match`: exact_key (the licence row carries the registry's own id), name_unique_city (one registry entity has this name, and the city you gave agrees), name_unique (one entity has this name; no city given), ambiguous (several entities share it), none, or no_entity_data (no registry data for the state). Never merged into the licence. |
| `maxResults` | no | integer | — | Run-wide cap on companies answered, each billed $0.005 (1,000 = at most $5.00). Companies past it are not delivered; one free notice says so. Leave empty for no cap beyond your maximum cost per run. |

### Pricing (Pay Per Event)

You pay per result (`company-vetted`) — **no charge for empty runs**. Example: **1000 companies answered** at *$0.005/result* ≈ **$5.00**.

**$0.005 per company answered.** The business entity block is part of the answer. Not charged: ambiguous rows, misses against local registers only, states not covered, unavailable reads, entries without a name or state, and notices. Set `maxResults` to cap the number of companies answered (1,000 companies = at most $5.00).

### Use cases

- A general contractor's onboarding agent vets 300 subcontractors across five states before a job starts and flags every expired license.
- An insurer's underwriting agent checks an applicant list of 4,000 contractor names in one state and reads no_match_reason to decide which to review by hand.
- A marketplace verifies new trade sign-ups nightly: license status plus whether the business entity is in good standing.
- A procurement team re-vets its approved-vendor list every quarter and diffs the statuses.
- A lender's agent checks one contractor by license number and gets the license and the entity record in one call.
- A property manager's agent checks that a bid list holds no suspended or revoked licenses.

### Why this actor

- Built for lists: up to 5,000 companies in one run, each with its own state, answered from stored copies in minutes, not one sub-run per name.
- Zero guessing: no fuzzy matching, two firms with one name come back ambiguous with every candidate listed, and ambiguous rows cost nothing.
- License and business entity side by side, matched separately and never merged, each with its own match type.
- Misses explain themselves: a reason code, never 'unlicensed'.

### Limitations & updates

Answers come from stored copies of each state's register, refreshed on a schedule, so a license issued or ended in the last days may not show yet. The 10 partial states read local registers or trades only (see the FAQ). Up to 5,000 companies per run; a very large list in a big state can run past a short timeout, and the rows not reached are listed in one free truncated notice. Person-licensed boards match the holder's name as the board prints it.

### FAQ

**Which states are covered?**

29 US states answer from stored data: AK, CO, CT, GA, HI, IA, IL, IN, KS, KY, LA, MN, MT, ND, NJ, NM, NY, OR, PA, RI, SC, SD, TN, TX, VA, WA, WI, WV and WY. In 19 of them the whole register is read, so 'not on the roster' is an answer (charged). In CO, GA, IL, IN, KS, KY, NY, SD, TX and WI only local registers or the state's trade licenses are read: a match is real, a miss comes back as local_register_only and is free. A state outside the list returns a free state_not_covered row. The business entity block is filled for 26 of the 29.

**Does a miss mean the contractor is unlicensed?**

No. It means no license was found under that name or number in what we read. A trading name that differs, a license under a parent company, or a typo all miss. Read no_match_reason, and check by hand when it matters.

**How exactly are names matched?**

After folding case and punctuation, legal suffixes (LLC, Inc, Corp, Co, Ltd and similar), a leading 'The', and '&' against 'and', two names must be equal. 'X dba Y' is tried on both parts and marked dba_name with low confidence. Nothing fuzzy: 'Quality Remodelin' does not match 'Quality Remodeling'.

**What if two firms share a name?**

Give the city or the license number. If that still leaves more than one firm, the row is ambiguous, lists every candidate and is not charged. Several licenses held by the same firm are not ambiguous: they all come back in licenses.

**How is the business entity found?**

Through the registry's own id where the license row carries one (ND, WA). Otherwise only when exactly one registry entity in that state has the folded name, and your city agrees when you gave one. The entity is a separate block with its own entity_match and is never merged into the license.

**What does it cost?**

$0.005 per company answered, with no start fee. Ambiguous rows, local-register misses, uncovered states, unavailable reads and bad entries are free.

### Which actor to choose

Part of the contractor-license suite - pick the shape that fits:

- **US Contractor License Verification & Lookup (49 States + DC)** — You need one verdict per contractor from the live state boards, or a whole state's contractor list as an export.
- **Contractor License Expiration Monitor & Alerts (Notion)** — You want a watchlist re-checked on a schedule with alerts.

### Works with AI assistants (MCP)

Callable as an MCP tool, so Claude, Cursor, VS Code Copilot and other MCP clients can run it directly. Grab the config from the [MCP tab](https://apify.com/scrapebench/contractor-vetting-license-entity-check/api/mcp) on this page — Apify hosts the server and keeps that snippet current, and OAuth signs you in on first connect, so no API token goes in your config file.

Then just ask:

> "Vet Quality Remodeling LLC in Virginia: is it a licensed contractor, what is the license status, and what does the state's business registry say about the company?"

A safe first call: one company, one state; add a city or a license number when a name is shared by several firms. Runs started this way bill exactly like any other run.

### Data & lawful use

This actor collects publicly available information that the state contractor licensing agencies and the state business registries it reads publishes for public
lookup — licence records, business listings and the contact details professionals list there.
Some of it identifies individuals (sole proprietors, licence holders, agents), so treat any
names, phone numbers and emails in your results as personal data.

When you run this actor, you decide what is collected and what it is used for, so you are the
controller of that data and we act only as your processor (Apify Standard Actor Contract).
You need a lawful basis for your use, must honour opt-out and deletion requests, and must
follow the marketing rules that apply to you (CAN-SPAM, TCPA, GDPR, CCPA and similar).
Don't use the output for unsolicited bulk messaging, for screening covered by the FCRA, or
for anything the source's own terms forbid.

Your results are stored in your own Apify account. We don't keep a copy of your results and
don't sell or share them.

### Disclaimer

This is an independent tool. It is not affiliated with, endorsed by or sponsored by
the state contractor licensing agencies and the state business registries it reads. Names and marks are used only to describe the data source. Records are
provided as published by the source and may be out of date or incomplete. For anything
consequential (hiring, a permit, a legal decision), confirm the record with the issuing
agency. You are responsible for making sure your use complies with applicable law and the
source's terms.

### Need help?

Open an issue on this actor's **Issues** tab and we'll respond there. Bug reports, missing
fields and feature requests are all welcome. Guides and examples: [scrapebench.dev](https://scrapebench.dev).

If you are a person named in this data and want your record removed from our copy, email
apify-help@scrapebench.dev; the source agency remains the official record.

Your run may be used to improve our services. If something looks off, or you want this actor to fit your use better, please share your run data with us: [Apify Console → Settings → Security → Share run data with developers](https://console.apify.com/settings/security). It lets us see exactly what went wrong and keep improving the actor.

If this actor saved you time, a short review on its Store page helps other buyers find it.

# Actor input Schema

## `companies` (type: `array`):

The companies to vet, up to 5,000 per run. Each entry is a company name (text) or an object {"name", "state", "city", "licenseNumber", "phone", "id"}: name and state are enough, city or licenseNumber separates two firms with one name, id is echoed back on the row. A plain text entry takes the default State below.

## `state` (type: `string`):

Two-letter state code used for entries that carry no state of their own. Prefer a state on each company: one list can mix states.

## `includeEntity` (type: `boolean`):

Adds `entity` (registry name, id, type, status, formation date, registered agent) and `entity_match`: exact_key (the licence row carries the registry's own id), name_unique_city (one registry entity has this name, and the city you gave agrees), name_unique (one entity has this name; no city given), ambiguous (several entities share it), none, or no_entity_data (no registry data for the state). Never merged into the licence.

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

Run-wide cap on companies answered, each billed $0.005 (1,000 = at most $5.00). Companies past it are not delivered; one free notice says so. Leave empty for no cap beyond your maximum cost per run.

## Actor input object example

```json
{
  "companies": [
    {
      "name": "Quality Remodeling LLC",
      "state": "VA"
    }
  ],
  "includeEntity": true
}
```

# Actor output Schema

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

One row per company vetted.

# 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 = {
    "companies": [
        {
            "name": "Quality Remodeling LLC",
            "state": "VA"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapebench/contractor-vetting-license-entity-check").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 = { "companies": [{
            "name": "Quality Remodeling LLC",
            "state": "VA",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("scrapebench/contractor-vetting-license-entity-check").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 '{
  "companies": [
    {
      "name": "Quality Remodeling LLC",
      "state": "VA"
    }
  ]
}' |
apify call scrapebench/contractor-vetting-license-entity-check --silent --output-dataset

```

## MCP server setup

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

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/6eg3gHJB36SAahoaq/builds/Fa7I0ZQcUDFWeTJri/openapi.json
