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

# How to Use Los Angeles certificate of occupancy details in n8n

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, with a Spiral API key |

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

- Every Monday, use Los Angeles certificate of occupancy details to check the record for permit 24014-20000-00887 and report any changes from the previous check.
- Every Monday at 9am: use Los Angeles certificate of occupancy details to look this up and give me the result as a table.
- 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 n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

```text
https://api.spiral.ai/mcp
```

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run Los Angeles certificate of occupancy details in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Los Angeles certificate of occupancy details, prices it and runs it each time the step fires.

### 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: n8n 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/n8n

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

Get a weekly brief on Los Angeles certificate activity in the areas you cover. A scheduled agent can compare contractor rankings, surface matching records, and flag changes in selected certificates.

### 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 n8n guides](https://spiral.ai/integrations/n8n)

## 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)
- [Claude Code](https://spiral.ai/integrations/claude-code/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)
- [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 n8n guides

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

## Questions about Los Angeles certificate of occupancy details in n8n

**Can n8n use Los Angeles certificate of occupancy details?**

Yes. Add Spiral to n8n as an MCP server, and n8n 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 n8n?**

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

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

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Los Angeles certificate of occupancy details on its own Alexandria account.

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

About two minutes: create a key, then add an MCP Client node, then pick a tool.

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

Los Angeles certificate of occupancy details runs in the background. n8n 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.

