[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Amazon product option attributes](https://spiral.ai/integrations/grok/amazon-product-option-attributes)

# How to Use Amazon product option attributes in Grok

Returns the product options and attributes linked to an Amazon.com listing. Use it to map size, color, or style choices to ASINs; checking availability requires a separate lookup.

|  |  |
| --- | --- |
| Model | Amazon product option attributes |
| 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 option attributes in Grok

- Use Amazon product option attributes for B09B8V1LZ3 and show every returned ASIN with its color, size, or style labels.
- Use Amazon product option attributes for B07FZ8S74R and explain which attributes distinguish the returned choices.
- Use Amazon product option attributes for B09B8V1LZ3 and B07FZ8S74R and compare the number of returned choices for each option dimension.
- Use Amazon product option attributes to look this up and give me the result as a table.
- Pull the latest numbers from Amazon product option attributes and tell me what changed since last week.

## How to set up Amazon product option attributes in Grok

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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 option attributes**: 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/variations",
    "input": {
      "asin": "<asin>"
    }
  }'
```

Then paste one of the prompts above: Grok finds Amazon product option attributes on Spiral, shows the price and runs it.

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

## Amazon product option attributes tools and prices

- [Amazon US · Variations](https://spiral.ai/tools/alexandria/amazon-com/products/variations) (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 option attributes in Grok?

Turn an Amazon listing's linked choices into a readable comparison with the ASIN for each option. Ask for specific colors, sizes, or styles to narrow the returned choices to a useful shortlist.

### 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 Grok guides](https://spiral.ai/integrations/grok)

## Amazon product option attributes in other agents

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

## More Grok guides

- [Amazon product details](https://spiral.ai/integrations/grok/amazon-product-details)
- [Amazon product options and availability](https://spiral.ai/integrations/grok/amazon-product-options-and-availability)
- [Amazon featured offer](https://spiral.ai/integrations/grok/amazon-featured-offer)
- [Amazon product photos](https://spiral.ai/integrations/grok/amazon-product-photos)
- [Amazon creator storefront](https://spiral.ai/integrations/grok/amazon-creator-storefront)
- [Amazon product price comparison](https://spiral.ai/integrations/grok/amazon-product-price-comparison)

## Questions about Amazon product option attributes in Grok

**Can Grok use Amazon product option attributes?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Amazon product option attributes like any built-in tool.

**How much does Amazon product option attributes cost in Grok?**

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

**Do I need an Alexandria account to use Amazon product option attributes in Grok?**

No. Spiral runs Amazon product option attributes 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 option attributes in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Amazon product option attributes runs?**

Amazon product option attributes runs in the background. Grok 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.

