California Contractor Licenses Scraper - CSLB Phones avatar

California Contractor Licenses Scraper - CSLB Phones

Pricing

from $0.05 / 1,000 company scrapeds

Go to Apify Store
California Contractor Licenses Scraper - CSLB Phones

California Contractor Licenses Scraper - CSLB Phones

[๐Ÿ’ฐ$0.05/1K] California contractor licenses from the Contractors State License Board: 245 854 rows with business phone (99.8%), county (96.6%), trade classification (100%), plus status, dates, bonds and workers-comp coverage. Filter by county, trade class, status or last update. No proxy, no key.

Pricing

from $0.05 / 1,000 company scrapeds

Rating

0.0

(0)

Developer

Vladimir Che

Vladimir Che

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Build a contractor lead list from California's Contractors State License Board export: 245 854 licences published as one Excel workbook by the state itself. No login, no cookies, no captcha, no proxy, no API key.

Every record carries a business phone number (99.8 %), the county (96.6 %) and the trade classification (100 %) - the three things you need to sort, territory and pitch a contractor list. For corporate-registry data (officers, agents, EIN, filing history) use the Secretary of State actor instead.

A FULL-EXPORT RUN READS 56 MB FROM THE STATE AND CAN TAKE LONGER THAN THE DEFAULT TIMEOUT: RAISE THE RUN TIMEOUT TO 900 s OR CAP maxResults. A COUNTY OR TRADE FILTER DOES NOT MAKE IT FASTER.

What you get

One row per licence. Every field is always present, and a field CSLB does not publish is null rather than missing.

FieldSource columnNotes
name, legalNameBusinessName, FullBusinessNamethe name on the licence, upper case
dbaName-always null, the export has no assumed-name column
entityTypederived from BusinessTypeCORPORATION, SOLE PROPRIETOR, LLC, mapped from the published type
businessTypeBusinessTypeCorporation 70 763, Sole Owner 56 934, Limited Liability 12 720, Partnership 1 614, JointVenture 388
documentNumber, licenseNumberLicenseNothe California licence number
businessPhone, businessPhoneDigits, businessPhoneE164BusinessPhone(925) 383 0487, 9253830487, +19253830487
countyCounty50 real counties, populated on 96.6 % of rows
mailingAddresssix address columnsstreet1, city, state, zip, country
classificationsClassifications(s)trade classes, pipe-separated in the source, an array here
licenseStatus, statusPrimaryStatusCLEAR, Contr Bond Susp, Work Comp Susp, ...
isActivePrimaryStatustrue only for CLEAR
issueDate, expirationDate, inactivationDate, reactivationDate, lastUpdatefive date columnsISO 8601
workersComp, bonds[], asbestosRegistrationWC and three bond blocksinsurer, policy, effective and expiry dates, bond amount
discipline, pendingfour status columnsnull on a clean licence
sourceUrl, sourceId, scrapedAt-provenance for every record
raw-the untouched worksheet row, only with includeRaw

Always null or empty because CSLB does not publish them: ein, dbaName, statusDate, formationDate, dissolutionDate, principalAddress, registeredAgent, officers, annualReports, lastEvent. jurisdiction is fixed to California.

A licence is not an incorporation. issueDate is the licence date, so it is delivered as its own field and formationDate stays null rather than being filled with a half-truth.

A real record from a live run:

