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

Claude Code · E-commerce

How to Use Walmart product search in Claude Code

Returns Walmart products matching a shopping query. Use it when you know the brand, model, or kind of item you want to find.

Prompts to try with Walmart product search in Claude Code

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

Use Walmart product search for 'Sony wireless headphones' and add the returned product candidates to a comparison table in my project.

Walmart product searchClaude Code
Try asking
  • Use Walmart product search to look this up and give me the result as a table. Save the result in ./assets.

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

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

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

How to set up Walmart product search in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude Code 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 Walmart 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": "walmart-com/products/search",
        "input": {
          "query": "<query>"
        }
      }'

Then paste one of the prompts above: Claude Code finds Walmart product search on Spiral, shows the price and runs it.

Walmart product search providers and prices

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

AlexandriaE-commerce
Walmart.com · Search
walmart-com/products/search

Settings you can ask for

Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Page1 to 251

Result page (40 primary results per page). Walmart caps search at 25 pages.

Sortbest_match, price_low, price_high, best_seller, rating_high, or newbest_match

sort

Limit1 to 8040

Maximum number of items returned from this page after de-duplication.

Max pricea number from 0

Upper price bound in USD.

Min pricea number from 0

Lower price bound in USD.

Every API field of Walmart.com · Search is on its tool page: open its card above.

What can you do with Walmart product search in Claude Code?

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.

Find better shopping phrases

Expand broad terms such as storage or headphones into Walmart's suggested queries, then compare the products each search returns.

Organize household shopping stops

Find the household products on a shopping list, inspect their listings, and collect public information about the intended Walmart store and nearby locations.

Questions about Walmart product search in Claude Code

Can Claude Code use Walmart product search?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Walmart product search like any built-in tool.

How much does Walmart product search cost in Claude Code?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need an Alexandria account to use Walmart product search in Claude Code?

No. Spiral runs Walmart 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 Walmart product search in Claude Code?

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

Does Claude Code wait while Walmart product search runs?

Walmart product search runs in the background. Claude Code 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.

Get started

Start using Walmart product search in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options