[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Uswitch broadband deal search](https://spiral.ai/integrations/opencode/uswitch-broadband-deal-search)

# How to Use Uswitch broadband deal search in opencode

Returns broadband offers with speeds, contract terms, and fees, including availability checks for a selected address. Use it to compare packages before requesting the details of one offer.

|  |  |
| --- | --- |
| Model | Uswitch broadband deal search |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Uswitch broadband deal search in opencode

- Use Uswitch broadband deal search to fetch UK offers from BT and Sky, then add a comparison view to this project showing download speed and contract length.
- Use Uswitch broadband deal search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Uswitch broadband deal search and tell me what changed since last week.
- Check Uswitch broadband deal search and summarize what you find in three bullet points.
- Pull the newest data from Uswitch broadband deal search and give me the result as a table.

## How to set up Uswitch broadband deal 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.

```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 Uswitch broadband deal search**: 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": "uswitch-com/products/search_deals",
    "input": {
      "sort": "RANK_ASC"
    }
  }'
```

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

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

## Uswitch broadband deal search tools and prices

- [Uswitch broadband · Search deals](https://spiral.ai/tools/alexandria/uswitch-com/products/search_deals) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | RANK_ASC, COST_ASC, COST_DESC, EFFECTIVE_COST_ASC, SPEED_ASC, SPEED_DESC, CONTRACT_LENGTH_ASC, CALLS_ASC, CALLS_DESC, BAND_SPEED_ASC, BAND_SPEED_DESC, REAL_SPEED_MIN_ASC, REAL_SPEED_MIN_DESC, REAL_SPEED_MAX_ASC, REAL_SPEED_MAX_DESC | — | Uswitch SORT_BY (default RANK_ASC, Uswitch's own ranking). |
| uprn |  | — | UPRN of the address, from lookup_addresses. Requires postcode. Pattern: ^[0-9]{1,14}$. |
| limit | 1 to 50 | — | Deals per page, 1-50 (default 20). |
| cursor |  | — | next_cursor from the previous page; keep the same filters and sort. |
| postcode |  | — | Full UK postcode, e.g. 'E17 4LN' (case and inner space are normalised). Pattern: ^[A-Za-z]{1,2}[0-9][0-9A-Za-z]?\s*[0-9][A-Za-z]{2}$. |
| deal_types |  | — | deal_types |

## What can you do with Uswitch broadband deal search in opencode?

Build a property comparison that puts Uswitch broadband availability beside contract details and public provider feedback. A coding agent can turn the returned addresses, offers, and company records into views in your project.

### Compare broadband for a relocation shortlist

For publicly advertised rental properties, resolve each address, identify the relevant broadband companies, compare available packages, inspect shortlisted offers, and summarize provider feedback.

### Check a rental listing's broadband claims

Resolve a publicly listed property's address and compare its advertised broadband description with Uswitch's available offers. Check the named provider, inspect the package details, and add public customer feedback to the internal review.

### Prepare a new-home broadband handover

For a residential developer's published show-home address, identify available broadband companies and packages. Inspect the strongest matches and summarize public provider reviews for a buyer's comparison checklist.

### Review connectivity for student housing

Compare broadband options at publicly advertised student rental properties. Resolve the property addresses, identify providers, inspect contract lengths and speeds, and review customer feedback before building a housing shortlist.

### Inspect an offer before choosing it

Find a suitable broadband package, then examine its individual record for upload speed, contract length, fees, and payment changes. Compare those details with the requirements behind the search.

## Overview

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

## Uswitch broadband deal search in other agents

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

## More opencode guides

- [Uswitch broadband deal details](https://spiral.ai/integrations/opencode/uswitch-broadband-deal-details)
- [Uswitch broadband provider directory](https://spiral.ai/integrations/opencode/uswitch-broadband-provider-directory)
- [Uswitch broadband address lookup](https://spiral.ai/integrations/opencode/uswitch-broadband-address-lookup)
- [Uswitch broadband provider reviews](https://spiral.ai/integrations/opencode/uswitch-broadband-provider-reviews)
- [Tweakers product search](https://spiral.ai/integrations/opencode/tweakers-product-search)
- [Vivino wine details](https://spiral.ai/integrations/opencode/vivino-wine-details)

## Questions about Uswitch broadband deal search in opencode

**Can opencode use Uswitch broadband deal search?**

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

**How much does Uswitch broadband deal 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 Uswitch broadband deal search in opencode?**

No. Spiral runs Uswitch broadband deal 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 Uswitch broadband deal search in opencode?**

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

**Does opencode wait while Uswitch broadband deal search runs?**

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

**Which country and broadband market does this cover?**

The documented scope is UK home broadband. It covers Uswitch's comparison data rather than an international broadband catalog.

**Does a listed provider guarantee service at a property?**

No. Uswitch says deals depend on local availability, and some offers are unavailable to existing customers. Select the exact address before making a shortlist.

**What does the advertised average speed mean?**

Uswitch defines it as the download speed available to at least 50% of customers on that product during peak time, from 8 to 10 p.m. It is not an individual property's guaranteed speed.

**Does Uswitch's first result mean the fastest connection?**

Uswitch's default rating considers popularity, competitiveness, and the buying process. Use the returned speeds and contract terms to judge whether an offer meets your needs.

**Can I republish Uswitch data or collect it directly from the website?**

Uswitch's website terms prohibit automated collection and require prior written consent to republish or distribute its content. Those terms do not establish separate API reuse rights.

