[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Walmart category products](https://spiral.ai/integrations/opencode/walmart-category-products)

# How to Use Walmart category products in opencode

Returns products from a Walmart category page. Use it to compare a department's assortment without depending on a particular search phrase.

|  |  |
| --- | --- |
| Model | Walmart category products |
| 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 Walmart category products in opencode

- Use Walmart category products for https://www.walmart.com/browse/electronics/3944 and build a browsable list from the returned products.
- Use Walmart category products to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Walmart category products and tell me what changed since last week.
- Check Walmart category products and summarize what you find in three bullet points.
- Pull the newest data from Walmart category products and give me the result as a table.

## How to set up Walmart category products 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 Walmart category products**: 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": "walmart-com/products/browse",
    "input": {
      "cat_id": "<cat_id>"
    }
  }'
```

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

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

## Walmart category products tools and prices

- [Walmart.com · Browse](https://spiral.ai/tools/alexandria/walmart-com/products/browse) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| page | 1 to 25 | 1 | page |
| sort | best_match, price_low, price_high, best_seller, rating_high, new | best_match | sort |
| facet |  | — | Walmart facet filter, e.g. `brand:Keurig`. |
| limit | 1 to 80 | 40 | limit |
| max_price | 0 to … | — | max_price |
| min_price | 0 to … | — | min_price |

## What can you do with Walmart category products in opencode?

Build a Walmart shopping comparison in your project using product discovery, item records, customer feedback, or store information. Keep the source context visible, including seller identity and review provenance when available.

### Compare coffee makers

Expand coffee maker search terms, find products through search and kitchen categories, inspect individual listings, and compare customer feedback.

### Plan a dorm shopping trip

Turn dorm essentials into specific searches, browse relevant categories, inspect shortlisted products and reviews, and collect details for the Walmart location you plan to visit.

### Choose camping equipment

Find tents and camping equipment through search and category browsing, examine product records and reviews, and add store details to the trip's shopping plan.

### Build a holiday toy shortlist

Use Walmart's suggested queries and toy categories to find candidates, then compare individual product records and customer reviews.

### Prepare an electronics shopping visit

Search for specific electronics, browse the department for alternatives, inspect selected listings, and check the intended store's public details.

## Overview

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

## Walmart category products in other agents

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

## More opencode guides

- [Vivino wine search](https://spiral.ai/integrations/opencode/vivino-wine-search)
- [Walmart product details](https://spiral.ai/integrations/opencode/walmart-product-details)
- [Vivino wine reviews](https://spiral.ai/integrations/opencode/vivino-wine-reviews)
- [Walmart product reviews](https://spiral.ai/integrations/opencode/walmart-product-reviews)
- [Vivino wine discovery](https://spiral.ai/integrations/opencode/vivino-wine-discovery)
- [Walmart product search](https://spiral.ai/integrations/opencode/walmart-product-search)

## Questions about Walmart category products in opencode

**Can opencode use Walmart category products?**

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

**How much does Walmart category products 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 Walmart category products in opencode?**

No. Spiral runs Walmart category products on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Walmart category products in opencode?**

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

**Does opencode wait while Walmart category products runs?**

Walmart category products runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**Which Walmart market does this data describe?**

Walmart.com operates a U.S.-based marketplace. Its listings include third-party sellers, so a product appearing on Walmart.com does not establish that Walmart is the seller.

**How can I identify who sells an item?**

Walmart identifies the seller with a Sold by or Sold and shipped by label. Check that label when comparing offers for the same product.

**Does Walmart verify every product specification?**

Walmart says manufacturers, suppliers, and others provide product information, and that Walmart has not verified it. A specification displayed on a listing is therefore a published product claim.

**Are all Walmart reviews originally posted on Walmart.com?**

Walmart's Review Syndication program lets brands import reviews collected on their own websites. Feedback displayed on Walmart.com can therefore originate elsewhere.

**Can Walmart reviews come from compensated reviewers?**

Yes. Walmart says reviews collected through its reviewer program display an Incentivized Review badge.

