# Los Angeles Open Code Enforcement Cases (LADBS) by Address (`buildingsignal/los-angeles-code-enforcement-cases`) Actor

Building code violations and enforcement cases for Los Angeles, CA: violation or case type, status, dates, description, address and coordinates. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/buildingsignal/los-angeles-code-enforcement-cases.md
- **Developed by:** [BuildingSignal](https://apify.com/buildingsignal) (community)
- **Categories:** Real estate, Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.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?

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 Open Code Enforcement Cases (LADBS) by Address

**Los Angeles open code enforcement cases** from the Department of Building and Safety, by address, case type and area. Open cases at an address signal unresolved issues for investors and service providers.

Here is one real record from this actor.

```json
{
  "buildingSignalId": "e7e311ae95d7dafd",
  "jurisdiction": "Los Angeles, CA",
  "programName": "LADBS Open Code Enforcement Cases",
  "recordType": "code_enforcement_case",
  "caseNumber": "1099506",
  "caseDate": "2026-10-25",
  "caseType": "GENERAL",
  "area": "North Valley",
  "status": "Open",
  "addressStreet": "21419 W Stanwell St",
  "city": "Los Angeles",
  "state": "CA",
  "zip": "91311",
  "parcelId": "207B105 399",
  "country": "US",
  "source": "Los Angeles Department of Building and Safety",
  "observedAt": "2026-10-30T22:40:23.026Z"
}
```

**[Input](https://apify.com/buildingsignal/los-angeles-code-enforcement-cases/input-schema) | [Output](https://apify.com/buildingsignal/los-angeles-code-enforcement-cases/output-schema) | [Pricing](https://apify.com/buildingsignal/los-angeles-code-enforcement-cases/pricing)**

![Coverage](https://img.shields.io/badge/Coverage-Los%20Angeles%2C%20CA-blue)
![Output](https://img.shields.io/badge/Output-JSON%20%7C%20CSV%20%7C%20Excel-orange)
![Billing](https://img.shields.io/badge/Billing-Pay%20per%20result-brightgreen)

### Table of contents

- [What you get](#what-you-get)
- [Input and filters](#input-and-filters)
- [Use cases](#use-cases)
- [Coverage and freshness](#coverage-and-freshness)
- [Pricing](#pricing)
- [Comparison with other Apify actors](#comparison-with-other-apify-actors)
- [Related BuildingSignal actors](#related-buildingsignal-actors)
- [FAQ](#faq)
- [Run it through the Apify API](#run-it-through-the-apify-api)

### What you get

Each record can carry these 17 fields. A field the source does not publish for a record comes back as `null`.

| Field | Type | Description |
|---|---|---|
| `buildingSignalId` | string | Stable BuildingSignal building ID (same building across years and runs) |
| `jurisdiction` | string | City, county, state or province of the program |
| `programName` | string | Name of the disclosure or compliance program |
| `recordType` | string | Type of record |
| `caseNumber` | string | Case number |
| `caseDate` | string | Case opened date |
| `caseType` | string | Case type |
| `area` | string | Area office |
| `status` | string | Status |
| `addressStreet` | string | Street address |
| `city` | string | City |
| `state` | string | State or province |
| `zip` | string | ZIP or postal code |
| `parcelId` | string | Tax parcel / lot identifier (BBL, SSL, APN, folio, etc.) |
| `country` | string | Country code (US or CA) |
| `source` | string | Official source program or agency |
| `observedAt` | string | When this record was collected (ISO timestamp) |

### Input and filters

All inputs are optional.

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `sinceDate` | string | no | (none) | Only records opened on or after this date. Leave empty for all. |
| `categoryContains` | array | no | (none) | Keep records whose type or category contains any of these words. |
| `zipCodes` | array | no | (none) | Only records in these ZIP or postal codes (where published). |
| `keyword` | string | no | (none) | Only records containing this text anywhere (address, name, type, description...). |
| `maxRecords` | integer | no | `50` | Maximum number of cases to return. Free Apify plans are limited to 10 per run. |

A working example to paste into the Input tab:

```json
{
  "maxRecords": 25
}
```

### Use cases

- Search open cases in a Los Angeles area before making an offer on a property.
- Build a list of properties with open cases for code compliance consultants.
- Track case volume by area over time.

### Coverage and freshness

Program: LADBS Open Code Enforcement Cases. Publisher: Los Angeles Department of Building and Safety. Area in this example record: Los Angeles, CA. Each run reads the current official publication, so a scheduled run picks up new releases when the agency publishes them. Fields the program does not publish come back as null.

### Pricing

This actor uses pay-per-event pricing. These are the current Apify prices, read on 2026-11-06.

| Event | Price | When it is charged |
|---|---|---|
| `result` | $0.015 | Each case delivered to your dataset |
| `apify-actor-start` | $0.003 | When a run starts, once per GB of run memory with a minimum of one |

At the default 512 MB, a run that delivers 100 cases costs $1.503.

- Accounts on the free Apify plan receive up to 10 results per run.
- If nothing matches your filters, no results are charged. If the source cannot be read before any result is saved, you get one row with an `error` field, and that row carries no `result` charge. The start event still applies to the run.
- Set a maximum cost per run and the actor stops delivering results when it reaches that limit.

### Comparison with other Apify actors

Other developers list actors that cover this source or part of it. This coverage comes from the public Apify Store listings on 2026-11-06 and can change.

| Actor | What the listing covers |
|---|---|
| **This actor** | Los Angeles Open Code Enforcement Cases (LADBS) by Address |
| `fortuitous_pirate/la-code-violations-scraper` | Los Angeles code violations |
| `datapenguin/code-violation-leads` | Code violations from 11 places, naming NYC, LA, Chicago and Cincinnati |
| `gazidev/code-violation-leads` | Code violations naming NYC, Chicago and Los Angeles |
| `nerolabs/code-violation-leads` | Code violations naming NYC, LA, Chicago and Cincinnati |

This actor returns the 17 output fields listed above. We did not run the other actors, so this table makes no claim about their output, speed or reliability. Other listings that also name this source: `quarterly_jingo/la-code-violations-scraper`.

### Related BuildingSignal actors

Other public BuildingSignal actors for the same buyer:

- [Building Code Violations Data: Open Cases by Address](https://apify.com/buildingsignal/building-code-violations-data): code and vacancy records
- [Los Angeles Certificates of Occupancy Feed with Contractors](https://apify.com/buildingsignal/los-angeles-certificates-of-occupancy): certificates of occupancy
- [Vacant Building Registry Data: Vacant & Abandoned Properties](https://apify.com/buildingsignal/vacant-building-registry-data): code and vacancy records
- [Certificates of Occupancy Feed: Newly Completed Buildings](https://apify.com/buildingsignal/certificates-of-occupancy-feed): certificates of occupancy

### FAQ

**Where does the data come from?**

From official public records and open-data disclosures published by the government programs named on this page. BuildingSignal standardizes them into one consistent schema. Always confirm critical decisions with the issuing agency.

**Can I use it with my CRM or BI tool?**

Yes. Export to CSV, Excel or JSON, call it through the Apify API, or connect it with the Make, Zapier, n8n or Google Sheets integrations.

**What can I filter by?**

The input accepts `sinceDate`, `categoryContains`, `zipCodes` and `keyword`. The Input and filters section explains each one.

**Can I run it on a schedule?**

Yes. Create an Apify schedule for the actor, then send the dataset to your database, a spreadsheet or a webhook.

### Run it through the Apify API

Replace `<TOKEN>` with your Apify API token.

```bash
curl -X POST "https://api.apify.com/v2/acts/buildingsignal~los-angeles-code-enforcement-cases/run-sync-get-dataset-items?token=<TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"maxRecords": 25}'
```

With the Apify CLI:

```bash
apify call buildingsignal/los-angeles-code-enforcement-cases --input '{"maxRecords": 25}'
```

Every run writes to a dataset that you can export as JSON, CSV or Excel from the Storage tab or through the Apify API.

***

*BuildingSignal is an independent data provider and is not affiliated with, endorsed by or sponsored by any government agency or program named on this page. Data comes from official public records; always confirm critical decisions with the issuing agency.*

# Actor input Schema

## `sinceDate` (type: `string`):

Only records opened on or after this date. Leave empty for all.

## `categoryContains` (type: `array`):

Keep records whose type or category contains any of these words.

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

Only records in these ZIP or postal codes (where published).

## `keyword` (type: `string`):

Only records containing this text anywhere (address, name, type, description...).

## `maxRecords` (type: `integer`):

Maximum number of cases to return. Free Apify plans are limited to 10 per run.

## Actor input object example

```json
{
  "maxRecords": 50
}
```

# 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 = {
    "maxRecords": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("buildingsignal/los-angeles-code-enforcement-cases").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 = { "maxRecords": 50 }

# Run the Actor and wait for it to finish
run = client.actor("buildingsignal/los-angeles-code-enforcement-cases").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 '{
  "maxRecords": 50
}' |
apify call buildingsignal/los-angeles-code-enforcement-cases --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,buildingsignal/los-angeles-code-enforcement-cases"
        }
    }
}
```

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/UAoQ2OeagvIy9hfQ1/builds/hJQcc2gpYcdtialvu/openapi.json
