California CSLB contractor license lookup · Find contractors by location
cslb-ca-gov/licenses/find_contractors_by_locationFind companies, people and contact details with California CSLB contractor license lookup · Find contractors by location from Alexandria through one Spiral API key. You need licensed contractors of a given classification (B, C-10, C-53 ...) near a California ZIP code or in a city. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
classification required | text | — | Classification option value of the form: A, B, B-2, C-10, C-53, C-61/D-35, ASB, HAZ ... (C53 and c-53 are normalised to C-53; a limited specialty given by its D number alone, D-21 or D21 as get_license prints it, resolves to C-61/D-21). |
city | text | — | California city name (at least 4 characters, as the form requires). Exactly one of zip_code or city. |
zip_code | text | — | Five-digit ZIP code. Exactly one of zip_code or city. Pattern: ^[0-9]{5}$. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "alexandria",
"model": "cslb-ca-gov/licenses/find_contractors_by_location",
"input": {
"classification": "<classification>",
"zip_code": "<zip_code>"
}
}'Frequently asked questions
How much does California CSLB contractor license lookup · Find contractors by location cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use California CSLB contractor license lookup · Find contractors by location through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "cslb-ca-gov/licenses/find_contractors_by_location"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use California CSLB contractor license lookup · Find contractors by location?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use California CSLB contractor license lookup · Find contractors by location?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.