California Contractor Directory by Trade & County (CSLB) avatar

California Contractor Directory by Trade & County (CSLB)

Pricing

$0.002 / dataset-item

Go to Apify Store
California Contractor Directory by Trade & County (CSLB)

California Contractor Directory by Trade & County (CSLB)

Export the California contractor directory by trade (CSLB classification) and county: returns license number, business name, address, phone, classifications, status, issue and expiration dates, bond and workers' comp. $0.002 per record; a missing trade or county returns the free county list.

Pricing

$0.002 / dataset-item

Rating

0.0

(0)

Developer

ScrapeBench

ScrapeBench

Maintained by Community

Actor stats

0

Bookmarked

84

Total users

11

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

What it does: lists every active CSLB-licensed contractor holding a classification (trade) in a California county.

Call it with: {"licenseClass": "C-10", "county": "Sacramento", "maxResults": 100}. Returns: license_number, business_name, address, city, county, zip_code, phone, classifications, status, expiration_date, surety_company, workers_comp_company. No match is one free notice row; a missing classification or county returns the free county list ({"listCountiesOnly": true} asks for it directly). $0.002 per record.

Pain points

  • CSLB's data portal does export contractors, but only 10 classifications x 10 counties at a time, as a manual .xls download you cannot put on a schedule.
  • Building a contractor lead list by trade means manual searching and copy-paste.
  • Raw registry pages aren't structured for a CRM, outreach tool, or analysis.

What we solve

  • Pull every licensed contractor in a California county, filtered by trade, in one run.
  • Clean, structured rows: business, contact, license status, classifications, bond, workers' comp.
  • Straight from the official CSLB registry — ready for lead-gen, CRM import, or market sizing.
  • Pay per result; no charge for empty runs.

Summary

Pull every licensed contractor in a California county by trade — business name, contact details, license status, classifications, bond, and workers' comp — straight from the official CSLB registry. One run returns a clean, structured list ready for lead generation, CRM import, license verification, or market analysis.

Who it's for

  • B2B sales and lead-gen teams targeting California trades
  • Suppliers, SaaS, insurers, and lenders building prospect lists
  • Agencies running outreach campaigns by trade and county
  • Market researchers sizing the California contractor market

California contractor directory: example input

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:

{
"licenseClass": "C-10",
"county": "Los Angeles",
"maxResults": 1000
}

See Inputs below for every available field.

California contractor directory: output data

One row per record:

FieldDescription
license_numberCSLB license number
business_nameLicensed business name
business_typeSole Owner, Corporation, LLC, Partnership…
addressBusiness street address
cityCity
countyCounty
zip_codeZIP code
phoneBusiness phone
classificationsAll classification codes held (e.g. ["A","C10"])
statusLicense status (e.g. CLEAR)
issue_dateOriginal license issue date
expiration_dateLicense expiration date
surety_companyContractor bond surety company
bond_numberContractor bond number
workers_comp_typeWorkers' comp coverage type (Insurance / Exempt / …)
workers_comp_companyWorkers' comp insurance carrier
source_urlLink to the official CSLB license detail page

Sample:

{
"license_number": "22726",
"business_name": "RANSOME COMPANY",
"business_type": "Corporation",
"address": "1933 WILLIAMS STREET",
"city": "SAN LEANDRO",
"county": "Alameda",
"zip_code": "94577",
"phone": "(510) 686 9900",
"classifications": [
"A",
"C10"
],
"status": "CLEAR",
"issue_date": "07/01/1932",
"expiration_date": "10/31/2027",
"surety_company": "HARCO NATIONAL INSURANCE COMPANY",
"bond_number": "354811",
"workers_comp_type": "Workers' Compensation Insurance",
"workers_comp_company": "TRAVELERS PROPERTY CASUALTY COMPANY OF AMERICA",
"source_url": "https://www.cslb.ca.gov/onlineservices/checklicenseII/LicenseDetail.aspx?LicNum=22726"
}

California contractor directory: input fields

