How to Use Walmart search suggestions in VS Code
Returns the shopping queries Walmart suggests for a partial term. Use it to turn a broad idea into more specific searches before looking for products.
Prompts to try with Walmart search suggestions in VS Code
Copy an example into VS Code, or ask in your own words.
Use Walmart search suggestions for 'coffee' and add the returned shopping phrases to my project's search examples.
Use Walmart search suggestions to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Walmart search suggestions and tell me what changed since last week.
Check Walmart search suggestions and summarize what you find in three bullet points.
Pull the newest data from Walmart search suggestions and give me the result as a table.
How to set up Walmart search suggestions in VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Walmart search suggestions
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/suggest", "input": { "term": "<term>" } }'
Then paste one of the prompts above: VS Code finds Walmart search suggestions on Spiral, shows the price and runs it.
Walmart search suggestions providers and prices
Spiral runs Walmart search suggestions through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of | 1 to 20 | 8 | Maximum number of suggestions requested. |
Every API field of Walmart.com · Suggest is on its tool page: open its card above.
What can you do with Walmart search suggestions in VS 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.
Build a holiday toy shortlist
Use Walmart's suggested queries and toy categories to find candidates, then compare individual product records and customer reviews.
Find better shopping phrases
Expand broad terms such as storage or headphones into Walmart's suggested queries, then compare the products each search returns.
More on Walmart search suggestions and VS Code
Overview
Walmart search suggestions in other agents
Questions about Walmart search suggestions in VS Code
Can VS Code use Walmart search suggestions?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Walmart search suggestions like any built-in tool.
How much does Walmart search suggestions cost in VS 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 VS Code plan is separate.
Do I need an Alexandria account to use Walmart search suggestions in VS Code?
No. Spiral runs Walmart search suggestions 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 search suggestions in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Walmart search suggestions runs?
Walmart search suggestions runs in the background. VS 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.
Start using Walmart search suggestions in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


