How to Use Los Angeles contractor certificate rankings in opencode
Ranks contractors by LADBS certificate counts and recorded valuation. Use it to compare certificate activity across construction businesses before reviewing their individual projects.
Prompts to try with Los Angeles contractor certificate rankings in opencode
Copy an example into opencode, or ask in your own words.
Use Los Angeles contractor certificate rankings to fetch the leading contractors in ZIP code 90028 for 2025 and add a table comparing certificate counts and recorded valuation to this project.
Use Los Angeles contractor certificate rankings to compare businesses in ZIP codes 91604 and 91343 during 2025, then add a comparison chart to this project.
Use Los Angeles contractor certificate rankings to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Los Angeles contractor certificate rankings and tell me what changed since last week.
Check Los Angeles contractor certificate rankings and summarize what you find in three bullet points.
How to set up Los Angeles contractor certificate rankings in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode 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 Los Angeles contractor certificate rankings
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-lacity-org/building-permits/contractor_activity", "input": { "issued_since": "<issued_since>" } }'
Then paste one of the prompts above: opencode finds Los Angeles contractor certificate rankings on Spiral, shows the price and runs it.
Los Angeles contractor certificate rankings providers and prices
Spiral runs Los Angeles contractor certificate rankings through Alexandria. Open a card for today's price, with every fee included.
$0.00873 per call.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | permits_desc or valuation_desc | permits_desc | permits_desc: most certificates first, then valuation; valuation_desc: largest total valuation first. |
| Limit | 1 to 100 | 25 | Contractors per page. |
Every API field of Los Angeles Certificates of Occupancy (data.lacity.org) · Contractor activity is on its tool page: open its card above.
What can you do with Los Angeles contractor certificate rankings in opencode?
Build a Los Angeles construction research view that connects contractor rankings to the certificate records behind them. A coding agent can add project lists and individual certificate details to your application.
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.
More on Los Angeles contractor certificate rankings and opencode
Overview
Los Angeles contractor certificate rankings in other agents
Questions about Los Angeles contractor certificate rankings in opencode
Can opencode use Los Angeles contractor certificate rankings?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Los Angeles contractor certificate rankings like any built-in tool.
How much does Los Angeles contractor certificate rankings cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use Los Angeles contractor certificate rankings in opencode?
No. Spiral runs Los Angeles contractor certificate rankings on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Los Angeles contractor certificate rankings in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Los Angeles contractor certificate rankings runs?
Los Angeles contractor certificate rankings runs in the background. opencode 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.
Start using Los Angeles contractor certificate rankings in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