{
"source": "us-ca-cslb",
"sourceUrl": "https://www.cslb.ca.gov/OnlineServices/CheckLicenseII/LicenseDetail.aspx?LicNum=1000002",
"sourceId": "1000002",
"scrapedAt": "2026-11-04T07:34:26.259Z",
"name": "DOCKERY RANDALL MARK",
"legalName": "RANDALL MARK DOCKERY",
"dbaName": null,
"entityType": "SOLE PROPRIETOR",
"documentNumber": "1000002",
"ein": null,
"status": "CLEAR",
"statusDate": null,
"jurisdiction": "California",
"formationDate": null,
"dissolutionDate": null,
"principalAddress": null,
"mailingAddress": { "street1": "301 SOUTH MILLS AVENUE", "street2": null, "city": "LODI", "state": "California", "zip": "95242", "country": "United States" },
"registeredAgent": null,
"officers": [],
"annualReports": [],
"lastEvent": "Contractor licence status: CLEAR",
"filingHistory": [ { "date": "2015-01-10", "event": "Contractor licence issued" } ],
"raw": null,
"licenseNumber": "1000002",
"licenseStatus": "CLEAR",
"secondaryStatus": null,
"businessType": "Sole Owner",
"classifications": [ "C57" ],
"county": "San Joaquin",
"businessPhone": "(925) 383 0487",
"businessPhoneDigits": "9253830487",
"businessPhoneE164": "+19253830487",
"secondaryName": null,
"issueDate": "2015-01-10",
"reissueDate": null,
"expirationDate": "2027-01-31",
"inactivationDate": null,
"reactivationDate": null,
"lastUpdate": "2026-10-19",
"workersComp": { "coverageType": "Exempt", "insurer": null, "policyNumber": null, "effectiveDate": "2025-01-31", "expirationDate": null, "cancellationDate": null, "suspendDate": null },
"bonds": [ { "kind": "CB", "suretyCompany": "MERCHANTS BONDING COMPANY (MUTUAL)", "bondNumber": "102037879", "effectiveDate": "2026-09-14", "cancellationDate": null, "amount": 25000 } ],
"asbestosRegistration": null,
"discipline": { "caseNumber": null, "caseRegion": null, "bondReason": null },
"pending": { "suspension": null, "classRemoval": null, "classReplace": null },
"isActive": true
}

Output is available as JSON, CSV or Excel from the dataset tab.

How to use it

  1. Pick a county and one or more trade classifications.
  2. Leave activeOnly on unless you specifically want suspended licences.
  3. Set maxResults to the number of records you are willing to pay for. The download stops when it is reached.
  4. Run. Output goes to the default dataset; counters land in the SUMMARY key-value record.
{
"counties": ["Los Angeles"],
"classifications": ["C10", "C36"],
"activeOnly": true,
"maxResults": 500
}
InputDefaultWhat it does
licenseScopeallevery value returns the same 245 854-row workbook; master and personnel are legacy aliases
counties-case-insensitive, e.g. ["Orange"]
classifications-any-of matching, e.g. ["B", "C10"]
activeOnlytruekeeps CLEAR, which is the large majority of the file
statuses-exact statuses, overrides the switch
businessTypes-cut sole proprietors out of a corporate list
requiresPhonefalseremoves about 240 records that have no phone
licenseNumbers-filter while streaming, not a lookup
updatedSinceDays0LastUpdate cursor for a change feed
incrementalfalseskip licence numbers already delivered for this exact query
maxResults500hard cap, and the download stops when it is reached
maxScanRows0stop before maxResults on a rare filter
includeRawfalseattach the untouched worksheet row
downloadTimeoutSecs240upper bound on one attempt; the state's speed for the 56 MB file varies, so this is a ceiling, not an estimate
runBudgetSecs-whole-run budget, empty spends the platform timeout

Ready-made tasks

Three saved inputs, one per question this actor answers. Each one shows only the fields it needs, and each returns data on its first run.

TaskInputQuestion it answers
California Contractor Licenses by Tradecounties, classifications, maxResultsevery C10 electrical contractor in one county, with the phone number already on the row
California Contractor License ChecklicenseNumbers, maxScanRows, maxResultsthe status, trade classes and phone behind licence numbers you already hold
California Recently Updated Contractor LicensesupdatedSinceDays, counties, maxResultswhich licences in a county changed in the last 30 days, read through lastUpdate

Modes

There are no named modes. CSLB publishes a single workbook, so licenseScope is kept only so that existing saved inputs keep validating:

ScopeRowsWhat it is
all245 854every licence CSLB publishes, the default
personnel245 854legacy alias, returns the same workbook, different columns
master245 854legacy alias, returns the same workbook

Until 2026-11-23 these were three separate CSV exports. CSLB retired the CSV endpoint: it still answers HTTP 200, but with an empty body. Only the workbook is served now, and it is the full 245 854-row file whichever scope you pick.

incremental: true turns a run into a change feed by skipping the licence numbers an earlier run already delivered for the same query.

Use cases

  • Contractor lead lists by trade and county. Pull every C10 electrical contractor in Los Angeles County with a phone number and a mailing address, and hand sales a list it can call the same day.
  • Licence verification before hiring. Check a contractor's status, bond and workers-compensation coverage before a job starts, from the official record.
  • Expiry and compliance monitoring. Use updatedSinceDays or incremental to watch for licences that moved to a suspended status or were reissued.
  • Market sizing by trade. Count active licences per classification and county to size a territory before launching a product or a crew.

