CSLB (Contractors State License Board) Scraper avatar

CSLB (Contractors State License Board) Scraper

Pricing

from $10.00 / 1,000 results

Go to Apify Store
CSLB (Contractors State License Board) Scraper

CSLB (Contractors State License Board) Scraper

Scrape licensed contractor information from the California Contractors State License Board (CSLB) website using ZIP code(s).

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

Jamshaid Arif

Jamshaid Arif

Maintained by Community

Actor stats

2

Bookmarked

25

Total users

0

Monthly active users

14 days ago

Last modified

Features

Limited permissions

Share

CSLB Licensed Contractor Scraper

A Python web scraper designed to extract licensed contractor information from the California Contractors State License Board (CSLB) website (cslb.ca.gov) using one or more California ZIP codes.

Features

  • Single & Batch ZIP Code Search: Scrape contractors for a single ZIP code or supply a list/file of multiple ZIP codes.
  • License Classification Filtering: Optionally filter results by specific CSLB license classes (e.g., B - General Building, C-10 - Electrical, C-36 - Plumbing).
  • Detailed Profile Extraction: Automatically follows contractor detail links to retrieve full license status, bonding, workers' compensation, and personnel details.
  • Flexible Export Formats: Save structured results to CSV, JSON, or Excel (.xlsx).
  • Built-in Rate Limiting & Retries: Respectful request throttling and automatic retry handling to avoid timeouts or blocks.
  • Resume Support: Checkpoint saving to resume large multi-ZIP scraping runs without duplicating records.

Extracted Data Fields

FieldDescription
license_numberUnique CSLB contractor license number
business_nameRegistered business or DBA name
statusCurrent license status (e.g., Active, Expired, Suspended)
classificationsList of held license classifications (e.g., A, B, C-10)
addressStreet address, city, state, and ZIP code
phoneBusiness phone number
entity_typeSole Ownership, Corporation, Partnership, LLC, etc.
issue_dateOriginal license issue date
expire_dateCurrent license expiration date
bond_infoContractor's bond company, bond number, and amount
workers_compWorkers' compensation insurance carrier and policy status
personnelAssociated qualifiers, RMO/RME, and officers
profile_urlDirect URL to the CSLB license detail page

Sample Output (JSON)

[
{
"license_number": "1045892",
"business_name": "PACIFIC COAST BUILDERS INC",
"status": "Active",
"classifications": ["B", "C-10"],
"address": "1234 WILSHIRE BLVD, LOS ANGELES, CA 90017",
"phone": "(213) 555-0198",
"entity_type": "Corporation",
"issue_date": "05/14/2018",
"expire_date": "05/31/2026",
"bond_info": {
"company": "SURETEC INDEMNITY COMPANY",
"amount": "$25,000"
},
"workers_comp": "State Compensation Insurance Fund",
"profile_url": "https://www.cslb.ca.gov/OnlineServices/CheckLicenseII/LicenseDetail.aspx?LicNum=1045892"
}
]

Disclaimer & Responsible Use

  • This tool is intended for educational, research, and legitimate business intelligence purposes using publicly accessible licensing records.
  • Users are responsible for complying with the CSLB Terms of Use and applicable local, state, and federal laws.
  • Please use reasonable request delays (--delay) to avoid placing excessive load on CSLB servers.

License

This project is licensed under the MIT License. See the LICENSE file for details.