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

opencode · Developer

How to Use Qasa rental search in opencode

Returns matching Swedish rental listings from Qasa. Use it to build a shortlist across a city, then inspect individual homes for their rental dates and amenities.

Prompts to try with Qasa rental search in opencode

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

Use Qasa rental search to fetch 10 furnished Stockholm rentals with at least two rooms and render the returned candidates in my project's comparison view.

Qasa rental searchopencode
Try asking
  • Use Qasa rental search to fetch pet-friendly Göteborg rentals and show the returned homes in my project's shortlist.

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

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

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

How to set up Qasa rental search 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.

    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.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Qasa 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": "qasa/real-estate/rental_search",
        "input": {
          "city": "<city>"
        }
      }'

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

Qasa rental search providers and prices

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

AlexandriaDeveloper
Qasa Swedish rentals · Rental search
qasa/real-estate/rental_search

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 1001

page

Limit1 to 6020

limit

Firsthandon or off

firsthand

Furnishedon or off

furnished

Min rooms1 to 50

Minimum whole room count; the source filter accepts integers only.

Pets allowedon or off

pets_allowed

Student homeon or off

student_home

Max monthly costa number from 1

max_monthly_cost

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

What can you do with Qasa rental search in opencode?

Build a Swedish rental comparison in your project using Qasa's area identifiers and listing data. Connect city selection to rental candidates, then show each home's advertised dates and amenities.

Compare cities before relocating

Resolve Stockholm, Göteborg, and Malmö to Qasa areas, find rental candidates, and inspect their dates and amenities to prepare a city-by-city housing comparison.

Plan a university move

Resolve Uppsala and Lund, build a rental shortlist, and check individual homes' rental periods and amenities against the planned academic stay.

Find furnished housing

Resolve the destination city, search for furnished rentals, and inspect the shortlisted homes' amenities before deciding what furniture or equipment to bring.

Prepare a move with pets

Resolve Göteborg, find rentals advertised as allowing pets, and review each candidate's listing details before preparing questions about the tenancy.

Compare contract choices

Resolve a Swedish city, find first-hand and other rental candidates, and compare their advertised rental periods and amenities in one shortlist.

Check a planned move-in date

Resolve Malmö, find potential homes, and inspect their rental dates to identify candidates whose advertised availability fits the move.

Questions about Qasa rental search in opencode

Can opencode use Qasa rental search?

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

How much does Qasa rental search 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 Qasa rental search in opencode?

No. Spiral runs Qasa 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 Qasa rental search in opencode?

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

Does opencode wait while Qasa rental search runs?

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

What housing market does this Qasa data cover?

The documented endpoint scope covers Swedish rental areas and listings. Qasa's marketplace terms specify residential rentals lasting at least one month.

When do inactive Qasa listings disappear?

Qasa says ads are automatically archived after 49 days of inactivity. It defines inactivity as the advertiser not logging in, so this threshold does not establish when the home was last confirmed available.

Does a listing at the top of Qasa's newest-first results represent a newly advertised home?

It can be a renewed ad. Qasa uses the latest publication date for its default website ordering, including when an existing property is republished.

Are landlord contact details public in Qasa housing ads?

Qasa says the advertiser's contact information is never displayed in the housing ad.

Can the listing establish which utilities are included?

It can describe the advertised inclusions, but Qasa says the rental agreement determines what is included in the rent. Confirm important inclusions in that agreement before signing.

Get started

Start using Qasa rental search in opencode

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

Paste this into opencode:

Set up opencode

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