[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [NYC contractor permit activity](https://spiral.ai/integrations/gemini/nyc-contractor-permit-activity)

# How to Use NYC contractor permit activity in Gemini

Returns contractor rankings by permits issued and estimated job cost. Use it to compare firms working in an NYC market before reviewing their individual permits.

|  |  |
| --- | --- |
| Model | NYC contractor permit activity |
| 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 NYC contractor permit activity in Gemini

- Use NYC contractor permit activity to rank Brooklyn plumbing contractors by permits issued during the first half of 2026.
- Use NYC contractor permit activity to compare contractors in Queens during 2025 by total estimated job cost.
- Use NYC contractor permit activity to look this up and give me the result as a table.
- Pull the latest numbers from NYC contractor permit activity and tell me what changed since last week.
- Check NYC contractor permit activity and summarize what you find in three bullet points.

## How to set up NYC contractor permit activity in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

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

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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 NYC contractor permit activity**: 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/contractor_activity",
    "input": {
      "zip": "<zip>"
    }
  }'
```

Then paste one of the prompts above: Gemini finds NYC contractor permit activity on Spiral, shows the price and runs it.

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

## NYC contractor permit activity tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| zip |  | — | 5-digit ZIP code of the building. Pattern: ^[0-9]{5}$. |
| sort | permits_desc, valuation_desc | permits_desc | permits_desc (default): most permits first. valuation_desc (dob_now only): largest total 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. |
| borough |  | — | Manhattan, Bronx, Brooklyn, Queens or Staten Island, case-insensitive. |

## What can you do with NYC contractor permit activity in Gemini?

Turn NYC permit records into a building research brief or contractor comparison. A chat app can explain the evidence and distinguish separate work permits from renewals.

### 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.

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

## NYC contractor permit activity in other agents

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

## More Gemini guides

- [NYC building permit search](https://spiral.ai/integrations/gemini/nyc-building-permit-search)
- [New Jersey construction permit details](https://spiral.ai/integrations/gemini/new-jersey-construction-permit-details)
- [NYC building permit details](https://spiral.ai/integrations/gemini/nyc-building-permit-details)
- [New Jersey construction permit search](https://spiral.ai/integrations/gemini/new-jersey-construction-permit-search)
- [NYC address lookup](https://spiral.ai/integrations/gemini/nyc-address-lookup)
- [New Jersey municipal permit activity](https://spiral.ai/integrations/gemini/new-jersey-municipal-permit-activity)

## Questions about NYC contractor permit activity in Gemini

**Can Gemini use NYC contractor permit activity?**

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run NYC contractor permit activity like any built-in tool.

**How much does NYC contractor permit activity cost in Gemini?**

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

**Do I need an Alexandria account to use NYC contractor permit activity in Gemini?**

No. Spiral runs NYC contractor permit activity on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up NYC contractor permit activity in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while NYC contractor permit activity runs?**

NYC contractor permit activity runs in the background. Gemini 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.

