# California Contractor Licenses by Trade

**Use case:** 

Get California contractor licenses for one trade and one county, with the business phone on every row.

## Input

```json
{
  "licenseScope": "all",
  "counties": [
    "Los Angeles"
  ],
  "classifications": [
    "C10"
  ],
  "activeOnly": true,
  "requiresPhone": false,
  "updatedSinceDays": 0,
  "incremental": false,
  "maxResults": 25,
  "maxScanRows": 0,
  "includeRaw": false,
  "downloadTimeoutSecs": 240,
  "runBudgetSecs": 205
}
```

## Output

```json
{
  "name": {
    "label": "Business name",
    "format": "text"
  },
  "licenseNumber": {
    "label": "License",
    "format": "text"
  },
  "licenseStatus": {
    "label": "Status",
    "format": "text"
  },
  "businessType": {
    "label": "Entity",
    "format": "text"
  },
  "classifications": {
    "label": "Trade classes",
    "format": "text"
  },
  "county": {
    "label": "County",
    "format": "text"
  },
  "businessPhone": {
    "label": "Phone",
    "format": "text"
  },
  "issueDate": {
    "label": "Issued",
    "format": "text"
  },
  "expirationDate": {
    "label": "Expires",
    "format": "text"
  },
  "lastUpdate": {
    "label": "Updated",
    "format": "text"
  },
  "isActive": {
    "label": "Active",
    "format": "text"
  },
  "sourceUrl": {
    "label": "Source",
    "format": "link"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The California Contractor Licenses Scraper - CSLB Phones Actor is ready to run with the inputs already set for "California Contractor Licenses by Trade". [Sign up or log in](https://console.apify.com/create-task-from-example/Kcyofm43cJee1YNyv) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "California Contractor Licenses by Trade" task

The California Contractor Licenses Scraper - CSLB Phones Actor will start running based on the input automatically. You can also change all the input fields, like export scope, counties, and more, to match your specific use case.

### 3. Receive the "California Contractor Licenses by Trade" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as business name, license, status, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "California Contractor Licenses by Trade" task via API](https://apify.com/ai-lead-gen-tools/us-ca-cslb.md).

## FAQ

### How do I build a contractor lead list for one trade?

Pick the county and the classification, for example Los Angeles and C10 for electrical. The run returns every licence in that slice with the business phone.

### What is a classification code?

The CSLB trade class. B is general building, C10 electrical, C36 plumbing, C20 HVAC. Leave it empty to keep all trades.

### Do all rows have a phone?

Phone coverage is 99.8 percent of the export. Set Requires phone to true and the run keeps only rows that have one.

## About this Actor

This example demonstrates how to use [California Contractor Licenses Scraper - CSLB Phones](https://apify.com/ai-lead-gen-tools/us-ca-cslb.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/ai-lead-gen-tools/us-ca-cslb.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/ai-lead-gen-tools/us-ca-cslb.md

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