# California Care Facility License Search (CA CCLD) (`lulzasaur/ca-ccld-facility-scraper`) Actor

Search California's official CDSS care facility license database — assisted living/RCFE, child care, foster family, group homes, adult residential & home care orgs. Returns license status, capacity, licensee, contact, inspection/complaint history and citation counts.

- **URL**: https://apify.com/lulzasaur/ca-ccld-facility-scraper.md
- **Developed by:** [lulz bot](https://apify.com/lulzasaur) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## California Care Facility License Search (CA CCLD)

Search the **official California Department of Social Services — Community Care Licensing Division (CCLD)** facility database: the state's licensing source of truth for **assisted living (RCFE), child care centers, family child care homes, adult residential facilities, foster & group homes, home care organizations, and adoption agencies** — 30+ license categories covering tens of thousands of licensed facilities statewide.

Every record comes straight from the state system, including **license status, capacity, licensee name, full address, phone, inspection & complaint visit counts, Type A/B citation counts, and links to published inspection reports**.

### What you get

- ✅ **License verification** — current status (Licensed, Closed, Pending, etc.) with license dates
- 🏠 **Facility profile** — name, type, capacity, full address, county, phone, licensee & contact
- 🔍 **Compliance signals** — total visits, inspection visits, complaint visits, Type A/B citations, substantiated/unsubstantiated complaint counts, last visit date
- 📄 **Inspection reports** (optional) — published complaint & inspection documents with dates and links
- 🎯 **Four search modes** — by facility type + name/location filters, by exact facility number, or by licensee name

### Use cases

- **Senior care referral platforms** — verify RCFE licenses and surface complaint histories before referring families
- **Childcare marketplaces & SaaS** — license verification and enrichment for child care providers
- **Insurance underwriting & compliance** — screen facilities for citations and substantiated complaints
- **Real estate & M\&A due diligence** — capacity, status, and compliance history for care facility acquisitions
- **Lead generation** — licensed facility lists by county/city with phone numbers and licensee names

### Input

| Field | Description |
|-------|-------------|
| `facilityType` | Which register to search — `assisted-living` (RCFE), `child-care-center`, `adult-residential`, `home-care-organization`, + 30 more |
| `facilityName` | Full or partial facility name |
| `county` / `city` / `zipCode` / `street` | Location filters |
| `facilityNumber` | Exact license number → returns that facility's full detail record |
| `licensee` | **Exact full** owner name (case-insensitive) → all facilities held by that licensee |
| `includeDetails` | Fetch full detail per facility (capacity, city, dates, inspection counts) — default `true` |
| `includeReports` | Attach published inspection/complaint report links — default `false` |
| `maxResults` | Cap on returned records (default 100) |

#### Example: assisted living facilities in Los Angeles County

```json
{
    "facilityType": "assisted-living",
    "county": "Los Angeles",
    "includeDetails": true,
    "maxResults": 100
}
```

#### Example: verify one facility by license number

```json
{
    "facilityNumber": "198400637",
    "includeReports": true
}
```

### Output

```json
{
    "facilityName": "ARC EN CIEL PRESCHOOL",
    "facilityNumber": "198400637",
    "facilityType": "DAY CARE CENTER",
    "status": "Licensed",
    "capacity": 45,
    "licensee": "CHARLOTTE GILES",
    "contact": "CHARLOTTE GILES",
    "streetAddress": "5730 SOUTH STREET",
    "city": "LAKEWOOD",
    "state": "CA",
    "zipCode": "90713",
    "county": "Los Angeles",
    "phone": "(562) 832-1911",
    "clientsServed": ["950 - CHILDREN"],
    "licenseFirstDate": "12/28/2022",
    "lastVisitDate": "5/19/2026",
    "inspections": {
        "totalVisits": 15,
        "inspectionVisits": 1,
        "complaintVisits": 7,
        "complaintCitationsTypeA": 1,
        "complaintsSubstantiated": 1,
        "complaintsUnsubstantiated": 10
    },
    "districtOffice": {
        "name": "MONTEREY PARK SW RO",
        "phone": "(323) 981-3350"
    },
    "detailUrl": "https://www.ccld.dss.ca.gov/carefacilitysearch/#/FacDetail/198400637",
    "source": "California DSS Community Care Licensing Division (CCLD)",
    "scrapedAt": "2026-08-16T15:00:00.000Z"
}
```

### Good to know

- **250-row server cap** — the state API caps every search at 250 rows with no pagination. Narrow by county, city, ZIP, or name to cover more ground; iterating counties covers the full state.
- **Licensee search is exact-match** — the state API only matches the complete licensee name (e.g. `"JANE SMITH"`), case-insensitive. Partial names return nothing.
- **Small family child care homes** are private residences; the state limits what's published for them.
- Data is fetched live from the official state system on every run — no stale mirrors.

### Related actors

- [Contractor License Verification](https://apify.com/lulzasaur/contractor-license-scraper) — CA CSLB, TX, FL, NY
- [CA DRE Real Estate License Search](https://apify.com/lulzasaur/ca-dre-license-scraper)
- [Nurse License Verification](https://apify.com/lulzasaur/nurse-license-scraper)

# Actor input Schema

## `facilityType` (type: `string`):

Which CCLD facility register to search. Ignored when facilityNumber or licensee is provided.

## `facilityName` (type: `string`):

Full or partial facility name (e.g. "Sunrise").

## `county` (type: `string`):

California county name (e.g. "Los Angeles", "San Diego"). The server caps every search at 250 rows, so narrowing by county helps.

## `city` (type: `string`):

City filter (e.g. "Sacramento").

## `zipCode` (type: `string`):

ZIP code filter (e.g. "90210").

## `street` (type: `string`):

Street address filter.

## `facilityNumber` (type: `string`):

Exact CCLD facility/license number (e.g. "198400637"). Returns that single facility's full detail record directly, ignoring all other filters.

## `licensee` (type: `string`):

EXACT full licensee/owner name (e.g. "JANE SMITH" or a company name), case-insensitive. The state API only matches the complete name — partial names return nothing.

## `includeDetails` (type: `boolean`):

Fetch each facility's detail record: capacity, licensee, city, license dates, last visit date, inspection/complaint visit counts, and Type A/B citation counts.

## `includeReports` (type: `boolean`):

Also attach the list of published inspection/complaint report documents (title, date, type, link) for each facility.

## `maxResults` (type: `integer`):

Maximum number of facilities to return. The CCLD server itself caps every search at 250 rows.

## Actor input object example

```json
{
  "facilityType": "assisted-living",
  "facilityName": "",
  "county": "Los Angeles",
  "city": "",
  "zipCode": "",
  "street": "",
  "facilityNumber": "",
  "licensee": "",
  "includeDetails": true,
  "includeReports": false,
  "maxResults": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "county": "Los Angeles"
};

// Run the Actor and wait for it to finish
const run = await client.actor("lulzasaur/ca-ccld-facility-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "county": "Los Angeles" }

# Run the Actor and wait for it to finish
run = client.actor("lulzasaur/ca-ccld-facility-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "county": "Los Angeles"
}' |
apify call lulzasaur/ca-ccld-facility-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lulzasaur/ca-ccld-facility-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dl707cwbjLEFzDGSD/builds/nVpp6s5FU0yEvdkrE/openapi.json
