# CA DRE Real Estate License Lookup Scraper (`codingfrontend/ca-dre-real-estate-license-scraper`) Actor

Unofficial scraper for public California DRE salesperson, broker, and corporation license records; not affiliated with or endorsed by the DRE.

- **URL**: https://apify.com/codingfrontend/ca-dre-real-estate-license-scraper.md
- **Developed by:** [Coding Frontned](https://apify.com/codingfrontend) (community)
- **Categories:** Real estate
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

### What does CA DRE Real Estate License Lookup Scraper do?

**CA DRE Real Estate License Lookup Scraper** extracts real, current public license records from the [California Department of Real Estate public license lookup](https://www2.dre.ca.gov/publicasp/pplinfo.asp). It is a structured CA DRE API alternative for checking salesperson, broker, and corporation licenses by exact license ID or by licensee/company name.

The Actor returns only records made public by the California DRE. It does not bypass access controls, retrieve private records, or claim that the public page is a certified license history.

### Why use CA DRE Real Estate License Lookup Scraper?

- Verify a California real estate professional or company from the official public source.
- Capture status, type, issue/expiration dates, affiliations, public comments, and MLO endorsement IDs.
- Search multiple license IDs and names in one bounded run.
- Deduplicate results using the stable eight-digit DRE license ID.
- Schedule recurring checks and connect results to Apify APIs, webhooks, Google Sheets, or other integrations.
- Apply responsible request delays, low concurrency, bounded retries, and optional Apify Proxy settings.

### What data can CA DRE Real Estate License Lookup Scraper extract?

| Field | Type | Description |
| --- | --- | --- |
| `licenseId` | string | Stable eight-digit CA DRE license ID |
| `name` | string | Public licensee or company name |
| `licenseType` | string | Salesperson, broker, corporation, or another published type |
| `licenseStatus` | string | Status shown by the DRE |
| `expirationDate` | string | Normalized ISO date when published |
| `mailingAddress` | string | Public mailing address shown on the record |
| `responsibleBroker` | object | Current responsible-broker ID, name, and address |
| `formerResponsibleBrokers` | array | Historical broker affiliations and dates |
| `comments` | array | Public comments, including discipline information when published |
| `sourceUrl` | string | Direct official record URL |

Unavailable optional values are omitted instead of filled with placeholders.

### How to scrape California DRE license records

1. Open the Actor input tab.
2. Add one or more exact eight-digit values to **License IDs**, or add objects to **Name searches**.
3. For a name search, enter the name in the DRE format (usually `Last name, First name`) and optionally provide a mailing-address city.
4. Set a result limit. Keep the default low concurrency and polite delay unless you have a specific reason to change them.
5. Click **Start** and inspect the dataset after the run finishes.
6. Download or integrate the resulting structured records.

### How much will it cost to scrape CA DRE?

This Actor uses lightweight HTTP requests rather than a browser, so small lookups typically consume little compute. Actual cost depends on the number of search pages, records, retries, proxy use, and your Apify plan. Use `maxResults` and `maxSearchPages` to keep runs predictable. The Apify free tier can be suitable for testing; consult your Console usage page for current plan limits.

### Input

See the input tab for full configuration options.

- `licenseIds`: exact eight-digit DRE license IDs.
- `searches`: objects with a required `name` and optional `city`.
- `maxResults`: dataset item safety limit across all input modes.
- `maxSearchPages`: pagination limit for each name search.
- `maxConcurrency`: simultaneous detail requests, capped at eight.
- `requestDelayMillis`: minimum delay before each request.
- `proxyConfiguration`: optional Apify Proxy settings.

At least one license ID or name search is required. Invalid types and malformed IDs are rejected before crawling.

### Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

```json
[
  {
    "licenseId": "01280500",
    "name": "Keye, Melissa",
    "licenseType": "SALESPERSON",
    "licenseStatus": "LICENSED",
    "expirationDate": "2028-05-12",
    "issuedDate": "2000-05-13",
    "mailingAddress": "12031 ORLANDO ROAD, LOS ALAMITOS, CA 90720",
    "responsibleBroker": {
      "licenseId": "01157065",
      "name": "Rossmore Realtors Inc",
      "address": "12031 ORLANDO RD, LOS ALAMITOS, CA 90720"
    },
    "comments": [
      "NO DISCIPLINARY ACTION",
      "NO OTHER PUBLIC COMMENTS"
    ],
    "hasDisciplinaryAction": false,
    "sourceUrl": "https://www2.dre.ca.gov/publicasp/pplinfo.asp?License_id=01280500",
    "scrapedAt": "2026-07-30T00:00:00.000Z"
  }
]
```

The example illustrates the schema. Run results are always parsed from the live public DRE pages and may change as the official record changes.

### Tips and advanced options

- Prefer exact license IDs for the fastest and most deterministic lookup.
- Use the city field to narrow common-name searches.
- Lower `maxResults` and `maxSearchPages` when testing.
- Preserve the default request delay and concurrency to avoid unnecessary load.
- A missing record is logged and omitted; the Actor fails if an entire run produces no real records.

### FAQ, disclaimers, and support

#### Is this an official California DRE API?

No. This independent Actor converts the DRE's public pages into a structured dataset. Use the linked source record and contact the DRE when you need an official or certified history.

#### Does the Actor guarantee that a person is authorized to practice?

No. It reports the public fields available at run time. Review the current official record, status explanations, public comments, and applicable regulations before making a decision.

#### What should I do if a search returns no result?

Check the eight-digit license ID, use the DRE name format, remove an overly narrow city filter, and confirm the record manually on the public lookup. The site may also be temporarily unavailable.

> Our Actor is ethical and does not intentionally extract private user data. It extracts only information the California DRE publishes in its public license lookup. Results can still contain personal data, including public mailing addresses. Personal data is protected by the GDPR in the European Union and by other regulations around the world. Do not scrape or use personal data unless you have a legitimate reason. If you are unsure whether your reason is legitimate, consult your lawyers.

Use the Actor's **Issues** tab to report a reproducible problem. Use the **API** tab for programmatic calls, scheduled monitoring, and integrations.

# Actor input Schema

## `licenseIds` (type: `array`):

California DRE license IDs. Each value must contain exactly eight digits.

## `searches` (type: `array`):

Licensee or company names, optionally narrowed by mailing-address city.

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

Maximum number of unique license records to save across all inputs.

## `maxSearchPages` (type: `integer`):

Safety limit for paginated name-search results.

## `maxConcurrency` (type: `integer`):

Concurrent detail-page requests. Keep this low to reduce load on the public service.

## `requestDelayMillis` (type: `integer`):

Minimum polite delay applied before each public-site request.

## `maxRetries` (type: `integer`):

Total attempts per request, using bounded exponential backoff.

## `proxyConfiguration` (type: `object`):

Optional Apify Proxy configuration. Direct public access is used by default.

## Actor input object example

```json
{
  "licenseIds": [
    "01280500"
  ],
  "searches": [],
  "maxResults": 25,
  "maxSearchPages": 5,
  "maxConcurrency": 3,
  "requestDelayMillis": 400,
  "maxRetries": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "licenseIds": [
        "01280500"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("codingfrontend/ca-dre-real-estate-license-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 = { "licenseIds": ["01280500"] }

# Run the Actor and wait for it to finish
run = client.actor("codingfrontend/ca-dre-real-estate-license-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "licenseIds": [
    "01280500"
  ]
}' |
apify call codingfrontend/ca-dre-real-estate-license-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=codingfrontend/ca-dre-real-estate-license-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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