# Los Angeles Certificates of Occupancy (data.lacity.org) · Search certificates

Search property, job and marketplace listings with Los Angeles Certificates of Occupancy (data.lacity.org) · Search certificates from Alexandria through one Spiral API key. Certificate history at a Los Angeles address or parcel, a contractor's completed jobs, newly completed buildings (new construction, ADUs, pools) since a date, large projects. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Listings
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `data-lacity-org/building-permits/search_certificates`
- Page: https://spiral.ai/tools/alexandria/data-lacity-org/building-permits/search_certificates

## Pricing

$0.00873 per call.

## Limits

- 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 | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `zip` | text |  | — | Five-digit site ZIP code, e.g. 91343. Pattern: ^[0-9]{5}$. |
| `sort` | one of | issued_desc, valuation_desc | issued_desc | issued_desc: newest certificate first; valuation_desc: largest permit valuation first. |
| `limit` | number | 1 to 100 | 25 | Records per page. |
| `cursor` | text |  | — | next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]{1,7}$. |
| `status` | text |  | — | Words matched against the certificate status: issued, corrected, superseded, reactivated. |
| `address` | text |  | — | Street address words, case-insensitive, matched in order: 15133 W Plummer St, 9503 Andora Pl. Text after a comma and unit numbers are ignored, a final Street/Avenue/Boulevard is abbreviated, and the direction after the house number is optional. Put the ZIP in zip. |
| `min_units` | number | 1 to … | — | Only certificates for buildings with at least this many residential dwelling units. |
| `parcel_id` | text |  | — | Los Angeles County APN, 2656-008-013 or 2656008013: every certificate on that parcel. Pattern: ^[0-9]{4}[- ]?[0-9]{3}[- ]?[0-9]{3}$. |
| `contractor` | text |  | — | Contractor business name words, case-insensitive, matched in order: Shapell Homes, Hillcrest Construction. owner-builder finds owner-builder permits. |
| `description` | text |  | — | Words matched in order against the work description: ADU, garage conversion, SFD, solar. |
| `permit_type` | text |  | — | Words matched against permit type, sub-type and occupancy group: Bldg-New, addition, pool, apartment, commercial, R3. |
| `issued_since` | text |  | — | Only certificates issued on or after this day (cofo_issue_date), YYYY-MM-DD. Poll for new certificates with this and the default sort. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| `issued_until` | text |  | — | Only certificates issued on or before this day (cofo_issue_date), YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| `min_valuation` | number | 0 to … | — | Only certificates whose permit valuation is at least this many US dollars. |
| `license_number` | text |  | — | California contractor licence number (CSLB), exact: 1001034. Pattern: ^[0-9]{1,10}$. |

## Example

```bash
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": "data-lacity-org/building-permits/search_certificates",
    "input": {
      "zip": "<zip>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=data-lacity-org%2Fbuilding-permits%2Fsearch_certificates

## Common questions

### Los Angeles Certificates of Occupancy (data.lacity.org) · Search certificates

**How much does Los Angeles Certificates of Occupancy (data.lacity.org) · Search certificates 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 Los Angeles Certificates of Occupancy (data.lacity.org) · Search certificates through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-lacity-org/building-permits/search_certificates"` 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 Los Angeles Certificates of Occupancy (data.lacity.org) · Search certificates?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use Los Angeles Certificates of Occupancy (data.lacity.org) · Search certificates?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

