# Tennessee Contractor License Lookup & Verify (TN DOCI) (`scrapebench/tennessee-contractor-license-lookup`) Actor

Verify any Tennessee contractor or tradesperson by license number or name — type, status, expiration, city, and county — from the official TN DOCI registry.

- **URL**: https://apify.com/scrapebench/tennessee-contractor-license-lookup.md
- **Developed by:** [ScrapeBench](https://apify.com/scrapebench) (community)
- **Categories:** Lead generation
- **Stats:** 49 total users, 1 monthly users, 96.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.004 / verified license 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Tennessee Contractor License Lookup & Verify (TN DOCI)

### Pain points

- Verifying a Tennessee contractor on the TN DOCI portal is one slow manual lookup at a time.
- The portal isn't structured for compliance workflows, CRM enrichment, or bulk vetting.
- Checking status, license type, and expiration across many licensees by hand doesn't scale.

### What we solve

- Verify any Tennessee DOCI contractor by license number or business/person name — one search.
- Returns license type, status, expiration, city, and county from the official TN DOCI registry.
- Enrich a license number or name into a full structured record; pay per match, empty searches free.

### Summary

Look up and verify any Tennessee contractor from a single search — type a TN DOCI license number (e.g. 56787) or a business/licensee name and get back the license type, status, expiration, city, and county, straight from the official Tennessee Department of Commerce and Insurance registry. Built for fast verification, compliance checks, and enriching a license number or name into a structured record.

### Who it's for

- GCs and hiring managers vetting Tennessee subcontractors
- Insurance underwriters and lenders running KYC on contractors
- Compliance teams and marketplaces verifying TN DOCI licenses
- RevOps and BD teams enriching contractor records for lead-gen

### 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
{
  "queries": [
    "Johnson Construction"
  ],
  "board": "Contractors and Ltd Licensed Plumbers",
  "maxResults": 25
}
```

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

### What you get

One row per record:

| Field | Description |
|---|---|
| `state` | Always 'TN' for this actor |
| `license_number` | TN DOCI contractor license number (numeric) |
| `business_name` | Licensed business or individual name |
| `license_type` | License classification (e.g. Contractor) |
| `status` | License status (e.g. Active, Expired, Revoked) |
| `expiration_date` | License expiration date |
| `city` | Licensee city |
| `county` | Tennessee county |
| `zip_code` | ZIP code |
| `matched_by` | Which search surfaced this match: 'license\_number' or 'business\_name' |
| `source_url` | Direct link to the official TN DOCI license record |

Sample:

```json
{
  "state": "TN",
  "license_number": "56787",
  "business_name": "JOHNSON PLUMBING",
  "person_name": null,
  "license_type": "Contractor",
  "status": "Expired",
  "issue_date": null,
  "expiration_date": "03/31/2016",
  "city": "JOHNSON CITY",
  "county": "Washington",
  "address": null,
  "zip_code": "37605",
  "phone": null,
  "bond_amount": null,
  "bond_company": null,
  "insurance_company": null,
  "matched_by": "business_name",
  "source_url": "https://search.cloud.commerce.tn.gov/search/C49031/detail"
}
```

### Inputs

| Field | Required | Type | Default | Description |
|---|---|---|---|---|
| `query` | no | string | `"Johnson Construction"` | A TN contractor license number (numeric, e.g. '56787') OR a business/person name. A numeric query is looked up by license number; anything else is searched against the licensee/business name index. |
| `queries` | no | array | `["Johnson Construction"]` | Look up many in ONE run instead of starting a run per lookup. Takes the same values as 'Search query'. Combined with 'Search query' if you fill both, and duplicates are removed. Billing is unchanged: you are charged per record returned, not per entry submitted. |
| `board` | no | string | `"Contractors and Ltd Licensed Plumbers"` | Filter results to a specific TN DOCI board. Defaults to 'Contractors and Ltd Licensed Plumbers' (the main contractor board). Leave blank to search all boards. |
| `maxResults` | no | integer | `50` | Cap on the number of records returned PER ENTRY, not per run — so a batch cannot silently return only the first 50 rows overall and read as 'the rest don't exist'. Defaults to 50. |
| `proxyConfiguration` | no | object | `{"useApifyProxy": false}` | Optional. The TN portal is usually reachable directly, but its edge returns 403 to some datacenter IPs. If a run returns a 'TN portal unavailable' row, enable Apify Proxy with the RESIDENTIAL group. |

### Pricing (Pay Per Event)

You pay per result (`dataset-item`) — **no charge for empty runs**. Example: **100 verified license records** at *$0.004/result* ≈ **$0.40**.

Illustrative — the final per-result price is set at publish time. Apify platform usage (compute) is billed separately per your plan.

### Use cases

- License verification — confirm a Tennessee contractor's license type, status, and expiration before hiring or onboarding.
- Record enrichment — turn a license number or name into a full structured record for a CRM, marketplace, or vetting workflow.
- Compliance checks — pull authoritative TN DOCI data on demand for audits and due-diligence.
- Lender / insurer due diligence — verify a contractor's standing straight from the state registry.

### Why this actor

- Straight from the official Tennessee DOCI public registry — authoritative, not a stale third-party copy.
- Search by license number or name; results deduped by license #.
- Pay per match; searches with no results are free.

### Limitations & updates

Covers Tennessee DOCI public licensee registry only. Results reflect the live registry and change as it updates. A name search matches the DOCI licensee/business name index — runs are bounded by maxResults (default 50). Street address and phone are not published by this registry (returned null). Bond/insurance fields are included in the schema for suite consistency but are not published (returned null).

### FAQ

**Where does the data come from?**

The official Tennessee Department of Commerce and Insurance public licensee registry, via the Tyler entellitrak REST API.

**What can I search by?**

A TN DOCI license number (numeric, e.g. 56787) or a business/licensee name. Both return matching licenses, deduped by license number.

**What fields do I get?**

License number, business/licensee name, license type, status, expiration date, city, county, and ZIP code.

**How am I charged?**

Pay-per-result — per license match returned. No charge for searches with no results.

**Is this personal data?**

It's public professional-license data (business and license-holder records as TN DOCI publishes them); we add no personal/PII enrichment.

**How current is it?**

It reflects the live TN DOCI registry at the moment of lookup. The state does not publish an update schedule for the registry, so treat each record as current as of its run.

**Can I filter by board or license type?**

Yes — the 'board' input defaults to 'Contractors and Ltd Licensed Plumbers'. Set it to any TN DOCI board name (e.g. 'Contractors: Home Improvement') or leave blank to search all boards.

### Which actor to choose

Part of the contractor-license verification suite — pick the one that fits your goal:

- **California Contractor License Lookup & Verify (CSLB)** — You need a California contractor verified — by license number, business, or owner/personnel name (CSLB).
- **Florida Contractor License Lookup & Verify (DBPR)** — You're verifying a Florida contractor or tradesperson — type, status, expiration, county (DBPR).
- **Louisiana Contractor License Lookup** — You want the full Louisiana roster — 50,000+ commercial, residential & specialty licenses as data (LSLBC).
- **Multi-State Contractor & Trade License Lookup** — You don't know the state, or want the same contractor checked across WA, OR, TX & CT in one run.
- **Nevada Contractor License Lookup & Verify (NSCB)** — You need a Nevada contractor's status, trade classifications, bond & principals (NSCB).
- **New Mexico Contractor License Lookup & Verify (NM CID)** — You're verifying a New Mexico contractor — license #, status, city/ZIP, expiry (NM CID).
- **North Carolina Contractor License Lookup & Verify (NCLBGC)** — You're verifying a North Carolina general contractor — classification, status, expiration (NCLBGC).
- **Oregon Contractor License Lookup & Verify (CCB)** — You're verifying an Oregon contractor — status, bond, insurance & RMI (CCB).
- **South Carolina Contractor License Lookup & Verify (SC LLR)** — You're searching or verifying South Carolina contractors — by name, license, city, or classification (SC LLR).
- **Texas Contractor & Trade License Lookup (TDLR)** — You're verifying a Texas electrician, HVAC or trade license — type, expiration, county & owner (TDLR).
- **Virginia Contractor License Lookup (DPOR Bulk)** — You want the full Virginia roster — 50,000+ Class A/B/C and trade licenses as bulk data (DPOR).
- **Washington Contractor License Lookup & Verify (L\&I)** — You're verifying a Washington contractor — type, status, expiration, principal (L\&I).
- **Alabama Contractor License Lookup & Verify (LBGC)** — You're verifying an Alabama general contractor — classification, city, phone, expiration (LBGC).
- **Arkansas Contractor License Lookup & Verify (ACLB)** — You're verifying an Arkansas contractor — validity, type, expiration, city & county (ACLB).
- **Michigan Contractor License Lookup & Verify (LARA)** — You're verifying a Michigan builder or trade contractor — type, status, expiration (LARA).
- **Minnesota Contractor License Lookup & Verify (DLI)** — You're verifying a Minnesota residential contractor — subtype, status, expiration, enforcement flags (DLI).
- **Massachusetts Construction License Lookup & Verify (CSL)** — You're verifying a Massachusetts Construction Supervisor License — type, status, expiration (CSL).

### Guides & use cases

Written up on **[scrapebench.dev](https://scrapebench.dev)** — the bench that runs and verifies this actor against the live source every night:

- **How-to:** [How to run Tennessee Contractor License Lookup & Verify (TN DOCI)](https://scrapebench.dev/guides/how-to-tennessee-contractor-license-lookup/)
- **Use case:** [Look Up Tennessee Contractors by Name](https://scrapebench.dev/use-cases/look-up-tennessee-contractors-by-name/)

More actors, coverage and nightly verification results: **[scrapebench.dev](https://scrapebench.dev)**

### Works with n8n

Ready-made n8n templates that call this actor:

- **[Monitor contractor licences and alert 30 days before expiry](https://n8n.io/workflows/17393-monitor-contractor-licences-weekly-and-send-slack-digests-with-apify/)** — free template. [Step-by-step guide](https://scrapebench.dev/guides/workflow-license-expiration-monitor/)
- **[Verify contractor licenses in your lead list](https://n8n.io/workflows/17355/)** — free template. [Step-by-step guide](https://scrapebench.dev/guides/workflow-license-verify-lead-list/)
- **[Verify a subcontractor's licence when they submit your onboarding form](https://n8n.io/workflows/17598-verify-subcontractor-licenses-from-form-submissions-with-apify-and-slack/)** — free template. [Step-by-step guide](https://scrapebench.dev/guides/workflow-subcontractor-onboarding-gate/)

# Actor input Schema

## `query` (type: `string`):

A TN contractor license number (numeric, e.g. '56787') OR a business/person name. A numeric query is looked up by license number; anything else is searched against the licensee/business name index.

## `queries` (type: `array`):

Look up many in ONE run instead of starting a run per lookup. Takes the same values as 'Search query'. Combined with 'Search query' if you fill both, and duplicates are removed. Billing is unchanged: you are charged per record returned, not per entry submitted.

## `board` (type: `string`):

Filter results to a specific TN DOCI board. Defaults to 'Contractors and Ltd Licensed Plumbers' (the main contractor board). Leave blank to search all boards.

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

Cap on the number of records returned PER ENTRY, not per run — so a batch cannot silently return only the first 50 rows overall and read as 'the rest don't exist'. Defaults to 50.

## `proxyConfiguration` (type: `object`):

Optional. The TN portal is usually reachable directly, but its edge returns 403 to some datacenter IPs. If a run returns a 'TN portal unavailable' row, enable Apify Proxy with the RESIDENTIAL group.

## Actor input object example

```json
{
  "query": "56787",
  "queries": [
    "Johnson Construction"
  ],
  "board": "Contractors and Ltd Licensed Plumbers",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `matches` (type: `string`):

The matched licenses — number, name, type, status, expiration, city, and county.

# 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 = {
    "query": "Johnson Construction",
    "queries": [
        "Johnson Construction"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapebench/tennessee-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 = {
    "query": "Johnson Construction",
    "queries": ["Johnson Construction"],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapebench/tennessee-contractor-license-lookup").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "Johnson Construction",
  "queries": [
    "Johnson Construction"
  ]
}' |
apify call scrapebench/tennessee-contractor-license-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapebench/tennessee-contractor-license-lookup",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/JVYKndCjgf08Z5CQe/builds/ZWKdsNCHoJIuBB0Sg/openapi.json
