[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [NYC building permit search](https://spiral.ai/integrations/n8n/nyc-building-permit-search)

# How to Use NYC building permit search in n8n

Returns matching DOB NOW or legacy BIS permit records for a building or area. Use it to find individual permits before investigating a record or comparing contractor activity.

|  |  |
| --- | --- |
| Model | NYC building permit search |
| 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 NYC building permit search in n8n

- Every morning, use NYC building permit search to review DOB NOW permits for 350 Fifth Avenue in Manhattan and summarize records that differ from yesterday's results.
- Every morning, use NYC building permit search to review DOB NOW permits issued in Queens during the previous seven days and prepare a brief.
- Every Monday at 9am: use NYC building permit search to look this up and give me the result as a table.
- Pull the latest numbers from NYC building permit search and tell me what changed since last week.
- Check NYC building permit search and summarize what you find in three bullet points.

## How to set up NYC building permit search 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 NYC building permit search in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds NYC building permit search, 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 NYC building permit search**: 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-cityofnewyork-us/building-permits/search_permits",
    "input": {
      "bin": "<bin>"
    }
  }'
```

Then paste one of the prompts above: n8n finds NYC building permit search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/n8n

## NYC building permit search tools and prices

- [NYC Open Data property records (ACRIS, PLUTO, DOB) · Search permits](https://spiral.ai/tools/alexandria/data-cityofnewyork-us/building-permits/search_permits) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| bin |  | — | Building Identification Number, exact (resolve_address returns it). Pattern: ^[1-5][0-9]{6}$. |
| zip |  | — | 5-digit ZIP code of the building. Pattern: ^[0-9]{5}$. |
| sort | issued_desc, applied_desc, updated_desc, valuation_desc | issued_desc | issued_desc (default): newest issue date first. applied_desc (bis): newest filing first. updated_desc (dob_now): most recently added or changed first. valuation_desc (dob_now): largest estimated job cost first. |
| limit | 1 to 100 | 25 | Rows per page. |
| cursor |  | — | next_cursor from the previous page; repeat the same filters with it. Pattern: ^[0-9]+$. |
| source | dob_now, bis | dob_now | dob_now (default): DOB NOW: Build – Approved Permits (rbx6-tga4), every permit issued through DOB NOW since 2016 except electrical, elevator and limited alteration, about 1 million rows. bis: DOB Permit Issuance (ipu4-2q9a), legacy BIS permits since 1989, about 4 million rows, still updated for permits that stay in BIS. |

## What can you do with NYC building permit search in n8n?

Keep a recurring NYC construction brief current with permit records and contractor activity. A scheduled agent can revisit selected permits and report renewal changes alongside its regular market review.

### Build a contractor shortlist

Compare permit activity for contractors working in Queens, review their individual permits, and inspect renewals before choosing firms for further business research.

### Prepare a quarterly construction brief

Combine borough contractor rankings with individual permit examples and renewal histories. Label the measures as permit activity rather than distinct project counts.

### Research a supplier's service territory

Identify contractors pulling permits in Brooklyn, examine the permits behind their totals, and review selected records before planning business outreach.

### Document a contractor comparison

Support a comparison of firms with permit totals, matching permit records, and selected renewal histories. Keep BIS and DOB NOW results identifiable in the supporting evidence.

### Review a commercial building's permit history

Find permits for a commercial address such as 350 Fifth Avenue in Manhattan, then examine individual records and their renewals across the available systems.

### Explain recurring permit activity

Investigate whether records that appear repeatedly in a building review represent renewals or separate work permits before describing the construction activity.

### Compare trade activity across boroughs

Compare plumbing permit activity in the Bronx and Queens, identify the contractors behind the totals, and inspect examples of their permits.

### Maintain a construction research dashboard

Refresh borough permit records and contractor rankings on a daily schedule. Give analysts a way to open selected permit records and review their renewals.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All n8n guides](https://spiral.ai/integrations/n8n)

## NYC building permit search in other agents

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

## More n8n guides

- [NYC building permit details](https://spiral.ai/integrations/n8n/nyc-building-permit-details)
- [NYC contractor permit activity](https://spiral.ai/integrations/n8n/nyc-contractor-permit-activity)
- [NYC address lookup](https://spiral.ai/integrations/n8n/nyc-address-lookup)
- [New Jersey construction permit details](https://spiral.ai/integrations/n8n/new-jersey-construction-permit-details)
- [NYC PLUTO property details](https://spiral.ai/integrations/n8n/nyc-pluto-property-details)
- [New Jersey construction permit search](https://spiral.ai/integrations/n8n/new-jersey-construction-permit-search)

## Questions about NYC building permit search in n8n

**Can n8n use NYC building permit search?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run NYC building permit search like any built-in tool.

**How much does NYC building permit search 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 NYC building permit search in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs NYC building permit search on its own Alexandria account.

**How long does it take to set up NYC building permit search in n8n?**

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

**Does n8n wait while NYC building permit search runs?**

NYC building permit search runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

**Why do NYC permit searches need both BIS and DOB NOW?**

DOB Permit Issuance contains permits from BIS, while most current permits are issued in DOB NOW. Examine both datasets when researching activity that could span the two systems.

**Does the DOB NOW dataset include every permit category?**

It excludes electrical, elevator, and Limited Alteration Application permits. NYC publishes those categories in separate datasets, so these approved-permit records cannot establish their absence.

**How fresh are the permit records?**

Both datasets specify daily updates. BIS also updates existing records as permit applications move through the approval process, so a later retrieval can change an earlier result.

**Does one permit equal one construction project?**

No. DOB explains that separate work types receive separate permits, so one job can contribute several permits to an activity total.

**How far back does DOB NOW permit history go?**

The approved-permit dataset describes its records as permits issued through DOB NOW since 2016. That boundary applies to DOB NOW coverage, so earlier research requires examining BIS records.