Cost

The price is $0.05 per 1 000 licences, which is $0.00005 per record. The Store adds its 20 % margin at checkout, so a buyer pays $0.06 per 1 000. One apify-actor-start charge of $0.00005 applies per run.

You pay for a licence that lands in the dataset. Nothing else is charged:

  • a filter that matches nothing costs nothing;
  • a licence already delivered by an earlier incremental run is never charged twice;
  • there is no proxy cost, because the workbook comes straight from the state.

The full export is 56 MB, and how fast the state serves it changes from week to week: the same file arrived in 48 s on one run and in 145 s on another, half an hour apart. A run that stops at maxResults is cheap because it stops reading early; a filter alone is not, because the actor has no way to ask CSLB for a subset. The summary tells you which of the two happened: bytesRead, downloadComplete and budgetExceeded.

Honest limits

  • The state retired its CSV exports on 2026-11-23. DownLoadFile.ashx still answers HTTP 200 for every CSV flavour, but the body is empty, so an actor that parses CSV gets nothing at all. Only type=X returns data, and it returns the whole 245 854-row workbook. licenseScope: "master" and "personnel" no longer select a subset; they are kept so saved inputs keep validating.
  • Closed licences are in the same file. activeOnly is on by default because otherwise suspended and expired licences reach the dataset. isActive is true only for CLEAR.
  • sourceUrl is not a permalink you can fetch. It is built from the licence number for human reference; the CSLB detail page needs a session and does not answer a direct request.
  • classifications are pipe-separated in the source and become an array here. A single licence can hold several trades, so counting rows is not counting trades.
  • Dates may carry a leading space in the source, in MM/DD/YYYY form. They are normalised to ISO 8601, and a value that cannot be parsed becomes null rather than a guessed date.
  • The export is validated by its body, not its MIME type. The workbook arrives as application/vnd.ms-excel, which does not describe XLSX. The actor checks the ZIP signature of the first two bytes and then matches all 52 published column names, so an unusual Content-Type never fails a run and a truncated body never reaches the parser.
  • The source is one workbook and cannot filter on its side. Every run reads the file from the top and keeps the rows that match, so a rare county or a single trade still costs a walk through most of the file. Only maxResults stops the read early. On a slow day for the state the workbook may arrive too slowly to finish: a transfer that cannot make it in the remaining budget is abandoned after 25 s and started again, and if every attempt is slow the summary says downloadComplete: false, the records already read are in the dataset, and re-running with a larger runBudgetSecs continues from a fresh download.

FAQ

How do I build a contractor lead list by county? Set counties and, if you want a single trade, classifications, then cap maxResults. Each row carries businessPhone, businessPhoneDigits and businessPhoneE164, so the list goes straight into a dialler or a CRM.

Which scope should I use? all, which is the default. master only reproduces the smaller file the CSLB portal offers, and it silently leaves out about 100 000 licences.

Why is isActive false on some rows when I did not touch activeOnly? activeOnly keeps CLEAR licences, and CLEAR is the only status that sets isActive: true. If you passed statuses explicitly, that list overrides the switch and other statuses can reach the dataset.

Does the phone number come in a usable format? Three formats ship per row: businessPhone as printed, businessPhoneDigits as ten digits for a dialler, and businessPhoneE164 for a CRM or SMS gateway.

How do I build a change feed? Set updatedSinceDays to your schedule interval, or incremental: true to skip what an earlier run already delivered for the same filter.

What is CLEAR? It is CSLB's primary status for a licence in good standing. Other values such as Contr Bond Susp or Work Comp Susp mean the licence is suspended for a bond or insurance reason.

Is a licence the same as a company registration? No. CSLB issues licences to contractors, and one company can hold several. For incorporation data, use the Secretary of State actor.

Does the run stop at maxResults? Yes. The download stops as soon as the cap is reached, which is what keeps a filtered run cheap.

Do I need a proxy? No. The workbook is served by the state directly, and the actor does not use a proxy at all.

Other actors in the US property group, each with its own dataset and price:

Changelog

  • 2026-11-12: three Store categories on the card instead of one.
  • 2026-11-11: card brought to the Store standard, price tag and three categories.
  • 2026-11-01: published in the Store, pay per result with a free run start.