How to Use Amazon search suggestions in VS Code
Get Amazon autocomplete suggestions for a search prefix. Use them to find more specific shopping phrases before searching for products.
Prompts to try with Amazon search suggestions in VS Code
Copy an example into VS Code, or ask in your own words.
Use Amazon search suggestions to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Amazon search suggestions and tell me what changed since last week.
Check Amazon search suggestions and summarize what you find in three bullet points.
Pull the newest data from Amazon search suggestions and give me the result as a table.
Check Amazon search suggestions every morning and tell me only when something changed.
How to set up Amazon 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 Amazon 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": "amazon-com/products/suggestions", "input": { "query": "<query>" } }'
Then paste one of the prompts above: VS Code finds Amazon search suggestions on Spiral, shows the price and runs it.
Amazon search suggestions providers and prices
Spiral runs Amazon 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 |
|---|---|---|---|
| Count | 1 to 10 | 10 | count |
Every API field of Amazon US · Suggestions is on its tool page: open its card above.
What can you do with Amazon search suggestions in VS Code?
Build an Amazon.com product comparison report from public listing data. A coding agent can organize category research, product attributes, offer observations, images, and customer feedback into the project's existing data format.
Find gaps in a category assortment
Research insulated water bottles by combining category leaders, search results, and autocomplete phrases. Compare product details and published specifications to identify capacities, materials, or features worth investigating.
Build a competitor listing audit
Use search phrases and category rankings to select competing coffee makers. Compare their listing details, specifications, galleries, featured offers, prices, rating totals, and sampled review themes in one research brief.
Prepare a buying guide
Discover headphones through search suggestions, search results, and category rankings. Check product attributes, listing images, current offers, price comparisons, rating totals, and sampled reviews before drafting recommendations with product links.
Produce a weekly category brief
Compare successive research runs for the portable speaker category. Report changes in discovered products, category positions, search suggestions, listing details, images, specifications, rating totals, and sampled review themes.
Audit a brand's listing content
Review a public product listing's gallery, details, specifications, rating totals, and sampled customer complaints. Use relevant search suggestions to identify shopping questions the listing could answer more clearly.
Plan product comparison content
Research standing desk search suggestions and category leaders to choose comparison topics. Use search results, published specifications, listing galleries, and sampled reviews to outline concrete differences and questions for further testing.
More on Amazon search suggestions and VS Code
Overview
Amazon search suggestions in other agents
Questions about Amazon search suggestions in VS Code
Can VS Code use Amazon search suggestions?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Amazon search suggestions like any built-in tool.
How much does Amazon 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 Amazon search suggestions in VS Code?
No. Spiral runs Amazon 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 Amazon search suggestions in VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while Amazon search suggestions runs?
Amazon search suggestions runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.
Does Amazon's sales rank measure only recent purchases?
No. Amazon includes both recent sales and all-time sales in Best Sellers Rank.
Is the displayed star rating a simple average?
No. Amazon calculates ratings with models, and newer reviews carry more weight than older ones.
Why can the rating count exceed the number of written reviews?
Amazon lets customers submit a star rating without writing a review. Those ratings contribute to the displayed totals even though there is no corresponding review text.
Does one product page represent just one seller?
No. Multiple sellers can offer the same product through one Amazon detail page, so the listing's identity and its currently featured seller are different things.
Start using Amazon 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


