[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [NYC address lookup](https://spiral.ai/integrations/gemini-cli/nyc-address-lookup)

# How to Use NYC address lookup in Gemini CLI

Returns NYC GeoSearch address candidates with tax lot and building identifiers. Use it to match a street address to the BBL needed for property records and the BIN needed for DOB records.

|  |  |
| --- | --- |
| Model | NYC address lookup |
| 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 address lookup in Gemini CLI

- Use NYC address lookup to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from NYC address lookup and tell me what changed since last week.
- Check NYC address lookup and summarize what you find in three bullet points.
- Pull the newest data from NYC address lookup and give me the result as a table.
- Check NYC address lookup every morning and tell me only when something changed.

## How to set up NYC address lookup in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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 address lookup**: 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/property-records/resolve_address",
    "input": {
      "address": "<address>"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds NYC address lookup on Spiral, shows the price and runs it.

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

## NYC address lookup tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 10 | 5 | Candidate matches per page (1-10, default 5). |

## What can you do with NYC address lookup in Gemini CLI?

Build a research panel for NYC commercial buildings that brings parcel facts and public filings into one view. Keep tax lot records and building records linked through their distinct BBL and BIN identifiers.

### Commercial acquisition research

Match a commercial address to its lot and building, review the PLUTO snapshot, examine deed and mortgage documents, and collect permit and violation records for acquisition questions.

### Office lease research

Prepare a building brief before leasing office space: parcel characteristics, recorded ownership documents, construction records, and enforcement history.

### Commercial refinancing research

Assemble recorded mortgage documents, parcel facts, permit history, and violation records into a research packet for a commercial building refinancing review.

### Public building history

Research a landmark office building by combining recorded transfers, individual deed details, construction permits, and enforcement records with its PLUTO property snapshot.

### Recorded ownership comparison

Compare a commercial parcel's PLUTO owner of record with the parties named in a selected ACRIS deed. Present discrepancies as questions for further research.

### Renovation background research

Collect a commercial building's permit and violation records alongside its building class and zoning before preparing questions for an architect.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## NYC address lookup in other agents

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

## More Gemini CLI guides

- [NYC PLUTO property details](https://spiral.ai/integrations/gemini-cli/nyc-pluto-property-details)
- [NYC building permit details](https://spiral.ai/integrations/gemini-cli/nyc-building-permit-details)
- [NYC DOB building violations](https://spiral.ai/integrations/gemini-cli/nyc-dob-building-violations)
- [NYC building permit search](https://spiral.ai/integrations/gemini-cli/nyc-building-permit-search)
- [NYC DOB building permits](https://spiral.ai/integrations/gemini-cli/nyc-dob-building-permits)
- [NYC contractor permit activity](https://spiral.ai/integrations/gemini-cli/nyc-contractor-permit-activity)

## Questions about NYC address lookup in Gemini CLI

**Can Gemini CLI use NYC address lookup?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run NYC address lookup like any built-in tool.

**How much does NYC address lookup cost in Gemini CLI?**

$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 CLI plan is separate.

**Do I need an Alexandria account to use NYC address lookup in Gemini CLI?**

No. Spiral runs NYC address lookup 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 address lookup in Gemini CLI?**

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

**Does Gemini CLI wait while NYC address lookup runs?**

NYC address lookup runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.

**How far back do NYC's online property records go?**

ACRIS provides records from 1966 onward for Manhattan, Queens, the Bronx, and Brooklyn. Its published search coverage excludes Staten Island.

**How fresh are PLUTO property details?**

PLUTO updates all fields in its quarterly major releases. That makes it a periodic property snapshot rather than a live ownership or building activity feed.

**Does PLUTO include a record for every condo unit?**

No. PLUTO provides one record per condominium complex rather than separate records for individual condominium units.

**Why do NYC records use both BBL and BIN?**

BBL identifies the tax lot, while BIN identifies the building. NYC Planning notes that addresses are not unique building identifiers because a building can have more than one address.

**Is an ACRIS transaction the same as a document?**

No. One transaction can contain several documents, such as a deed and a mortgage, that share a transaction number.

