[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Los Angeles certificate of occupancy details](https://spiral.ai/integrations/claude-code/los-angeles-certificate-of-occupancy-details)

# How to Use Los Angeles certificate of occupancy details in Claude Code

Returns the published record for one LADBS certificate of occupancy. Use it to examine a specific project after finding its certificate or permit number.

|  |  |
| --- | --- |
| Model | Los Angeles certificate of occupancy details |
| Available through | Alexandria |
| Category | Listings |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Los Angeles certificate of occupancy details in Claude Code

- Use Los Angeles certificate of occupancy details to retrieve the record for permit 24014-20000-00887 and build a readable detail view from the returned data.
- Use Los Angeles certificate of occupancy details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Los Angeles certificate of occupancy details and tell me what changed since last week.
- Check Los Angeles certificate of occupancy details and summarize what you find in three bullet points.
- Pull the newest data from Los Angeles certificate of occupancy details and give me the result as a table.

## How to set up Los Angeles certificate of occupancy details in Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Los Angeles certificate of occupancy details**: One request; the result comes back by polling or a webhook.

```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/get_certificate",
    "input": {
      "cofo_number": "<cofo_number>"
    }
  }'
```

Then paste one of the prompts above: Claude Code finds Los Angeles certificate of occupancy details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Los Angeles certificate of occupancy details tools and prices

- [Los Angeles Certificates of Occupancy (data.lacity.org) · Get certificate](https://spiral.ai/tools/alexandria/data-lacity-org/building-permits/get_certificate) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cofo_number |  | — | Certificate of occupancy number from search_certificates, e.g. 269251. Pattern: ^[0-9]{1,9}$. |
| permit_number |  | — | LADBS PCIS permit number, e.g. 24014-20000-00887 (dashes optional): the certificate that closed that permit. Pattern: ^[0-9]{5}-?[0-9]{5}-?[0-9]{5}$. |

## What can you do with Los Angeles certificate of occupancy details in Claude Code?

Build a Los Angeles construction research view that connects contractor rankings to the certificate records behind them. A coding agent can add project lists and individual certificate details to your application.

### Build a contractor shortlist

Rank construction businesses by certificate activity, find their recorded projects, and inspect selected certificates before choosing businesses for further research.

### Write a ZIP code construction brief

Combine local contractor rankings with matching certificate records. Review individual certificates to explain the projects behind the totals.

### Research commercial construction activity

Identify businesses appearing on commercial certificates, assemble their project lists, and examine specific records for a commercial market report.

### Check the projects behind a ranking

Compare contractor rankings by certificate count and valuation, then inspect matching projects and individual certificates to explain differences in rank.

### Prepare a commercial property research packet

Find certificates associated with a commercial site and collect individual records for a reviewer to examine alongside other building documents.

### Follow certificate records over time

Repeat searches for a public business location and compare selected certificate details with earlier results to identify additions or revisions.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Los Angeles certificate of occupancy details in other agents

- [Amp](https://spiral.ai/integrations/amp/los-angeles-certificate-of-occupancy-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/los-angeles-certificate-of-occupancy-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/los-angeles-certificate-of-occupancy-details)
- [Cline](https://spiral.ai/integrations/cline/los-angeles-certificate-of-occupancy-details)
- [Codex](https://spiral.ai/integrations/codex/los-angeles-certificate-of-occupancy-details)
- [Cursor](https://spiral.ai/integrations/cursor/los-angeles-certificate-of-occupancy-details)
- [Devin](https://spiral.ai/integrations/devin/los-angeles-certificate-of-occupancy-details)
- [dots](https://spiral.ai/integrations/dots/los-angeles-certificate-of-occupancy-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/los-angeles-certificate-of-occupancy-details)
- [Gemini](https://spiral.ai/integrations/gemini/los-angeles-certificate-of-occupancy-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/los-angeles-certificate-of-occupancy-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/los-angeles-certificate-of-occupancy-details)
- [goose](https://spiral.ai/integrations/goose/los-angeles-certificate-of-occupancy-details)
- [Grok](https://spiral.ai/integrations/grok/los-angeles-certificate-of-occupancy-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/los-angeles-certificate-of-occupancy-details)
- [Hermes](https://spiral.ai/integrations/hermes/los-angeles-certificate-of-occupancy-details)
- [Instinct](https://spiral.ai/integrations/instinct/los-angeles-certificate-of-occupancy-details)
- [Manus](https://spiral.ai/integrations/manus/los-angeles-certificate-of-occupancy-details)
- [Muse](https://spiral.ai/integrations/muse/los-angeles-certificate-of-occupancy-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/los-angeles-certificate-of-occupancy-details)
- [n8n](https://spiral.ai/integrations/n8n/los-angeles-certificate-of-occupancy-details)
- [Notion](https://spiral.ai/integrations/notion/los-angeles-certificate-of-occupancy-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/los-angeles-certificate-of-occupancy-details)
- [opencode](https://spiral.ai/integrations/opencode/los-angeles-certificate-of-occupancy-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/los-angeles-certificate-of-occupancy-details)
- [Raycast](https://spiral.ai/integrations/raycast/los-angeles-certificate-of-occupancy-details)
- [VS Code](https://spiral.ai/integrations/vscode/los-angeles-certificate-of-occupancy-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/los-angeles-certificate-of-occupancy-details)
- [Zapier](https://spiral.ai/integrations/zapier/los-angeles-certificate-of-occupancy-details)

## More Claude Code guides

- [FEMA USA Structures publication status](https://spiral.ai/integrations/claude-code/fema-usa-structures-publication-status)
- [Los Angeles certificate of occupancy search](https://spiral.ai/integrations/claude-code/los-angeles-certificate-of-occupancy-search)
- [FEMA USA Structures building records](https://spiral.ai/integrations/claude-code/fema-usa-structures-building-records)
- [Los Angeles contractor certificate rankings](https://spiral.ai/integrations/claude-code/los-angeles-contractor-certificate-rankings)
- [FEMA USA Structures building details](https://spiral.ai/integrations/claude-code/fema-usa-structures-building-details)
- [Miami building permit details](https://spiral.ai/integrations/claude-code/miami-building-permit-details)

## Questions about Los Angeles certificate of occupancy details in Claude Code

**Can Claude Code use Los Angeles certificate of occupancy details?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Los Angeles certificate of occupancy details like any built-in tool.

**How much does Los Angeles certificate of occupancy details cost in Claude Code?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

**Do I need an Alexandria account to use Los Angeles certificate of occupancy details in Claude Code?**

No. Spiral runs Los Angeles certificate of occupancy details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Los Angeles certificate of occupancy details in Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Los Angeles certificate of occupancy details runs?**

Los Angeles certificate of occupancy details runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.

**Does this cover all of Los Angeles County?**

The register covers the City of Los Angeles. It is not a countywide certificate register.

**How fresh is the certificate data?**

The City lists a weekly refresh commitment. Certificate issue dates describe when certificates were issued, rather than when you retrieved the data.

**Does certificate activity measure all construction work?**

No. LADBS explicitly says not all construction work receives a certificate of occupancy, so contractor certificate rankings measure only that recorded activity.

**Where can I look for older certificates?**

LADBS's separate property-records service lists certificates from 1940 to the present. That archive range does not establish the history available through these endpoints.

**Can I reuse the data in a commercial product?**

The certificate dataset is listed under CC0 1.0. CC0 permits copying, modification, distribution, and commercial reuse without requesting permission.

