[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [DealSea deal search](https://spiral.ai/integrations/opencode/dealsea-deal-search)

# How to Use DealSea deal search in opencode

Returns DealSea listings matching a keyword, with advertised prices, stores, write-ups, and quoted codes. Use it when you have a brand, model, or retailer in mind instead of browsing the latest posts.

|  |  |
| --- | --- |
| Model | DealSea 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 DealSea deal search in opencode

- Use DealSea deal search for Brother printers and add a shortlist to this project's purchasing page, preserving each returned offer link and write-up.
- Use DealSea deal search to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from DealSea deal search and tell me what changed since last week.
- Check DealSea deal search and summarize what you find in three bullet points.
- Pull the newest data from DealSea deal search and give me the result as a table.

## How to set up DealSea 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 DealSea 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": "dealsea-com/deals/search_deals",
    "input": {
      "query": "<query>"
    }
  }'
```

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

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

## DealSea deal search tools and prices

- [DealSea · Search deals](https://spiral.ai/tools/alexandria/dealsea-com/deals/search_deals) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 50 | 1 | 1-based page number. |

## What can you do with DealSea deal search in opencode?

Build an internal shopping comparison in your project using DealSea's advertised offers and store promotions. Keep quoted codes and purchase conditions beside each offer so reviewers can assess the shortlist.

### Office equipment shortlist

Combine recent posts, electronics browsing, and searches for Dell monitors or Brother printers. Inspect selected deal write-ups and the relevant store promotions before preparing an internal purchase shortlist.

### Holiday shopping plan

Find candidates in recent posts, narrow by product category, and search for requested brands. Read each selected offer and check its retailer's coupons to separate automatic sales from code-based discounts.

### Promotion conditions review

Collect offers from recent posts, category listings, and product searches, then inspect deal descriptions and store promotions. Flag new-customer restrictions, required codes, and checkout conditions for a buyer to review.

### Kitchen purchase comparison

Use recent posts, kitchen listings, and searches for Ninja or KitchenAid to find alternatives. Read shortlisted deal descriptions and store promotions before comparing the purchase conditions.

### Laptop alternatives research

Browse laptop offers and search for Lenovo ThinkPad or ASUS Vivobook to compare advertised configurations and retailer write-ups.

## Overview

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

## DealSea deal search in other agents

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

## More opencode guides

- [DealSea deal details](https://spiral.ai/integrations/opencode/dealsea-deal-details)
- [DealSea latest deals](https://spiral.ai/integrations/opencode/dealsea-latest-deals)
- [DealSea category deals](https://spiral.ai/integrations/opencode/dealsea-category-deals)
- [DealSea store coupons](https://spiral.ai/integrations/opencode/dealsea-store-coupons)
- [DealNews trending deals](https://spiral.ai/integrations/opencode/dealnews-trending-deals)
- [Dell configured product specifications](https://spiral.ai/integrations/opencode/dell-configured-product-specifications)

## Questions about DealSea deal search in opencode

**Can opencode use DealSea deal search?**

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

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

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

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

**Does opencode wait while DealSea deal search runs?**

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

**Which market does DealSea cover?**

DealSea focuses on US deals selected by editors. Its results represent the offers DealSea publishes, rather than a complete retailer inventory.

**Are DealSea offers always current?**

Expired offers remain visible on DealSea. For example, its Walgreens photo-card page retains an expiration label and an October 21, 2025 posting timestamp, so finding a listing does not establish that the offer still works.

**Does every DealSea discount require a coupon code?**

No. DealSea distinguishes promotion codes from online sales, and its Woot page includes discounts that apply at checkout without a code.

**Can an advertised offer have customer restrictions?**

Yes. One Walmart offer on DealSea is limited to new customers' first three online pickup or delivery orders. The offer's write-up matters when deciding whether it applies to a purchase.

**Does a search show all matching offers on one page?**

DealSea's public search uses pagination. The inspected Target search shows results 1 through 10 of 3,380 and a next-page link; that observation does not establish a fixed API result limit.

