[Integrations](https://spiral.ai/integrations) › [Cline](https://spiral.ai/integrations/cline) › [Amazon product options and availability](https://spiral.ai/integrations/cline/amazon-product-options-and-availability)

# How to Use Amazon product options and availability in Cline

Returns an Amazon.com product's option dimensions, related ASINs, and displayed swatch availability, with optional offer summaries. Use it to compare choices when availability matters alongside size, color, or style.

|  |  |
| --- | --- |
| Model | Amazon product options and availability |
| 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 options and availability in Cline

- Use Amazon product options and availability for B09B8V1LZ3 and build a local comparison table showing each returned choice and its displayed swatch availability.
- Use Amazon product options and availability for B07FZ8S74R and create a JSON fixture containing the returned ASINs, option labels, and swatch availability.
- Use Amazon product options and availability to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from Amazon product options and availability and tell me what changed since last week.
- Check Amazon product options and availability and summarize what you find in three bullet points.

## How to set up Amazon product options and availability in Cline

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

### Use Spiral's MCP server

1. **Add the server**: In the Cline panel, click the MCP Servers icon and open the Remote Servers tab. Enter:

```bash
cline mcp add spiral https://api.spiral.ai/mcp --transport http --yes
```

2. **Sign in**: Open the Configure tab and click Authenticate on the Spiral server. Sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**: Spiral shows as connected on the Configure tab. In the CLI:

```bash
cline config mcp
```

### Use the Spiral skill

1. **Send Cline 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 options and availability**: 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/variants",
    "input": {
      "asin": "<asin>"
    }
  }'
```

Then paste one of the prompts above: Cline finds Amazon product options and availability on Spiral, shows the price and runs it.

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

## Amazon product options and availability tools and prices

- [Amazon US · Variants](https://spiral.ai/tools/alexandria/amazon-com/products/variants) (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 |  | — | Ten-character Amazon Standard Identification Number, e.g. B09B8V1LZ3. Supply this or url. Pattern: ^[A-Za-z0-9]{10}$. |
| max_priced | 1 to 8 | 5 | Upper bound on variants (including the selected one) that receive an offer summary when include_prices is true. |
| include_prices |  | — | Fetch each priced variant's product page for price and stock. Costs one upstream request per variant. |

## What can you do with Amazon product options and availability in Cline?

Build an ASIN-to-option table that your project's catalog code can use to distinguish Amazon sizes, colors, and styles. Compare returned attributes with existing records to find mapping errors before updating a product selector.

### Build a product option table

Turn the returned ASINs and attributes into a table showing which size, color, or style belongs to each listed choice.

### Check catalog mappings

Compare a retailer's existing product records with Amazon's linked ASINs and attributes. Flag records assigned to a different size or color for review.

### Monitor assortment changes

Compare successive results for a known product and report newly returned ASINs, removed ASINs, and changed option labels.

### Compare competitor option breadth

Count the returned color, size, or style choices for selected public listings. Use the comparison to identify differences in the displayed assortment.

### Prepare an exact-option shortlist

Find the returned ASINs matching a buyer's requested attributes, such as a particular color and size, before checking purchase details.

### Review listing relationships

Inspect the attributes attached to linked ASINs and flag unexpected labels or combinations for a catalog team's review.

## Overview

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

## Amazon product options and availability in other agents

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

## More Cline guides

- [Amazon product option attributes](https://spiral.ai/integrations/cline/amazon-product-option-attributes)
- [Amazon product photos](https://spiral.ai/integrations/cline/amazon-product-photos)
- [Amazon product details](https://spiral.ai/integrations/cline/amazon-product-details)
- [Amazon product price comparison](https://spiral.ai/integrations/cline/amazon-product-price-comparison)
- [Amazon featured offer](https://spiral.ai/integrations/cline/amazon-featured-offer)
- [Amazon product rating totals](https://spiral.ai/integrations/cline/amazon-product-rating-totals)

## Questions about Amazon product options and availability in Cline

**Can Cline use Amazon product options and availability?**

Yes. Add Spiral to Cline as an MCP server, and Cline can find and run Amazon product options and availability like any built-in tool.

**How much does Amazon product options and availability cost in Cline?**

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

**Do I need an Alexandria account to use Amazon product options and availability in Cline?**

No. Spiral runs Amazon product options and availability 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 options and availability in Cline?**

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

**Does Cline wait while Amazon product options and availability runs?**

Amazon product options and availability runs in the background. Cline starts the run, checks on it and gives you the json when it's ready.

**Does every Amazon product have size or color options?**

No. Amazon says some categories do not allow variation listings, while others support only selected types of differences. A listing's linked options therefore depend on its category.

**Can I purchase the parent product?**

Amazon defines the parent product as non-buyable. It connects the child products, so use the ASIN for the specific option when identifying an item to purchase.

**How quickly do changes to product options appear?**

Amazon's seller guidance says updates can take up to two hours to appear on the product page. Removing a child ASIN can take up to 24 hours.

**Does the brand alone control the displayed product options?**

No. Amazon combines product data from multiple sellers on a shared detail page. Its guidance says other sellers can change the linked product options.

**What identifies a specific Amazon product option?**

Amazon uses ASINs, its 10-character alphanumeric product identifiers. Keep the returned ASIN alongside each option's attributes so similarly named choices remain distinguishable.

