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

# How to Use Amazon product option attributes in Cursor

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 Cursor

- Use Amazon product option attributes for B09B8V1LZ3 and create a CSV in this project with one row per returned ASIN and its option attributes.
- Use Amazon product option attributes for B07FZ8S74R and compare the returned ASINs and attributes with any matching records in this project's catalog files.
- Use Amazon product option attributes for B09B8V1LZ3 and B07FZ8S74R, then write a Markdown table comparing their returned option dimensions.
- Use Amazon product option attributes to look this up and give me the result as a table. Save the result in ./assets.
- 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 Cursor

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

### Use Spiral's MCP server

1. **Add the hosted server**: Use Add to Cursor on the console's Agents & MCP page, or add this to `.cursor/mcp.json` (one project) or `~/.cursor/mcp.json` (every project):

```json
{
  "mcpServers": {
    "spiral": { "url": "https://api.spiral.ai/mcp" }
  }
}
```

2. **Sign in**: Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

### Use the Spiral skill

1. **Send Cursor 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: Cursor finds Amazon product option attributes on Spiral, shows the price and runs it.

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

## 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 Cursor?

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 Cursor guides](https://spiral.ai/integrations/cursor)

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

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

## Questions about Amazon product option attributes in Cursor

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

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

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

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

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

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 Cursor?**

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

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

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

