[Integrations](https://spiral.ai/integrations) › [Gemini CLI](https://spiral.ai/integrations/gemini-cli) › [Amazon product details](https://spiral.ai/integrations/gemini-cli/amazon-product-details)

# How to Use Amazon product details in Gemini CLI

Get an Amazon.com listing's public product details, displayed price, images, available selections, and rating totals. Use it for a product overview before investigating specifications or written reviews.

|  |  |
| --- | --- |
| Model | Amazon product details |
| 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 Amazon product details in Gemini CLI

- Use Amazon product details for https://www.amazon.com/dp/B09B8V1LZ3 and add the returned listing information to our product comparison dataset.
- Use Amazon product details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Amazon product details and tell me what changed since last week.
- Check Amazon product details and summarize what you find in three bullet points.
- Pull the newest data from Amazon product details and give me the result as a table.

## How to set up Amazon product details in Gemini CLI

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

### Use Spiral's MCP server

1. **Add the server**: Or add it to `~/.gemini/settings.json` yourself:

```bash
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `gemini` and run:

```text
/mcp auth spiral
```

3. **Check it**: In Gemini CLI, run `/mcp`. From your shell:

```bash
gemini mcp list
```

### Use the Spiral skill

1. **Send Gemini CLI 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 Amazon product details**: 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": "amazon-com/products/product",
    "input": {
      "asin": "<asin>"
    }
  }'
```

Then paste one of the prompts above: Gemini CLI finds Amazon product details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/gemini-cli

## Amazon product details tools and prices

- [Amazon US · Product](https://spiral.ai/tools/alexandria/amazon-com/products/product) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | HTTPS Amazon.com /dp/ASIN or /gp/product/ASIN URL. Supply this or asin. |
| asin |  | — | Pattern: ^[A-Za-z0-9]{10}$. |

## What can you do with Amazon product details in Gemini CLI?

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.

### Find alternatives to an unavailable product

Search for replacements for a shortlisted USB-C dock and compare published ports, dimensions, and product details. Check prices across the shortlist, then inspect the featured offer for the strongest candidates.

### 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Gemini CLI guides](https://spiral.ai/integrations/gemini-cli)

## Amazon product details in other agents

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

## More Gemini CLI guides

- [Amazon featured offer](https://spiral.ai/integrations/gemini-cli/amazon-featured-offer)
- [Amazon product option attributes](https://spiral.ai/integrations/gemini-cli/amazon-product-option-attributes)
- [Amazon creator storefront](https://spiral.ai/integrations/gemini-cli/amazon-creator-storefront)
- [Amazon product options and availability](https://spiral.ai/integrations/gemini-cli/amazon-product-options-and-availability)
- [Amazon category best sellers](https://spiral.ai/integrations/gemini-cli/amazon-category-best-sellers)
- [Amazon product photos](https://spiral.ai/integrations/gemini-cli/amazon-product-photos)

## Questions about Amazon product details in Gemini CLI

**Can Gemini CLI use Amazon product details?**

Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Amazon product details like any built-in tool.

**How much does Amazon product details cost in Gemini CLI?**

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

**Do I need an Alexandria account to use Amazon product details in Gemini CLI?**

No. Spiral runs Amazon product details 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 product details in Gemini CLI?**

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

**Does Gemini CLI wait while Amazon product details runs?**

Amazon product details runs in the background. Gemini CLI 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.

