California State Contractor License Scraper (CSLB) avatar

California State Contractor License Scraper (CSLB)

Pricing

from $0.80 / 1,000 record scrapeds

Go to Apify Store
California State Contractor License Scraper (CSLB)

California State Contractor License Scraper (CSLB)

California CSLB contractor license data: look up by license number, URL or business name, or filter by classification, county, city and status. Returns name, address, phone, entity type, dates, status, classifications, bonding and workers comp.

Pricing

from $0.80 / 1,000 record scrapeds

Rating

0.0

(0)

Developer

BowTiedRaccoon

BowTiedRaccoon

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Categories

Features

Limited permissions

Share

Scrape contractor license records from the California Contractors State License Board (CSLB) public portal at cslb.ca.gov. Supports three modes: direct lookup by license number, business name search, or statewide filtering by trade classification, county, city and license status. Returns full license detail for every matched record.

What you get

Each record includes:

FieldDescription
license_numberCSLB contractor license number
business_nameContractor or business name
addressStreet address
city / state / zipLocation
countyCounty of the business address (filter mode)
phoneBusiness phone
entity_typeSole Ownership, Corporation, Partnership, etc.
issue_dateDate license was issued
expire_dateLicense expiration date
statusActive, Inactive, Suspended, etc.
additional_statusAny supplemental status notes
classificationsTrade classifications (e.g. "C-7 - LOW VOLTAGE SYSTEMS")
bonding_infoBonding status summary
workers_compWorkers compensation status
license_urlDirect link to the license detail page
scraped_atISO timestamp of when the record was scraped

Input

Provide a list of CSLB license numbers, or paste CSLB license detail page links into startUrls and the license number is read from each link. Each license is looked up directly, returning its full detail page.

{
"licenseNumbers": ["1000001", "963795", "856234"],
"maxItems": 50
}

Provide one or more business name prefixes. The actor POSTs each term to the CSLB name-search form, paginates through all result pages, then fetches each matched license's detail page.

{
"searchTerms": ["smith construction", "abc plumbing"],
"maxItems": 100
}

If both licenseNumbers and searchTerms are provided, Mode A runs first. If licenseNumbers is empty or omitted, Mode B runs.

Mode C — Filter the statewide license list

Leave licenseNumbers, startUrls and searchTerms empty and set any of classifications (e.g. "C-10"), counties, cities and licenseStatuses ("active", or a status phrase such as "suspended"). A license is returned when it matches every filter you set, and any one value within a filter. maxItems caps the result count; a broad filter with a high cap returns a long list.

{
"classifications": ["C-10"],
"counties": ["Orange", "San Diego"],
"licenseStatuses": ["active"],
"maxItems": 500
}

In this mode status carries CSLB's status code (for example CLEAR for a current license), and the record is the statewide license list entry, so it can trail the live detail page by a day.

Anti-bot / CAPTCHA

License lookups complete without any additional verification step.

Rate limiting

Requests are spaced 500 ms apart per government-server courtesy. Requests are sequential. For large batches, the timeoutSecs default of 14 400 s (4 hours) is sufficient for tens of thousands of records.

Performance

  • Mode A: ~2 requests/record (ViewState bootstrap + detail POST)
  • Mode B: ~3 requests/record on average (bootstrap + search + detail)
  • Mode C: one statewide list read per run; results stream out as they match

Use cases

  • Contractor due-diligence and background verification
  • Lead generation for construction-related B2B services
  • License status monitoring for compliance teams
  • Building contractor directories or databases