How to Use Zillow home comparables in opencode
Fetch Zillow's valuation comparables for one home. Use them to examine the properties behind a value comparison; Zillow nearby homes answers which properties are close.
Prompts to try with Zillow home comparables in opencode
Copy an example into opencode, or ask in your own words.
Use Zillow home comparables to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Zillow home comparables and tell me what changed since last week.
Check Zillow home comparables and summarize what you find in three bullet points.
Pull the newest data from Zillow home comparables and give me the result as a table.
Check Zillow home comparables every morning and tell me only when something changed.
How to set up Zillow home comparables 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 Zillow home comparables
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": "zillow-com/properties/comparables", "input": { "zpid": 1 } }'
Then paste one of the prompts above: opencode finds Zillow home comparables on Spiral, shows the price and runs it.
Zillow home comparables providers and prices
Spiral runs Zillow home comparables through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Zpid | a number | zpid |
Every API field of Zillow · Comparables is on its tool page: open its card above.
What can you do with Zillow home comparables in opencode?
Build a property research view that turns Zillow locations, listings, and property records into a usable shortlist. A coding agent can adapt the returned data to your project's map, comparison table, or rental search interface.
Screen newly listed homes
Resolve the target area, review new sale listings, and inspect their map positions. Add property facts, price events, nearby homes, and valuation comparables to decide which listings deserve a closer look.
Prepare a home tour brief
Turn new listings in a chosen area into a tour shortlist. Summarize each home's facts and price timeline, show its location, and distinguish nearby properties from valuation comparables.
Compare purchase candidates
Compare newly listed homes using their property facts, listing histories, surroundings, and Zillow valuation comparables. Produce questions for a buyer's agent about differences that could explain the asking amounts.
Review new inventory each week
Review newly surfaced sale listings in a selected market. For each candidate, assemble property details, price events, nearby homes, and comparables into a brief for further property research.
More on Zillow home comparables and opencode
Overview
Zillow home comparables in other agents
Questions about Zillow home comparables in opencode
Can opencode use Zillow home comparables?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Zillow home comparables like any built-in tool.
How much does Zillow home comparables 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 Zillow home comparables in opencode?
No. Spiral runs Zillow home comparables on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Zillow home comparables in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Zillow home comparables runs?
Zillow home comparables runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
Where does Zillow's property information come from?
Zillow gathers public property information from county records. Its price history also uses IDX feeds sent directly by the MLS, so those sections have different source records.
How quickly do listing changes appear on Zillow?
Agent changes in the MLS typically appear on Zillow within 24 hours, although some MLS feeds take up to 48 hours. A fresh retrieval can therefore still show information awaiting an upstream update.
Does Zillow include homes that are no longer listed?
Yes. Zillow retains property pages, but its website requires a full-address search for homes that are neither for sale, for rent, nor recently sold.
How current and reliable are Zillow's home value estimates?
Zestimates refresh multiple times per week. Their accuracy depends on location and available local data, and Zillow says they cannot replace an appraisal.
How much historical valuation data does Zillow show?
A home's detail page can show up to 10 years of Zestimate history when sufficient data exists. That chart contains estimated values and does not establish a 10-year limit or guarantee for listing and sale events.
Start using Zillow home comparables 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


