[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Craigslist housing regions](https://spiral.ai/integrations/opencode/craigslist-housing-regions)

# How to Use Craigslist housing regions in opencode

Finds Craigslist geographic areas and their available subareas. Use it to identify the right local market before searching, especially where one site covers several communities.

|  |  |
| --- | --- |
| Model | Craigslist housing regions |
| 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 Craigslist housing regions in opencode

- Use Craigslist housing regions to find the areas for Austin and Raleigh, then add the returned names and identifiers to my project's city selector.
- Use Craigslist housing regions to retrieve San Francisco Bay Area subareas and build a selector from the returned names in this project.
- Use Craigslist housing regions to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Craigslist housing regions and tell me what changed since last week.
- Check Craigslist housing regions and summarize what you find in three bullet points.

## How to set up Craigslist housing regions 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 Craigslist housing regions**: 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": "craigslist-org/housing/regions",
    "input": {
      "query": "<query>"
    }
  }'
```

Then paste one of the prompts above: opencode finds Craigslist housing regions on Spiral, shows the price and runs it.

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

## Craigslist housing regions tools and prices

- [Craigslist · Regions](https://spiral.ai/tools/alexandria/craigslist-org/housing/regions) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| query |  | — | Case-insensitive substring over slug, name, state, abbreviation and subarea names. |
| country |  | — | ISO 3166-1 alpha-2 filter (US, CA, GB...). Pattern: ^[A-Za-z]{2}$. |

## What can you do with Craigslist housing regions in opencode?

Build a rental comparison that connects Craigslist's geographic areas to listing cards and full posting text. A coding agent can turn those records into a project feature that compares stated laundry, parking, and rental terms.

### Compare relocation destinations

Identify the Craigslist areas for Austin and Raleigh, find suitable rentals in each, and inspect the shortlisted postings for laundry, parking, and rental terms.

### Find furnished housing across cities

Resolve Boston and Providence to their Craigslist areas, search for furnished housing, and check posting descriptions for the stated rental period and included amenities.

### Build a pet-friendly relocation shortlist

Choose the appropriate Seattle and Portland markets, find housing advertised as allowing pets, and inspect the descriptions for additional pet restrictions.

### Compare laundry and parking across local markets

Identify the Craigslist areas around Philadelphia and South Jersey, find apartment candidates, and compare the laundry and parking information stated in their postings.

## Overview

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

## Craigslist housing regions in other agents

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

## More opencode guides

- [Craigslist housing posting details](https://spiral.ai/integrations/opencode/craigslist-housing-posting-details)
- [Craigslist housing search](https://spiral.ai/integrations/opencode/craigslist-housing-search)
- [Connecticut solar and battery installer activity](https://spiral.ai/integrations/opencode/connecticut-solar-and-battery-installer-activity)
- [DC building permit details](https://spiral.ai/integrations/opencode/dc-building-permit-details)
- [Connecticut solar and battery installations](https://spiral.ai/integrations/opencode/connecticut-solar-and-battery-installations)
- [DC building permit search](https://spiral.ai/integrations/opencode/dc-building-permit-search)

## Questions about Craigslist housing regions in opencode

**Can opencode use Craigslist housing regions?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Craigslist housing regions like any built-in tool.

**How much does Craigslist housing regions 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 Craigslist housing regions in opencode?**

No. Spiral runs Craigslist housing regions on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Craigslist housing regions in opencode?**

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

**Does opencode wait while Craigslist housing regions runs?**

Craigslist housing regions runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Does a Craigslist search cover the whole country?**

Craigslist organizes postings by geographic site. Some sites also offer subareas, so a local result set should not be read as nationwide housing coverage.

**How long do housing postings stay available?**

Craigslist says paid postings remain live for 30 days and free postings for 7 to 45 days. Those are posting lifespans, rather than a promise that a rental remains available throughout that period.

**Can a posting change after it appears?**

Posters can edit the title, description, images, and category, or delete a posting manually. A previously retrieved listing can therefore differ from its current page.

**Does removal mean a rental was filled?**

Removal alone does not establish that. Free ads can be removed automatically after sufficient flagging, and Craigslist staff or automated systems can also flag postings for removal.

**Are Craigslist listings verified and complete?**

Craigslist makes no promises about completeness, accuracy, availability, or timeliness. Housing attributes also vary by category, with some information optional.

