# Amazon Product Variations Scraper (`phone_number_scraper/amazon-product-variations-scraper`) Actor

\[ 1k / 1$ ] Amazon Product Variations Scraper that returns every variant of a product (size, color, style): variant ASINs, attribute values, price, stock, rating and image for each, from any parent or child ASIN. Ideal for catalog and pricing analysis.

- **URL**: https://apify.com/phone_number_scraper/amazon-product-variations-scraper.md
- **Developed by:** [Phone Number Scraper](https://apify.com/phone_number_scraper) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### Amazon Product Variations Scraper

Amazon Product Variations Scraper returns every variant of an Amazon product, such as each size, color or style, as its own record. Give it the parent ASIN or any child ASIN, and you get the variant ASINs, attribute values, price, stock status, rating and image for each one. 🧩

This Amazon product variations scraper is built for Amazon sellers, catalog managers, pricing analysts and brand owners who need to see a whole variation family at once instead of clicking through every option on the page. No Amazon account is needed, and the results export as JSON, CSV or Excel.

> 💡 **Why use this Actor?** Amazon Product Variations Scraper reads the complete variation family from one product page, then opens each variant for its own price and availability, because those values differ from variant to variant.

### 🔹 Amazon Product Variations Scraper Key Features

Amazon Product Variations Scraper focuses on one job and does it thoroughly: turning a variation family into clean rows.

- Amazon Product Variations Scraper accepts product URLs or plain ASINs, whether parent or child.
- Returns **one record per variant**, with position, parent ASIN and total variation count.
- Shows readable attributes such as `Style: New Version, Size: 256GB`, both as an object and as a text line.
- Opens each variant's own page by default for price, list price, discount, availability, rating, review count, image and seller.
- Offers a fast attributes-only mode that skips the variant pages of the family.
- Filters variants by attribute values, price range and stock status.
- Works on 21 Amazon marketplaces, with an optional US delivery ZIP code for amazon.com.
- Returns a single record with `hasVariations: false` when a product has no variants.

> ✅ **Key Features box:** one record per variant | parent or child input | attribute filters | price and stock per variant | fast mode | 21 marketplaces

### 🔍 What Data Can Amazon Product Variations Scraper Extract?

Every record describes one variant of a product family. Amazon Product Variations Scraper groups the data like this.

| Group | Fields |
|---|---|
| Family | parentAsin, asin, isInputProduct, hasVariations, position, totalVariations |
| Attributes | attributes, attributeText |
| Price | price, listPrice, discountPercent |
| Availability | inStock, availabilityText |
| Rating and look | stars, reviewsCount, thumbnailImage, title, brand |
| Seller | soldBy, sellerId |
| Context | url, inputUrl, domain, loadedCountryCode, detailsFetched, scrapedAt |

The fields that need a closer look:

| Field | Meaning |
|---|---|
| isInputProduct | true for the variant that matches the link or ASIN you entered |
| position | place in the family, starting with your input product at 1 |
| totalVariations | size of the whole family, even when filters hide some variants |
| attributes | object such as `{"Style": "Old Version", "Size": "64GB"}` |
| attributeText | the same attributes as one line of text |
| detailsFetched | true when the variant page was opened for price and stock |
| inputUrl | the exact link or ASIN you gave for this family |

### 🚀 How to Use Amazon Product Variations Scraper

You can start Amazon Product Variations Scraper in a few clicks.

1. Open Amazon Product Variations Scraper on Apify and go to the Input tab.
2. Paste one or more product URLs or ASINs into **Product URLs or ASINs**. Amazon Product Variations Scraper accepts both in the same list.
3. Choose the **Amazon marketplace** used for plain ASINs.
4. Set **Maximum number of variants**, and optionally attribute, price or stock filters.
5. Press Start and wait while Amazon Product Variations Scraper fills the dataset with variant records.
6. Export the table as JSON, CSV or Excel, or fetch it through the Apify API.

#### 🧪 Example run: a 13-variant memory card

Paste `https://www.amazon.com/dp/B09X7MPX8L`, a 1TB memory card, and leave every other field on its default. Amazon Product Variations Scraper reads the product page, finds the parent ASIN and learns that the family has 13 variants in two styles and several capacities. The default limit of 15 is enough for all of them.

Amazon Product Variations Scraper then opens each variant page and saves 13 records. Your 1TB card is position 1 with `isInputProduct` set to true, and the other 12 follow in the order Amazon lists them, each with its own price, stock text and rating.

### 🧩 How to Scrape All Size and Color Variants of an Amazon Product With Amazon Product Variations Scraper

To scrape all variants of an Amazon product, open any Amazon listing in your browser, copy the link, and paste it into the input. The product page publishes the complete variation family, so Amazon Product Variations Scraper finds every sibling ASIN from a single entry point.

Variants are processed in the order Amazon lists them. A family can hold hundreds of variants, so set **Maximum number of variants** to the number you really need.

#### 🎯 How to keep only certain colors or sizes

Use **Attribute filters** with an object such as `{"Color": ["Black", "Blue"], "Size": ["M"]}`. Matching is not case-sensitive, and variants that do not match are never opened, which saves time.

### 🔄 How Amazon Product Variations Scraper Works

Amazon Product Variations Scraper follows the same path a shopper would, but for every option at once.

1. It loads the product page you entered and reads the variation family published there.
2. It lists the parent ASIN, every variant ASIN and the attribute values of each variant.
3. It applies your attribute filters, so unwanted variants are skipped before any extra page is opened.
4. It opens each remaining variant page for price, availability, rating, image and seller, unless you chose attributes-only mode.
5. It saves one record per variant and stops at your maximum.

| What you get | Full mode | Attributes-only mode |
|---|---|---|
| Variant ASINs and attributes | Yes | Yes |
| Price, stock, rating and image | Every variant | Only the product you entered |
| Speed | Slower, one page per variant | Fast |

### ❓ Can You Use Amazon Product Variations Scraper With Child ASINs, Filters and Fast Mode?

Yes. These are the questions people ask most about Amazon Product Variations Scraper.

- **Can I start from a child ASIN?** Yes. Any variant of the family leads to the same parent and the same list.
- **Can I scrape several products at once?** Yes. Add many URLs or ASINs, and limit each with *Maximum variants per product*.
- **Can I skip the variant pages?** Yes. Switch off *Open every variant page* for a fast attributes-only list.
- **Can I filter by price or stock?** Yes, but those filters need each variant's own page, so the Actor opens them automatically.
- **Can I scrape other marketplaces?** Yes. A URL keeps its own Amazon domain, and bare ASINs use the selected one.

### 🌟 Why Use Amazon Product Variations Scraper?

Comparing variants by hand is slow, and an Amazon product page only shows the option you have selected. Amazon Product Variations Scraper puts the whole family in one table.

- Spot price gaps between sizes or colors of the same product with Amazon Product Variations Scraper.
- See which variants are out of stock.
- Compare ratings and review counts per variant.
- Keep parent and child ASINs together for catalog work.

> 🎯 **Why Use box:** whole family in one table | per-variant price, stock and rating | filters before saving | scheduling and API access through Apify

### 💡 Amazon Product Variations Scraper Use Cases

Amazon Product Variations Scraper helps with many catalog and pricing tasks.

- Audit your own variation family for missing sizes or wrong attributes with Amazon Product Variations Scraper.
- Compare competitor variants, prices and discounts side by side.
- Find the cheapest in-stock variant of a product.
- Map parent and child ASINs before importing them into a repricing tool.
- Track variant availability over time with a scheduled run.
- Build size and color matrices for market research.
- Check how a product's variant count differs between Amazon marketplaces.
- Feed variant data into spreadsheets, dashboards and listing tools.

### 📥 Amazon Product Variations Scraper Input

Only the product list is required in Amazon Product Variations Scraper. Every other field has a default or can stay empty.

| Field | Type | Default | Purpose |
|---|---|---|---|
| productUrls | array | sample link | Product URLs or ASINs, parent or variant |
| marketplace | select | amazon.com | Domain used for plain ASINs |
| deliveryZip | string | empty | US ZIP code, amazon.com only |
| maxItems | integer | 15 | Maximum variant records in the run |
| maxItemsPerProduct | integer | empty | Cap per input product |
| attributeFilters | object | empty | Keep only matching attribute values |
| onlyInStock | boolean | false | Keep available variants only |
| minPrice | number | empty | Lowest price to keep |
| maxPrice | number | empty | Highest price to keep |
| fetchVariantDetails | boolean | true | Open every variant page |
| maxConcurrency | integer | 3 | Parallel items, 1 to 10 |

#### 🧾 Input JSON example

```json
{
  "productUrls": ["https://www.amazon.com/dp/B09X7MPX8L"],
  "marketplace": "amazon.com",
  "deliveryZip": "10001",
  "maxItems": 30,
  "maxItemsPerProduct": 20,
  "attributeFilters": { "Size": ["256GB", "512GB"] },
  "onlyInStock": true,
  "minPrice": 20,
  "maxPrice": 200,
  "fetchVariantDetails": true,
  "maxConcurrency": 3
}
```

> ⚠️ **Input notes:** price and stock filters need the variant pages, so *Open every variant page* is switched on for you. Prices and stock also depend on the delivery location.

### 📤 Amazon Product Variations Scraper Output

Amazon Product Variations Scraper saves one dataset record per variant of the Amazon product. The dataset has two views: a variants overview with attributes, price, stock and rating, and a variation family view with parent ASIN, position, seller and scrape details.

- `attributes` is an object, and `attributeText` is the same data as one readable line.
- `isInputProduct` marks the variant that matches your input.
- `position` follows the order in which Amazon lists the variants.
- `detailsFetched` tells you whether the variant page was opened.
- Price fields are objects with `value`, `currency` and `formatted`.

#### 📦 Output JSON example (variant record)

```json
{
  "asin": "B09X7C7LL1",
  "url": "https://www.amazon.com/dp/B09X7C7LL1",
  "parentAsin": "B0GRW417Q5",
  "isInputProduct": false,
  "hasVariations": true,
  "position": 4,
  "totalVariations": 13,
  "attributes": { "Style": "Old Version", "Size": "64GB" },
  "attributeText": "Style: Old Version, Size: 64GB",
  "title": "SANDISK 64GB Extreme microSD Card + Adapter, Up to 170MB/s Read Speeds",
  "brand": "SANDISK",
  "price": { "value": 32.77, "currency": "USD", "formatted": "$32.77" },
  "listPrice": { "value": 43.99, "currency": "USD", "formatted": "$43.99" },
  "discountPercent": 26,
  "inStock": true,
  "availabilityText": "In Stock",
  "stars": 4.8,
  "reviewsCount": 150585,
  "thumbnailImage": "https://m.media-amazon.com/images/I/71PYMjzwsVL._AC_SL1500_.jpg",
  "soldBy": "Example Seller LLC",
  "sellerId": "ASELLERID12345",
  "detailsFetched": true,
  "inputUrl": "https://www.amazon.com/dp/B09X7MPX8L",
  "domain": "amazon.com",
  "loadedCountryCode": "US",
  "scrapedAt": "2026-11-12T14:06:02Z"
}
```

#### ⚡ Output JSON example (attributes-only variant)

```json
{
  "asin": "B0G8M2FH2G",
  "url": "https://www.amazon.com/dp/B0G8M2FH2G",
  "parentAsin": "B0GRW417Q5",
  "isInputProduct": false,
  "hasVariations": true,
  "position": 2,
  "totalVariations": 13,
  "attributes": { "Style": "New Version", "Size": "256GB" },
  "attributeText": "Style: New Version, Size: 256GB",
  "title": null,
  "price": null,
  "inStock": null,
  "detailsFetched": false,
  "inputUrl": "https://www.amazon.com/dp/B09X7MPX8L",
  "domain": "amazon.com"
}
```

#### 🧱 Output JSON example (product without variations)

```json
{
  "asin": "B0EXAMPLE1",
  "url": "https://www.amazon.com/dp/B0EXAMPLE1",
  "parentAsin": null,
  "isInputProduct": true,
  "hasVariations": false,
  "position": 1,
  "totalVariations": 1,
  "attributes": {},
  "attributeText": null,
  "title": "Example Brand Desk Lamp",
  "price": { "value": 24.99, "currency": "USD", "formatted": "$24.99" },
  "inStock": true,
  "detailsFetched": true,
  "domain": "amazon.com"
}
```

#### 🔧 Two more input combinations

Fast attributes-only list for several products on the German marketplace:

```json
{
  "productUrls": ["B09X7MPX8L", "B0CG1LGWR6"],
  "marketplace": "amazon.de",
  "maxItems": 60,
  "maxItemsPerProduct": 30,
  "fetchVariantDetails": false
}
```

Black or blue variants that are in stock and cost at most 50:

```json
{
  "productUrls": ["https://www.amazon.co.uk/dp/B0CG1LGWR6"],
  "attributeFilters": { "Color": ["Black", "Blue"] },
  "onlyInStock": true,
  "maxPrice": 50,
  "maxItems": 25
}
```

### 💰 Amazon Product Variations Scraper Pricing

> 💵 **Pricing:** $1.49 per 1,000 results, pay per result. One result is one variant record, so a 13-variant product costs about two cents.

Amazon Product Variations Scraper charges only for the records it saves. Every variant record counts as one result, including attributes-only records and the single record of a product without variants. **Maximum number of variants** caps the number of results, so you stay in control of the cost. Standard Apify platform plans and limits apply.

### ✅ Tips and Best Practices

- Test Amazon Product Variations Scraper with one product first, then add more products and raise the limit.
- Use *Maximum variants per product* to share the limit fairly across several products.
- Switch to attributes-only mode when you only need the list of variant ASINs.
- Attribute names are the ones Amazon shows for that product, for example Color, Size or Style, so check the product page before writing a filter.
- The seller ID can be empty when Amazon itself sells the variant.
- Attribute filters also apply to the product you entered, so a link to a Red variant with a Blue filter saves no Red record.
- A very large family may stop after a few minutes with the results collected so far.

> 📝 **Important:** results reflect what Amazon shows publicly to signed-out visitors, and stock text changes quickly. The delivery ZIP option works on amazon.com only.

### 🧯 Troubleshooting and Data Quality

Most questions about Amazon Product Variations Scraper come down to a few cases.

- **Fewer records than `totalVariations`:** your limit, an attribute filter or a price or stock filter removed some variants. `position` keeps the original place in the family, so gaps in the numbers are normal.
- **A variant has no price:** Amazon shows no featured offer for it, or it cannot ship to the chosen location. The record is still saved with `detailsFetched` set to true.
- **My filter returns nothing:** attribute names and values must match what the product page shows, such as `Size` and `64GB`, not a translated label from another marketplace.
- **Same rating on many variants:** Amazon often groups reviews at family level, so several variants share one rating and review count.
- **A variant page cannot be opened on Amazon:** the record is saved with attributes only and `detailsFetched` set to false.

### 🔗 Scheduling, Export and Integrations

Amazon Product Variations Scraper runs like any Apify Actor, so you can automate it without writing code.

- Create an Apify schedule to run Amazon Product Variations Scraper daily and watch price or stock changes per variant on Amazon.
- Add a webhook to trigger a spreadsheet update or a notification when a run of Amazon Product Variations Scraper ends.
- Export the dataset as JSON, CSV, Excel, XML or HTML.
- Start runs and read results from your own code through the Apify API.

### 🧭 Which Amazon Actor Should You Use?

- Use Amazon Product Variations Scraper when you need one row per size, color or style of an Amazon product.
- Use Amazon Product Scraper for full product records, specifications and A+ content.
- Use Amazon Product Images Scraper for variant image galleries.
- Use Amazon Price Tracker to compare prices between runs and get alerts.

### ❓ Frequently Asked Questions

#### 🔎 What data does Amazon Product Variations Scraper return?

It returns attributes, price, list price, discount, stock text, rating, review count, image and seller for each variant of a product. Amazon Product Variations Scraper also adds the parent ASIN and the position of the variant.

#### 🔎 How do I get all variant ASINs of an Amazon product?

Paste any product URL or ASIN into Amazon Product Variations Scraper. Each variant ASIN appears in its own record with the shared parent ASIN.

#### 🔎 What happens if an Amazon product has no variations?

Amazon Product Variations Scraper returns one record for the product itself with `hasVariations` set to false.

#### 🔎 How many variants can Amazon Product Variations Scraper collect from one product?

Amazon Product Variations Scraper collects as many as you allow with **Maximum number of variants**. The default is 15, and a family can hold hundreds of variants.

#### 🔎 How is Amazon Product Variations Scraper different from a normal Amazon product scraper?

A normal product scraper returns one record per product. Amazon Product Variations Scraper returns one record per variant, each with its own attributes, price and stock.

#### 🔎 Can I use Amazon Product Variations Scraper to compare variant prices?

Yes. Export the Amazon Product Variations Scraper dataset to Excel and sort by price, or filter by attribute before saving.

#### 🔎 Why are some variant fields empty in Amazon Product Variations Scraper results?

Amazon does not show every value for every variant, and attributes-only mode of Amazon Product Variations Scraper leaves price and stock empty.

#### 🔎 Does Amazon Product Variations Scraper need a login?

No. Amazon Product Variations Scraper reads public product pages and needs no Amazon account.

#### 🔎 Can Amazon Product Variations Scraper scrape variants on amazon.de or amazon.co.uk?

Yes. Use a product link from that Amazon domain, or enter ASINs and select the marketplace. Amazon Product Variations Scraper takes attribute names from the page, so they may appear in the language of that marketplace.

#### 🔎 Does Amazon Product Variations Scraper save the same variant twice?

No. Amazon Product Variations Scraper saves a variant once, even when two inputs, for example two sibling ASINs, lead to the same family.

### 🆘 Support

Questions, bug reports or feature ideas for Amazon Product Variations Scraper are welcome. Send an example input and a short description of the result you expected.

- contact me by email : alphascraper69@gmail.com

# Actor input Schema

## `productUrls` (type: `array`):

Amazon product URLs or ASINs (parent or any variant).

## `marketplace` (type: `string`):

Marketplace used for plain ASINs. A product URL keeps its own marketplace.

## `deliveryZip` (type: `string`):

US ZIP code (5 digits) for amazon.com, chosen the way a visitor does with the 'Deliver to' link before scraping: prices, currency and availability depend on the delivery location. Leave empty to keep the location Amazon assigns to your network. Ignored, with a warning, on other marketplaces.

## `maxItems` (type: `integer`):

Maximum number of variant records in the whole run (one product family can hold hundreds of variants).

## `maxItemsPerProduct` (type: `integer`):

Optional cap per input product, to spread the total evenly over several products.

## `attributeFilters` (type: `object`):

Keep only variants with these attribute values, for example {"Color": \["Black", "Blue"], "Size": \["M"]}. Attribute names are the ones Amazon shows for the product.

## `onlyInStock` (type: `boolean`):

Keep only variants that are currently available.

## `minPrice` (type: `number`):

Keep only items priced at or above this value, in the marketplace's currency.

## `maxPrice` (type: `number`):

Keep only items priced at or below this value, in the marketplace's currency.

## `fetchVariantDetails` (type: `boolean`):

Open each variant's own page for price, list price, availability, rating, image and seller (one page load per variant, slower).

## `maxConcurrency` (type: `integer`):

How many input items (keywords, URLs, ASINs, profiles ...) are processed at the same time, each in its own browser. A higher value finishes faster but needs more memory (about 600 MB per browser - the run never starts more browsers than its memory allows) and sends more simultaneous requests to Amazon; 2 to 5 is a good range.

## Actor input object example

```json
{
  "productUrls": [
    "B09X7MPX8L"
  ],
  "marketplace": "amazon.com",
  "deliveryZip": "10001",
  "maxItems": 15,
  "attributeFilters": {
    "Color": [
      "Black",
      "Blue"
    ]
  },
  "onlyInStock": false,
  "fetchVariantDetails": true,
  "maxConcurrency": 3
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "productUrls": [
        "https://www.amazon.com/dp/B09X7MPX8L"
    ],
    "attributeFilters": {}
};

// Run the Actor and wait for it to finish
const run = await client.actor("phone_number_scraper/amazon-product-variations-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "productUrls": ["https://www.amazon.com/dp/B09X7MPX8L"],
    "attributeFilters": {},
}

# Run the Actor and wait for it to finish
run = client.actor("phone_number_scraper/amazon-product-variations-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "productUrls": [
    "https://www.amazon.com/dp/B09X7MPX8L"
  ],
  "attributeFilters": {}
}' |
apify call phone_number_scraper/amazon-product-variations-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,phone_number_scraper/amazon-product-variations-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/DiqjIIhB57OzlRYOd/builds/pzQlbECkiD43YOfYZ/openapi.json
