# Texas TDLR License Scraper \[$1.50/1K💰] | Contractor Data (`ahmed_jasarevic/texas-scraper`) Actor

Scrape Texas TDLR license records for contractors, electricians, A/C techs, mold, water well, solar and PEOs. Get status, expiry, address, county, phone and related licenses. $1.50 per 1,000 records.

- **URL**: https://apify.com/ahmed_jasarevic/texas-scraper.md
- **Developed by:** [Ahmed Jasarevic](https://apify.com/ahmed_jasarevic) (community)
- **Categories:** Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 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

## Texas TDLR License Scraper – Contractor & Trade License Data

Scrape Texas **TDLR license records** for contractors, electricians, A/C technicians, mold companies, water well drillers, solar retailers, elevator contractors and PEOs. Get license status, expiration, address, county, phone, qualifying party and related licenses. **$1.50 per 1,000 records.**

### Build Contractor Lead Lists And Verify Texas Licenses

Use public TDLR records to find active contractors by trade, city or county, check expiration dates before a quote, or enrich a CRM with license numbers and qualifying parties.

- **Contractor lead generation** — build lists of active A/C, electrical, mold, water well and solar businesses.
- **License verification** — confirm status, expiration and qualifying party before hiring or onboarding.
- **Territory planning** — count licensed businesses by county, city or ZIP prefix.
- **Compliance and KYB** — match license numbers, business names and addresses to your records.

### How It Works

![How the Texas TDLR License Scraper works: from a license search to structured contractor records.](https://api.apify.com/v2/key-value-stores/oeuA0kLOyhbRM4fzt/records/how-it-works-texas-scraper.webp)

The Actor collects public license records from the Texas Department of Licensing and Regulation and normalizes them into one schema. Choose the programs, location and status you need; it returns one row per license with the published contact and compliance details.

- 13 contractor programs are selected by default.
- Detail enrichment adds official status, issue dates, DBA, qualifying party and related licenses.
- Disciplinary records are optional and cover the current plus two previous fiscal years.

### Scrape Contractor And Trade Licenses Across Texas

TDLR licenses dozens of trades. This Actor focuses on the programs that matter for contractor lead generation, supplier sales, insurance and compliance checks:

- Air conditioning and refrigeration contractors
- Electrical contractors, master electricians and journeymen
- A/C technicians and electrical sign contractors
- Water well drillers and pump installers
- Mold remediation and mold assessment companies
- Residential solar retailers
- Elevator contractors and PEOs

Select one program or several, or scan every program when you need a complete market view. The default set covers the contractor-relevant programs and keeps runs fast.

### License Status, Expiration And Qualifying Parties

Every row includes the license number, type, licensee name, business name, expiration date, city, county and published phone. Detail enrichment adds the official TDLR status, original issue date, DBA, qualifying party and related licenses.

Use `status` to keep only active or expired records. When detail enrichment is on, the Actor replaces the date-based status estimate with the official status shown in the public record.

### Input – Configure A TDLR Search

| Field | Type | Default | Notes |
|---|---|---|---|
| `licenseTypes` | array | 13 contractor programs | Program labels such as A/C Contractors, Electrical Contractors or Master Electricians; use `["all"]` for every program |
| `keyword` | string | `""` | Matches licensee, business, license number, city or county |
| `county` | string | `""` | Texas county, e.g. `HARRIS` |
| `city` | string | `""` | City, e.g. `HOUSTON` |
| `zip` | string | `""` | ZIP prefix, e.g. `770` |
| `status` | string | `active` | `active`, `expired` or `any` |
| `maxItems` | integer | `100` | Hard cap: 5,000 records |
| `enrichDetails` | boolean | `true` | Adds official status, issue date, DBA, qualifying party and related licenses |
| `maxDetailRequests` | integer | `100` | Maximum records enriched; hard cap: 500 |
| `includeDisciplinaryActions` | boolean | `false` | Adds published disciplinary records when available |
| `proxy` | object | Apify Proxy off | Standard Apify proxy configuration |

### Output – License Record Fields

Each dataset item contains:

- `licenseNumber`, `licenseType`, `licenseeName`, `businessName`
- `qualifyingParty`, `status`, `expirationDate`, `originalIssueDate`
- `city`, `state`, `zip`, `county`, `phone`, `businessPhone`
- `address`, `businessAddress`, `mailingAddress`
- `relatedLicenses`, `disciplinaryActions`
- `scrapedAt`

### Example Input – Harris County A/C Contractors

```json
{
  "licenseTypes": ["A/C Contractors"],
  "county": "HARRIS",
  "status": "active",
  "maxItems": 100,
  "enrichDetails": true
}
```

### Example Output – One License

```json
{
  "licenseNumber": "TACLA00000103C",
  "licenseType": "Air Conditioning/Refrigeration Contractor",
  "licenseeName": "ANDERSON, ORIN RAE",
  "businessName": "MLN COMPANY",
  "qualifyingParty": "ANDERSON, ORIN RAE",
  "status": "Active",
  "expirationDate": "2027-05-12",
  "originalIssueDate": "1984-04-27",
  "city": "HOUSTON",
  "state": "TX",
  "zip": "77031",
  "county": "HARRIS",
  "phone": "(713) 562-2862",
  "relatedLicenses": [
    {
      "relationship": "Qualifying party (Master)",
      "name": "TORRES, JOHN R",
      "licenseNumber": "2773",
      "expirationDate": "2027-03-17"
    }
  ],
  "disciplinaryActions": [],
  "scrapedAt": "2026-10-29T08:46:08.471Z"
}
```

### Export Texas License Data To JSON, CSV Or Excel And Schedule Runs

Results are written to the default dataset and can be downloaded as JSON, CSV, Excel or XML from the run page or through the Apify API. Schedule weekly or monthly runs to keep a contractor list fresh, or trigger a run when a license needs verification.

### Related Actors

- [BuildZoom Scraper](https://apify.com/ahmed_jasarevic/buildzoom-scraper) — contractor profiles, project history and licensing signals
- [Bizapedia Scraper](https://apify.com/ahmed_jasarevic/bizapedia-scraper) — company registrations and business details
- [Angi Scraper](https://apify.com/ahmed_jasarevic/angi-scraper) — contractor listings, ratings and service categories
- [Google Maps Scraper](https://apify.com/apify/google-maps-scraper) — verify business locations and service areas

### FAQ

#### Is this official TDLR data?

It is public license data published by the Texas Department of Licensing and Regulation. This Actor is independent and not affiliated with TDLR.

#### Do I need a TDLR account?

No. The Actor collects public license records and does not require an account or login.

#### Why is email always null?

TDLR does not publish email addresses in its public license records. Use the published phone, business name and address for outreach.

#### Why are some A/C contractor addresses or phones missing?

TDLR's public record for the A/C program may omit street addresses and phone numbers. Those fields stay `null` when the source does not publish them.

#### How current is the data?

TDLR refreshes its public license records daily. Detail enrichment uses the current published status and issue information when available.

#### Can I scrape every TDLR program?

Yes. Select `["all"]` to scan every program, but expect a large run. `maxItems` is capped at 5,000 records per run.

#### Are free users limited?

Free Apify users get a 10-record preview. Paid users get the full configured `maxItems`.

### For AI Agents & LLM Apps

Returns one row per Texas TDLR license with status, expiration, location and related licenses.

Minimal working input:

```json
{ "licenseTypes": ["A/C Contractors"], "county": "HARRIS", "status": "active", "maxItems": 24 }
```

Output fields: `licenseNumber, licenseType, licenseeName, businessName, qualifyingParty, status, expirationDate, originalIssueDate, city, state, zip, county, phone, relatedLicenses, disciplinaryActions, scrapedAt`.

Behaviors an agent should know:

- `maxItems` is required in practice; the hard cap is **5,000**.
- Free users are capped at **10** saved records.
- `status` accepts `active`, `expired` or `any`.
- `includeDisciplinaryActions` adds a separate lookup per enriched record and is off by default.
- Email is not published by TDLR and always stays `null`.

Billing: **$0.0015 per saved record** on FREE/BRONZE ($1.50 per 1,000), $0.00145 on SILVER and $0.0014 on GOLD+, plus a small actor-start event.

### Legal & Compliance Disclaimer

This Actor is an independent tool. It is not affiliated with, endorsed by or sponsored by the Texas Department of Licensing and Regulation.

It collects publicly available license records — no login and no private account. License data is published for public verification; users are responsible for complying with TDLR's terms and applicable law when they republish it or use it for outreach. Nothing here is legal advice.

### SEO Keywords

texas tdlr scraper, tdlr license search, texas contractor licenses, contractor license data, electrician license data, hvac contractor leads, texas license lookup, tdlr contractor search, texas trade licenses, contractor lead generation, license verification data, texas business licenses, mold contractor licenses, water well driller data, solar contractor leads, peo license data, texas license database, tdlr alternative

# Actor input Schema

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

TDLR license file keys or human labels to scrape. Examples: ltairref (A/C Contractors), Lteecele (Electrical Contractors), Ltmstele (Master Electricians), ltwwdpmp (Water Well Drillers), vsMoldRemediationCompany (Mold Remediation Companies). Use \["all"] to scan every TDLR program (~190 MB).

## `keyword` (type: `string`):

Case-insensitive substring matched against licensee name, business name, license number, city and county. Leave empty to match everything.

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

Texas county filter, e.g. HARRIS, TRAVIS, DALLAS. Case-insensitive substring.

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

City filter, e.g. HOUSTON. Case-insensitive substring.

## `zip` (type: `string`):

ZIP code prefix, e.g. 770 for Houston.

## `status` (type: `string`):

Active = expiration date in the future, Expired = expiration date in the past. Detail enrichment replaces this estimate with the official TDLR status when available.

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

Maximum number of license records to push to the dataset. Hard cap: 5000.

## `maxDetailRequests` (type: `integer`):

How many records get an extra request to the TDLR detail page (official status, issue date, DBA, qualifying party, related licenses) and to the administrative orders search. Each lookup is one static HTML request.

## `enrichDetails` (type: `boolean`):

Fetch SearchResultDetail.asp for each record to replace derived status with the official status and add DBA, issue date, qualifying party and related licenses.

## `includeDisciplinaryActions` (type: `boolean`):

Query TDLR's Administrative Orders search (current + previous two fiscal years) by company name. Adds ~1 request per enriched record.

## `proxy` (type: `object`):

Select proxies to be used by your crawler.

## Actor input object example

```json
{
  "licenseTypes": [
    "ltairref",
    "ltactech",
    "Lteecele",
    "Ltmstele",
    "Ltjnmele",
    "Ltmssele",
    "Ltactele",
    "ltwwdpmp",
    "vsMoldRemediationCompany",
    "vsMoldAssessmentCompany",
    "vsResidentialSolarRetailers",
    "ltelectr",
    "Ltslsrvc"
  ],
  "keyword": "",
  "county": "",
  "city": "",
  "zip": "",
  "status": "active",
  "maxItems": 100,
  "maxDetailRequests": 100,
  "enrichDetails": true,
  "includeDisciplinaryActions": false,
  "proxy": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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 = {
    "licenseTypes": [
        "ltairref",
        "ltactech",
        "Lteecele",
        "Ltmstele",
        "Ltjnmele",
        "Ltmssele",
        "Ltactele",
        "ltwwdpmp",
        "vsMoldRemediationCompany",
        "vsMoldAssessmentCompany",
        "vsResidentialSolarRetailers",
        "ltelectr",
        "Ltslsrvc"
    ],
    "proxy": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ahmed_jasarevic/texas-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 = {
    "licenseTypes": [
        "ltairref",
        "ltactech",
        "Lteecele",
        "Ltmstele",
        "Ltjnmele",
        "Ltmssele",
        "Ltactele",
        "ltwwdpmp",
        "vsMoldRemediationCompany",
        "vsMoldAssessmentCompany",
        "vsResidentialSolarRetailers",
        "ltelectr",
        "Ltslsrvc",
    ],
    "proxy": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("ahmed_jasarevic/texas-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 '{
  "licenseTypes": [
    "ltairref",
    "ltactech",
    "Lteecele",
    "Ltmstele",
    "Ltjnmele",
    "Ltmssele",
    "Ltactele",
    "ltwwdpmp",
    "vsMoldRemediationCompany",
    "vsMoldAssessmentCompany",
    "vsResidentialSolarRetailers",
    "ltelectr",
    "Ltslsrvc"
  ],
  "proxy": {
    "useApifyProxy": false
  }
}' |
apify call ahmed_jasarevic/texas-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ahmed_jasarevic/texas-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/d4kllkN8PUOIs3NJ0/builds/TehA7aQvEosGC6cji/openapi.json
