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

opencode · E-commerce

How to Use DealSea category deals in opencode

Returns DealSea offers within a product category, with advertised prices, stores, write-ups, and quoted codes. Use it to compare alternatives when you know the product type but haven't chosen a model.

Prompts to try with DealSea category deals in opencode

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

Use DealSea category deals for laptops and desktops, then build a comparison view in this project that highlights Lenovo and ASUS offers and their advertised configurations.

DealSea category dealsopencode
Try asking
  • Use DealSea category deals to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from DealSea category deals and tell me what changed since last week.

  • Check DealSea category deals and summarize what you find in three bullet points.

  • Pull the newest data from DealSea category deals and give me the result as a table.

How to set up DealSea category deals 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 DealSea category deals

    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": "dealsea-com/deals/list_category_deals",
        "input": {
          "url": "<url>"
        }
      }'

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

DealSea category deals providers and prices

Spiral runs DealSea category deals through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
DealSea · List category deals
dealsea-com/deals/list_category_deals

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 501

1-based page number.

Categoryelectronics, fashion, credit-cards, laptops-desktops-tablets, computer-accessories, software, office-supplies, video-audio and 36 more

Category slug from dealsea.com/categories.

Every API field of DealSea · List category deals is on its tool page: open its card above.

What can you do with DealSea category deals 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.

Questions about DealSea category deals in opencode

Can opencode use DealSea category deals?

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

How much does DealSea category deals 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 category deals in opencode?

No. Spiral runs DealSea category deals 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 category deals in opencode?

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

Does opencode wait while DealSea category deals runs?

DealSea category deals 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.

Get started

Start using DealSea category deals 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