# Los Angeles Certificate of Occupancy Leads - New Builds & ADUs (`pink_comic/los-angeles-certificate-of-occupancy-leads`) Actor

Search 63k City of Los Angeles certificates of occupancy (LADBS, updated weekly): CofO number and issue date, permit type, work description, valuation, units, floor area, address, APN, contractor name, address and license, principal, and applicant.

- **URL**: https://apify.com/pink_comic/los-angeles-certificate-of-occupancy-leads.md
- **Developed by:** [Ava Torres](https://apify.com/pink_comic) (community)
- **Categories:** Lead generation, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 certificates

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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

# README

## Los Angeles Certificate of Occupancy Leads - New Builds & ADUs

Search the **City of Los Angeles Department of Building and Safety (LADBS) Certificate of Occupancy** file on data.lacity.org (about 63,000 certificates, refreshed weekly, 102k downloads). A certificate of occupancy means a new home, ADU, addition, pool or commercial build just finished and can be occupied.

Each result includes:

- CofO number, **issue date**, status and status date
- **permit type** and sub-type (1-2 family, apartment, commercial), PCIS permit number
- **work description**, **valuation**, dwelling units, stories, floor area, occupancy, zone
- property address, ZIP, assessor parcel number (APN), tract
- **contractor business name, address and CSLB license number**, license type, principal
- **applicant name, business and address**

Results are newest certificate first. No API key, no CAPTCHA. Pricing: **$0.002 per certificate + $0.0001 start**.

```json
{ "workText": ["ADU"], "issuedAfter": "2026-10-01", "maxResults": 500 }
```

```json
{ "permitTypes": ["Bldg-New"], "permitSubTypes": ["Commercial"] }
```

### Use cases

Move-in leads for solar, security, internet, landscaping, furniture, insurance, property management and home services; builder and contractor intelligence; ADU and new-construction market research by ZIP.

### Limits

City of Los Angeles only (not other LA County cities). No phone or email in the source. Names are matched as substrings.

### How to use

1. Open [Los Angeles Certificate of Occupancy Leads - New Builds & ADUs](https://apify.com/pink_comic/los-angeles-certificate-of-occupancy-leads) in Apify Console and click **Start** (or **Try for free**).
2. Fill in the input form - start with **Max Results**. Every field is optional unless marked required, and the form is prefilled with a working example.
3. Set **Maximum results** to cap your cost, then run the Actor.
4. Download the results as JSON, CSV, Excel, XML or HTML, or pull them with the Apify API.

### Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `query` | string | no |  | Quick single contractor, applicant business or applicant last name search (contains match). Leave blank for the newest certificates. |
| `names` | array | no |  | Contractor business, applicant business or applicant last names, contains match. |
| `issuedAfter` | string | no |  | Optional YYYY-MM-DD certificate issue date. |
| `permitTypes` | array | no |  | e.g. 'Bldg-New', 'Bldg-Addition', 'Bldg-Alter/Repair', 'Swimming-Pool/Spa', 'Nonbldg-New'. |
| `permitSubTypes` | array | no |  | '1 or 2 Family Dwelling', 'Apartment' or 'Commercial'. |
| `zipCodes` | array | no |  | Exact 5-digit ZIP codes, e.g. '91343'. |
| `workText` | array | no |  | Contains match on the work description, e.g. 'ADU', 'POOL', 'RESTAURANT'. |
| `cofoNumbers` | array | no |  | Exact certificate of occupancy numbers for lookup. |
| `permitNumbers` | array | no |  | Exact LADBS PCIS permit numbers, e.g. '25010-20000-05110'. |
| `maxResults` | integer | no | 10 | Maximum total paid dataset items, split across search terms. The default returns 10 certificates (about $0.0201 including the start event). |

#### Example input

```json
{
  "maxResults": 10
}
```

### Output example

One record from a real run (long values shortened, contact details partly masked):

```json
{
  "setupStatus": "found",
  "cofoNumber": "300327",
  "cofoIssueDate": "2026-10-23",
  "status": "CofO Issued",
  "statusDate": "2026-10-23",
  "permitType": "Swimming-Pool/Spa",
  "permitSubType": "1 or 2 Family Dwelling",
  "permitNumber": "26047-20000-00800",
  "workDescription": "Aadd new baja and spa inside existing pool shell and raise floor from",
  "valuation": 15000,
  "dwellingUnits": null,
  "stories": null,
  "floorArea": null,
  "occupancy": "Misc. Occ. Group",
  "zone": "RA-1",
  "address": "17437 W NAPA ST",
  "zipCode": "91325",
  "apn": "2787-026-050",
  "tract": "P M 149A",
  "contractorName": null,
  "contractorAddress": null,
  "contractorCity": null,
  "contractorState": null,
  "contractorLicense": "1114844",
  "licenseType": "C53"
}
```

### Pricing

Pay per event: **$0.002 per certificate** plus **$0.0001 per run start**. No subscription to this Actor is needed. Apify Store discounts apply, so the price per result is lower on Silver, Gold and higher Apify plans. Use **Maximum results** to cap the cost of each run.

### FAQ

#### How much does Los Angeles Certificate of Occupancy Leads - New Builds & ADUs cost?

$0.002 per certificate plus $0.0001 per run. For example, 1,000 results cost about $2.00. Higher Apify plans get a Store discount.

#### Do I need an API key or login?

No. Just configure the input and run it.

#### Can I run it on a schedule or from code?

Yes. Use Apify Schedules for recurring runs, or call it from the Apify API, the JavaScript or Python client, Make, Zapier, n8n, or any MCP-compatible AI agent.

#### Why did my run return no results?

Your filters are probably too narrow. Remove a filter or broaden the search, then run again. You only pay the result price for records that are actually saved.

#### Is the data accurate and up to date?

Each run fetches live data from the source described above, so results are as current as that source. Verify critical records with the original source before acting on them.

### Use with the API

```bash
curl -X POST "https://api.apify.com/v2/acts/pink_comic~los-angeles-certificate-of-occupancy-leads/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"maxResults": 10}'
```

### Related

- [Los Angeles New Business Leads](https://apify.com/pink_comic/los-angeles-new-business-leads)
- [CSLB Contractor License Search](https://apify.com/pink_comic/cslb-contractor-license-search)

# Actor input Schema

## `query` (type: `string`):

Quick single contractor, applicant business or applicant last name search (contains match). Leave blank for the newest certificates.

## `names` (type: `array`):

Contractor business, applicant business or applicant last names, contains match.

## `issuedAfter` (type: `string`):

Optional YYYY-MM-DD certificate issue date.

## `permitTypes` (type: `array`):

e.g. 'Bldg-New', 'Bldg-Addition', 'Bldg-Alter/Repair', 'Swimming-Pool/Spa', 'Nonbldg-New'.

## `permitSubTypes` (type: `array`):

'1 or 2 Family Dwelling', 'Apartment' or 'Commercial'.

## `zipCodes` (type: `array`):

Exact 5-digit ZIP codes, e.g. '91343'.

## `workText` (type: `array`):

Contains match on the work description, e.g. 'ADU', 'POOL', 'RESTAURANT'.

## `cofoNumbers` (type: `array`):

Exact certificate of occupancy numbers for lookup.

## `permitNumbers` (type: `array`):

Exact LADBS PCIS permit numbers, e.g. '25010-20000-05110'.

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

Maximum total paid dataset items, split across search terms. The default returns 10 certificates (about $0.0201 including the start event).

## Actor input object example

```json
{
  "query": "",
  "names": [],
  "issuedAfter": "",
  "permitTypes": [],
  "permitSubTypes": [],
  "zipCodes": [],
  "workText": [],
  "cofoNumbers": [],
  "permitNumbers": [],
  "maxResults": 10
}
```

# Actor output Schema

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

All records from this run in the default dataset, shown with the Overview table view.

# 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 = {
    "query": "",
    "names": [],
    "issuedAfter": "",
    "permitTypes": [],
    "permitSubTypes": [],
    "zipCodes": [],
    "workText": [],
    "cofoNumbers": [],
    "permitNumbers": [],
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("pink_comic/los-angeles-certificate-of-occupancy-leads").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 = {
    "query": "",
    "names": [],
    "issuedAfter": "",
    "permitTypes": [],
    "permitSubTypes": [],
    "zipCodes": [],
    "workText": [],
    "cofoNumbers": [],
    "permitNumbers": [],
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("pink_comic/los-angeles-certificate-of-occupancy-leads").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 '{
  "query": "",
  "names": [],
  "issuedAfter": "",
  "permitTypes": [],
  "permitSubTypes": [],
  "zipCodes": [],
  "workText": [],
  "cofoNumbers": [],
  "permitNumbers": [],
  "maxResults": 10
}' |
apify call pink_comic/los-angeles-certificate-of-occupancy-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pink_comic/los-angeles-certificate-of-occupancy-leads"
        }
    }
}
```

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/zCw17erIKFZMbdtZ7/builds/EYnE27hkbAJ7he2un/openapi.json
