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

opencode · E-commerce

How to Use Best Buy product search in opencode

Returns one page of matching Best Buy products with information for requesting the next page. Use it to discover listings before looking up individual product details or local availability.

Prompts to try with Best Buy product search in opencode

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

Use Best Buy product search to find Sony WH-1000XM6 listings and add their returned names and links to my project's personal shopping comparison.

Best Buy product searchopencode
Try asking
  • Use Best Buy product search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Best Buy product search and tell me what changed since last week.

  • Check Best Buy product search and summarize what you find in three bullet points.

  • Pull the newest data from Best Buy product search and give me the result as a table.

How to set up Best Buy product 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.

    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 Best Buy product search

    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": "bestbuy-com/products/search",
        "input": {
          "query": "<query>"
        }
      }'

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

Best Buy product search providers and prices

Spiral runs Best Buy product search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
Best Buy US · Search
bestbuy-com/products/search

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 201

page

Every API field of Best Buy US · Search is on its tool page: open its card above.

What can you do with Best Buy product search in opencode?

Build a personal Best Buy shopping comparison in your project using public US product and store data. Turn returned records into a shortlist that helps compare listings or plan a store visit.

Choose a college laptop

Explore suggested laptop searches, shortlist listings, compare configurations and displayed offers, and weigh ratings against written feedback. Check nearby store hours and fulfillment promises before choosing where to buy.

Compare TVs for a living room

Start with suggested TV searches, inspect matching listings and listed configurations, then compare offers, rating totals, and customer feedback. Use local store information and delivery or pickup promises to narrow the final choice.

Pick headphones for commuting

Use autocomplete and search to find candidates, compare their listed options and offers, and investigate customer comments about comfort and everyday use. Combine rating totals with nearby store hours and pickup promises to plan the purchase.

Replace a home printer

Explore suggested printer searches, compare product details and configurations, and assess displayed offers alongside ratings and written reviews. Find nearby stores and check fulfillment promises for the preferred listing.

Resolve a confusing product name

Use suggested search wording to find listings, then compare their identities and configuration attributes. Separate similarly named products before adding one to a personal shortlist.

Questions about Best Buy product search in opencode

Can opencode use Best Buy product search?

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

How much does Best Buy product 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 Best Buy product search in opencode?

No. Spiral runs Best Buy product 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 Best Buy product search in opencode?

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

Does opencode wait while Best Buy product search runs?

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

Which Best Buy market does this data cover?

The source covers Best Buy's public US catalog and location-specific availability. BestBuy.com's shipping policy lists the 50 states and Washington, DC, and excludes Puerto Rico.

Does an online listing mean the item is carried in every store?

No. Best Buy says online selection can differ from store selection, and some items are tested only in selected markets.

How firm are the displayed offers and availability?

Best Buy says availability and pricing cannot be confirmed until you place an order. A displayed offer or pickup promise supports shopping decisions but does not reserve the item.

Are all Best Buy reviews from verified buyers?

Best Buy says the vast majority come from verified purchases, rather than all reviews. Its Tech Insider Network also provides products to invited reviewers.

Can pickup be eligible without a confirmed date?

Yes. The availability response can explicitly report pickup eligibility without a pickup date and label it unconfirmed by Best Buy.

Get started

Start using Best Buy product search 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