Spiral gives your agent every tool with one account. Browse the tools →

Gemini CLI · Listings

How to Use StreetEasy rental search in Gemini CLI

Returns active StreetEasy rental listings matching a New York City search. Use it to discover apartments across an area before checking individual rental terms or a building's leasing information.

Prompts to try with StreetEasy rental search in Gemini CLI

Copy an example into Gemini CLI, or ask in your own words.

Use StreetEasy rental search to find two-bedroom apartments in Astoria and add the returned listings to this project's comparison table.

StreetEasy rental searchGemini CLI
Try asking
  • Use StreetEasy rental search to find Williamsburg apartments whose descriptions mention duplex, then populate the project's shortlist view.

  • Use StreetEasy rental search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from StreetEasy rental search and tell me what changed since last week.

  • Check StreetEasy rental search and summarize what you find in three bullet points.

How to set up StreetEasy rental search 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:

    gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start gemini and run:

    /mcp auth spiral
  3. Check it

    In Gemini CLI, run /mcp. From your shell:

    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.

    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 search

    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": "streeteasy-com/properties/rental_search",
        "input": {
          "url": "<url>"
        }
      }'

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

StreetEasy rental search providers and prices

Spiral runs StreetEasy rental search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaListings
StreetEasy · Rental search
streeteasy-com/properties/rental_search

Settings you can ask for

Ask Gemini CLI for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 1000

1-based page. Defaults to 1.

Sortnewest, recommended, price_low, price_high, or recently_updated

Defaults to newest.

Max beds0 to 10

max_beds

Max sqft0 to 100000

max_sqft

Min beds0 to 10

0 is a studio.

Min sqft0 to 100000

min_sqft

Per page1 to 500

Defaults to 50.

Max price0 to 1000000

Monthly rent, USD.

Min baths0 to 10

min_baths

Min price0 to 1000000

Monthly rent, USD.

Pets allowedon or off

Only true filters; false is the same as omitting it.

Every API field of StreetEasy · Rental search is on its tool page: open its card above.

What can you do with StreetEasy rental search in Gemini CLI?

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.

Find description-specific apartments

Search Upper West Side rental descriptions for terms such as duplex or loft to find candidates for closer review.

Questions about StreetEasy rental search in Gemini CLI

Can Gemini CLI use StreetEasy rental search?

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

How much does StreetEasy rental search 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 StreetEasy rental search in Gemini CLI?

No. Spiral runs StreetEasy rental search 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 search in Gemini CLI?

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

Does Gemini CLI wait while StreetEasy rental search runs?

StreetEasy rental search runs in the background. Gemini CLI 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.

Get started

Start using StreetEasy rental search in Gemini CLI

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini CLI:

Set up Gemini CLI

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options