FieldRequiredTypeDefaultDescription
listCountiesOnlynobooleanfalseIf true, skip the scrape and just return every valid California county name (from the live CSLB form) as the dataset. Free — not charged. Use this to look up the exact county spelling before running a real scrape.
licenseClassnostring"C-10"CSLB classification code, e.g. 'B' (General Building), 'C-10' (Electrical), 'C-36' (Plumbing). Returns every active contractor holding this classification in the chosen county. Leave it out and the run returns the free county list instead of failing.
licenseClassesnoarray["C-10", "C-20"]Prefer this over licenseClass for several trades in ONE run, e.g. C-10 and C-20 and C-36. Combined with licenseClass if you fill both. Every selected trade is fetched for every selected county, and a contractor holding two of them is returned (and billed) once, not twice.
countynostring"Sacramento"California county name, e.g. 'Los Angeles', 'Sacramento County', 'orange'. Case, spacing and a trailing 'County' do not matter. If it is missing or is not a California county, the run returns the free county list instead of failing.
countiesnoarray["Sacramento", "Placer"]Prefer this over county for several counties in ONE run, e.g. Los Angeles and Orange and San Diego. Combined with county if you fill both. Use Discovery Mode (listCountiesOnly) to list every valid county name first.
maxResultsnointeger—Cap on the number of license records returned PER trade+county download, not per run, so adding counties can never silently truncate the ones later in the list. Every record returned is billed. Leave empty to return all matches.
proxyConfigurationnoobject{"useApifyProxy": false}Optional. CSLB is usually reachable directly; enable a proxy (e.g. residential) only if runs return no data because the IP is blocked.

Pricing (Pay Per Event)

You pay per result (dataset-item) — no charge for empty runs. Example: 500 C-10 electricians in Los Angeles County at $0.002/result ≈ $1.00.

Illustrative — the final per-result price is set at publish time.

California contractor directory use cases

  • B2B lead lists — suppliers, SaaS, and insurers target licensed electricians, plumbers, or builders by county.
  • Agency outreach — pull a county-by-trade list, score it, and export to a CRM for campaigns.
  • Market sizing — segment the California contractor market by classification and county.
  • List enrichment — add license, bond, and workers'-comp data to contractors you already track.

Why this actor

  • Bulk export by trade + county — not one-license-at-a-time lookups.
  • Clean, structured, CRM-ready rows straight from the official CSLB registry.
  • Pay per result; empty runs are free.

Limitations & updates

Covers California's CSLB public registry only (public record under Business & Professions Code §7000 et seq.). Results reflect the live registry and change as it updates. One run can cover several classifications and counties at once (every trade is pulled for every county).

California contractor directory FAQ

What does one run return?

Every active licensed contractor in the chosen California county for the chosen license class/trade — business, contact, classifications, bond, and workers' comp.

Where's the data from?

The official California CSLB registry — public license records.

How do I target a trade?

Use the licenseClass input (e.g. C-10 electrical, B general building, C-36 plumbing) plus the county.

How am I charged?

Pay-per-result — you only pay for the contractor rows returned, and empty runs are free.

Is this lead data compliant?

It's public, non-personal business-license data from CSLB — not consumer or PII data.

How fresh is it?

It reflects the live CSLB registry at run time.

Is there an official way to export California contractors, and why use this instead?

The Contractors State License Board (CSLB) publishes public licence records and a data portal whose export is manual, limited to 10 classifications and 10 counties at a time, and cannot be put on a schedule. This actor reads the same public registry by trade and county and returns structured rows you can export as JSON, CSV or Excel.

What are the alternatives to this California contractor list?

Alternatives are the CSLB's own search and download pages (official, manual) or buying a contractor list. This actor is pay per result with no subscription, and empty runs are free.

How do I get every electrician in a California county?

Set licenseClass to C-10 (electrical) and the county, as in the example input (C-10, Los Angeles), then export the result as CSV, Excel or JSON. Other classes work the same way, for example B for general building.

California contractor directory: run it on a schedule

Open Schedules in Apify Console, add this actor with your input and a cron time, for example: monthly (0 6 1 * *) for a county and trade you prospect regularly. Then send each run's results to Google Sheets, Zapier, Make or n8n from the Integrations tab, or pull the dataset through the Apify API.

Watch: schedule and connect this Actor

Apify's own walkthroughs:

Schedule your Actor (Apify, Getting Started 3/4)

Zapier triggers and actions for Apify Actors

Part of the California CSLB contractor suite — pick the one that fits your goal:

  • California Contractor License Lookup & Verify (CSLB) — You want to verify or look up specific contractors — by license number, business name, or a person's name (owner/personnel).

Guides & use cases

Written up on scrapebench.dev — the bench that runs and verifies this actor against the live source every night:

More actors, coverage and nightly verification results: scrapebench.dev

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

"List active C-10 electrical contractors in Sacramento County, California."

Sacramento plus C-10 is a well-populated combination; swap in any California county and any CSLB licence class. Runs started this way bill exactly like any other run.

Data & lawful use

This actor collects publicly available information that the California Contractors State License Board 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 California Contractors State License Board. 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.

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