# State Contractor License Leads (TX, FL, WA) (`astounding_loam/state-contractor-licenses`) Actor

Statewide contractor license leads from official Texas TDLR, Florida DBPR and Washington L\&I open data. Business name, address, phone, license type, status and expiration in one schema. Filter by trade, city, new or expiring licenses. No login, API key or proxy.

- **URL**: https://apify.com/astounding_loam/state-contractor-licenses.md
- **Developed by:** [Colby Phelps](https://apify.com/astounding_loam) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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

## State Contractor License Leads (TX, FL, WA)

Pull **statewide contractor license leads** — company name, DBA, address, phone, license type, status and expiration — from the official open-data files of the **Texas Department of Licensing and Regulation (TDLR)**, the **Florida Department of Business and Professional Regulation (DBPR)** and **Washington Labor & Industries (L\&I)**. Every state's columns are normalized into **one schema** you can drop into a spreadsheet or CRM.

Built for **insurance agents, surety and workers-comp brokers, HVAC / electrical / roofing distributors, CE course sellers, staffing and recruiting teams, and software vendors** who sell to licensed contractors.

### What does this Actor do?

- Reads the official public license rosters (Socrata SODA for Texas and Washington; DBPR weekly extract CSVs for Florida construction and electrical).
- Filters by trade (general, electrical, HVAC, plumbing, roofing, pool, specialty), city, optional issue-date window, and licenses expiring soon.
- Returns current/active licenses by default, with phone numbers where the state publishes them.
- No login, no API key, no proxies, no browser.

### Supported states

| State | Source | Phone | Issue / effective date | Expiration | Notes |
|---|---|---|---|---|---|
| Texas | TDLR All Licenses (`data.texas.gov`) | ✅ | – | ✅ | Defaults to TDLR *contractor* types (A/C, electrical, sign, elevator, appliance). Texas does not license general contractors at the state level. As of Nov 2026 the TDLR file has name, county, type and expiration for A/C contractors, but no address or phone on that type; electrical, sign, elevator and appliance contractors still include address and phone. |
| Florida | DBPR construction + electrical extracts | – | ✅ | ✅ | Weekly official CSVs. Certified and registered CILB plus electrical / alarm. |
| Washington | L\&I Contractor License Data (`data.wa.gov`) | ✅ | ✅ | ✅ | Active construction contractors with specialty and qualifying principal. |

Arizona ROC also publishes a free "All Current Contractors" CSV, but the official posting-list site blocks datacenter IPs (HTTP 403), so it is not wired in. Washington L\&I is included instead as a reliable open-data source.

### How to use it

1. Pick one or more **States**.
2. Optionally pick **Trades**. Leave empty to get every contractor type that state publishes.
3. Optionally set a city, an issued-in-the-last-N-days window (Florida and Washington only), or **Expiring within N days**.
4. Click **Start** and download CSV, Excel or JSON — or schedule a monthly run to catch new and expiring licenses.

#### Example input

```json
{
  "states": ["texas", "florida", "washington"],
  "trades": ["hvac", "electrical"],
  "activeOnly": true,
  "maxResultsPerState": 500,
  "maxResults": 2000
}
```

### Output example

```json
{
  "state": "TX",
  "source": "texas",
  "trades": ["hvac"],
  "licenseNumber": "12345",
  "licenseType": "A/C Contractor",
  "businessName": "EXAMPLE HVAC LLC",
  "address": "100 MAIN ST",
  "city": "AUSTIN",
  "zip": "78701",
  "county": "TRAVIS",
  "phone": "5125550100",
  "status": "Active",
  "expirationDate": "2027-03-10",
  "daysToExpiration": 120,
  "sourceDataset": "https://data.texas.gov/resource/7358-krk7"
}
```

### How much does it cost?

You pay **per license returned** (pay-per-result) — no start fee. 1,000 licenses cost about **$5**. Use **Max results in total** to cap any run. Florida downloads a statewide extract and then filters it, so a small result cap still does a bit of platform compute.

### Use cases

- **Insurance, surety and workers-comp:** the full roster, plus licenses expiring in the next 60 days as a renewal trigger.
- **Trade distributors and software vendors:** electrical, HVAC and roofing contractors by city, with a phone number where the state publishes one.
- **CE and exam prep:** newly issued Florida and Washington licenses (issue / effective date filter).
- **Staffing and recruiting:** licensed principals and qualified businesses.

### FAQ

**Is this data legal to use?** Yes. It comes from official public-record open-data portals and weekly public-record extracts each agency publishes. Licensee contact details are business contacts the state publishes. Follow local laws (CAN-SPAM, TCPA, do-not-call) when you reach out.

**Why no issue date on Texas rows?** TDLR's open-data file includes type, number, name, address, phone and expiration, but not an original issue date.

**Why do some Texas A/C contractor rows have no address or phone?** That is how TDLR currently publishes that license type in the open-data file. Electrical, electrical-sign, elevator and appliance installation contractors still include address and phone.

**Why is Arizona not included?** The Arizona Registrar of Contractors posting list is official and free, but `roc.az.gov` returns HTTP 403 to typical cloud / datacenter IPs, so a scheduled Actor run would fail. It can be added if a stable open-data mirror or unblocked official API appears.

**How fresh is the data?** Texas and Washington portals typically update daily. Florida DBPR says its extract files are refreshed weekly.

**Can I run it on a schedule?** Yes — use Apify Schedules and send results to Google Sheets, Slack, email, Zapier or Make.

**Something broke or a state is missing?** Report it in the Issues tab and it gets fixed fast.

# Actor input Schema

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

Official state licensing agencies to search.

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

Limit results to these trades. Leave empty for every contractor license type the state publishes (TDLR contractor types, all Florida CILB/electrical, all Washington L\&I contractors).

## `city` (type: `string`):

Optional. Case-insensitive substring match on the business city.

## `county` (type: `string`):

Optional. Matched against the county field where the state publishes one (Texas business county; Florida county code is not name-mapped).

## `daysBack` (type: `integer`):

Optional. Keep licenses whose issue or effective date falls in this window. Ignored for Texas TDLR, which does not publish an issue date. Leave empty to search the full current roster.

## `dateFrom` (type: `string`):

Optional. Overrides 'last N days'. Not applied to Texas TDLR.

## `dateTo` (type: `string`):

Optional. Defaults to today when a start date is set.

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

Optional. Keep only licenses whose expiration date is on or before today + N days (and not already expired, if 'Active only' is on).

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

Keep current/active licenses and drop expired, inactive, suspended or revoked rows where the state publishes a status or expiration date.

## `businessesOnly` (type: `boolean`):

Drop rows whose business name looks like an individual (no LLC, Inc, Corp, Company, LP, Ltd, PLLC, or similar).

## `maxResultsPerState` (type: `integer`):

Stop after this many licenses from any one state.

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

Hard cap on rows (and cost) for the whole run.

## Actor input object example

```json
{
  "states": [
    "texas",
    "florida",
    "washington"
  ],
  "activeOnly": true,
  "businessesOnly": false,
  "maxResultsPerState": 100,
  "maxResults": 200
}
```

# Actor output Schema

## `leads` (type: `string`):

No description

## `summary` (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 = {
    "states": [
        "texas",
        "florida",
        "washington"
    ],
    "maxResultsPerState": 100,
    "maxResults": 200
};

// Run the Actor and wait for it to finish
const run = await client.actor("astounding_loam/state-contractor-licenses").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": [
        "texas",
        "florida",
        "washington",
    ],
    "maxResultsPerState": 100,
    "maxResults": 200,
}

# Run the Actor and wait for it to finish
run = client.actor("astounding_loam/state-contractor-licenses").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": [
    "texas",
    "florida",
    "washington"
  ],
  "maxResultsPerState": 100,
  "maxResults": 200
}' |
apify call astounding_loam/state-contractor-licenses --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,astounding_loam/state-contractor-licenses"
        }
    }
}
```

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/kRQQhUX54sipD73Aa/builds/on9uVJyZJcQlqyMwp/openapi.json
