[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [StreetEasy rental details](https://spiral.ai/integrations/opencode/streeteasy-rental-details)

# How to Use StreetEasy rental details in opencode

Returns one rental's rent, fees, size, availability date, amenities, and listing brokerage. Use it to check a specific apartment's advertised terms before adding it to your shortlist.

|  |  |
| --- | --- |
| Model | StreetEasy rental details |
| 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 StreetEasy rental details in opencode

- Use StreetEasy rental details for listing 5175217 and display its returned fees, size, availability date, and amenities in the apartment detail view.
- Use StreetEasy rental details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from StreetEasy rental details and tell me what changed since last week.
- Check StreetEasy rental details and summarize what you find in three bullet points.
- Pull the newest data from StreetEasy rental details and give me the result as a table.

## How to set up StreetEasy rental details in opencode

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

### Use Spiral's MCP server

1. **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.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 StreetEasy rental details**: 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": "streeteasy-com/properties/rental_listing",
    "input": {
      "listing_id": "<listing_id>"
    }
  }'
```

Then paste one of the prompts above: opencode finds StreetEasy rental details on Spiral, shows the price and runs it.

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

## StreetEasy rental details tools and prices

- [StreetEasy · Rental listing](https://spiral.ai/tools/alexandria/streeteasy-com/properties/rental_listing) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| listing_id |  | — | StreetEasy's numeric rental listing id. Pattern: ^\d{1,12}$. |

## What can you do with StreetEasy rental details in opencode?

Build a rental comparison view that connects neighborhood discoveries with apartment terms and building leasing information. A coding agent can organize StreetEasy results into the project's existing tables and detail views.

### Build an apartment shortlist

Discover rentals in Astoria, inspect each candidate's advertised fees and availability, and check the building's leasing office before choosing apartments to contact.

### Compare a building with nearby alternatives

Review available units at The Eugene, find other Hudson Yards rentals, and compare individual apartments by size, amenities, and disclosed rental terms.

### Prepare for apartment tours

Find candidates in Long Island City, check their unit amenities and availability dates, and assemble questions for each building's leasing office.

### Review a relocation shortlist

Compare rentals across Williamsburg and Greenpoint, examine each apartment's fees and size, and organize the options by building and leasing business.

### Check one apartment's advertised terms

Read a known rental's disclosed fees, size, availability date, amenities, and listing brokerage before deciding whether to inquire.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## StreetEasy rental details in other agents

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

## More opencode guides

- [StreetEasy building details](https://spiral.ai/integrations/opencode/streeteasy-building-details)
- [StreetEasy rental search](https://spiral.ai/integrations/opencode/streeteasy-rental-search)
- [San José planning permit search](https://spiral.ai/integrations/opencode/san-jos-planning-permit-search)
- [U.S. Drought Monitor county drought history](https://spiral.ai/integrations/opencode/u-s-drought-monitor-county-drought-history)
- [San José contractor permit activity](https://spiral.ai/integrations/opencode/san-jos-contractor-permit-activity)
- [U.S. Drought Monitor current drought](https://spiral.ai/integrations/opencode/u-s-drought-monitor-current-drought)

## Questions about StreetEasy rental details in opencode

**Can opencode use StreetEasy rental details?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run StreetEasy rental details like any built-in tool.

**How much does StreetEasy rental details 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 StreetEasy rental details in opencode?**

No. Spiral runs StreetEasy rental 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 StreetEasy rental details in opencode?**

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

**Does opencode wait while StreetEasy rental details runs?**

StreetEasy rental details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does StreetEasy cover every available apartment in NYC?**

No. NYC's Department of City Planning explicitly notes that StreetEasy does not contain every available housing unit, so its listings cannot serve as a complete inventory of NYC housing.

**Can a newly submitted rental take time to appear?**

Yes. StreetEasy says For Rent By Owner listings take 24 to 48 hours to verify and publish. That is a publication window for those listings, not a refresh guarantee for every rental.

**Does StreetEasy include rentals for stays under a month?**

StreetEasy prohibits advertising rentals with lease terms under 30 days. It is therefore unsuitable for finding nightly or weekend stays.

**Does an on-market rental always mean nobody has applied?**

No. StreetEasy defines an in-contract rental as one with an accepted application, and it remains on the market until the lease is complete.

**How specific must a StreetEasy listing's address be?**

StreetEasy requires a full address and accurate unit numbers. That requirement supports apartment-level comparisons, although it does not independently certify every advertised detail.

