How to Use NYC building permit details in Codex
Returns an individual DOB permit record with its renewals. Use it to investigate a permit you found in a search or to distinguish a renewal from an initial permit.
Prompts to try with NYC building permit details in Codex
Copy an example into Codex, or ask in your own words.
Use NYC building permit details to retrieve M08004166-I1-SH and its renewals, then add a readable permit history view to this app.
Use NYC building permit details to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from NYC building permit details and tell me what changed since last week.
Check NYC building permit details and summarize what you find in three bullet points.
Pull the newest data from NYC building permit details and give me the result as a table.
How to set up NYC building permit details in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run NYC building permit details
One request; the result comes back by polling or a webhook.
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/get_permit", "input": { "permit_number": "<permit_number>" } }'
Then paste one of the prompts above: Codex finds NYC building permit details on Spiral, shows the price and runs it.
NYC building permit details providers and prices
Spiral runs NYC building permit details through Alexandria. Open a card for today's price, with every fee included.
What can you do with NYC building permit details in Codex?
Build a construction research dashboard that connects NYC contractor totals to individual permit evidence. Your coding agent can add separate BIS and DOB NOW views and a permit renewal 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.
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.
More on NYC building permit details and Codex
Overview
NYC building permit details in other agents
Questions about NYC building permit details in Codex
Can Codex use NYC building permit details?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run NYC building permit details like any built-in tool.
How much does NYC building permit details cost in Codex?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need an Alexandria account to use NYC building permit details in Codex?
No. Spiral runs NYC building permit 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 NYC building permit details in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while NYC building permit details runs?
NYC building permit details runs in the background. Codex 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.
Start using NYC building permit details in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


