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

opencode · Developer

How to Use Qasa rental areas in opencode

Returns Swedish search areas with names, country codes, and Qasa area identifiers. Use it to resolve a city such as Stockholm before looking for rental listings.

Prompts to try with Qasa rental areas in opencode

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

Use Qasa rental areas to resolve Stockholm, Göteborg, and Malmö, then populate my project's city selector with the returned names and identifiers.

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

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

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

  • Pull the newest data from Qasa rental areas and give me the result as a table.

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

    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/areas",
        "input": {
          "city": "<city>"
        }
      }'

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

Qasa rental areas providers and prices

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

AlexandriaDeveloper
Qasa Swedish rentals · Areas
qasa/real-estate/areas

What can you do with Qasa rental areas 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 areas in opencode

Can opencode use Qasa rental areas?

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

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

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

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

Does opencode wait while Qasa rental areas runs?

Qasa rental areas 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 areas 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