# Shopify Products Scraper - Prices, Variants, Stock & SKUs (`scrolahdata/shopify-products-scraper`) Actor

Shopify store scraper for all products: prices and compare-at discounts (Shopify price tracker), variants and SKUs, Shopify inventory / stock availability, images, tags, vendor. Collections, per-variant output. No API key. Shopify variants export.

- **URL**: https://apify.com/scrolahdata/shopify-products-scraper.md
- **Developed by:** [Leping Gong](https://apify.com/scrolahdata) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 1,000 products

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

## Shopify Products Scraper — Prices, Variants, Stock & SKUs

Scrape **all products of any Shopify store** — prices, compare-at prices and **discounts**, **variants (size/color) with SKUs**, **in-stock flags**, images, tags, vendor and product type. Works with whole stores, **collections** and single **product URLs**. No browser, no API key, no login.

### Why this scraper?

- 🛒 **Any Shopify store** — custom domains like `allbirds.com`, `kith.com`, `gymshark.com`
- 🏷️ **Discount detection** — `onSale` and `discountPercent` from compare-at prices
- 📦 **Per-variant mode** — one row per size/color with SKU, price and availability: perfect for **price & stock monitoring**
- 🔎 Filters: **keywords**, **only in-stock**, **only on sale**
- 🏪 **Store info** — name, country, city, currency, myshopify domain, published product count
- ⚡ Fast & cheap — up to 250 products per request, **$0.50 per 1,000 products**, no start fee
- 💸 Stores that block bots or are not Shopify return a free error row — you only pay for products

### Input

```json
{
  "stores": ["www.allbirds.com", "https://kith.com/collections/footwear", "https://www.allbirds.com/products/mens-tree-runners"],
  "maxProductsPerStore": 1000,
  "outputMode": "products",
  "onlyOnSale": true,
  "keywords": ["runner"]
}
```

### Output

```json
{
  "type": "product",
  "store": "https://www.allbirds.com",
  "storeName": "Allbirds",
  "currency": "USD",
  "productId": 4870548979792,
  "title": "Men's Tree Runner - Jet Black (White Sole)",
  "url": "https://www.allbirds.com/products/mens-tree-runners",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "price": 70.0,
  "priceMax": 70.0,
  "compareAtPrice": 100.0,
  "onSale": true,
  "discountPercent": 30.0,
  "available": true,
  "variantsCount": 7,
  "variantsAvailable": 5,
  "options": [{"name": "Size", "values": ["8", "9", "10", "11", "12", "13", "14"]}],
  "variants": [{"variantId": 33179624669264, "title": "8", "sku": "TR3MJBW080", "price": 70.0, "compareAtPrice": 100.0, "available": true}],
  "image": "https://cdn.shopify.com/s/files/1/1104/4168/files/TR3MJBW080_SHOE_LEFT.png",
  "description": "The Allbirds Tree Runner is a breathable and lightweight sneaker...",
  "createdAt": "2021-01-29T13:57:15-08:00",
  "updatedAt": "2026-11-13T23:56:15-08:00"
}
```

In **variant mode** each row is one variant (`sku`, `variantTitle`, `option1..3`, `price`, `available`) with the product fields repeated.

### Use cases

- **Competitor price monitoring** — schedule daily runs, compare prices and discounts
- **Stock / restock alerts** — per-variant availability by SKU
- **Dropshipping & product research** — full catalogs with images and tags
- **E-commerce lead generation & market research** — store country, currency, catalog size
- **AI / RAG catalogs** — clean product text for LLMs

### Limits

Uses the public Shopify storefront data. A few stores disable it or block bots — they return an error row (not charged). Exact inventory quantities are not public; you get in-stock flags.

### Pricing

- **Product** — per product row (or per variant row in variant mode)
- **Store info** — per store row

Discounts for Apify Silver, Gold and higher plans.

### How to use Shopify Products Scraper

1. Click **Try for free** (the Apify free plan includes monthly credit).
2. Fill in the input — the example input is already pre-filled, so you can just press **Start**.
3. Download results as **JSON, CSV, Excel or HTML**, or open them in the dataset table view.

### Integrations & API

- **API** — run it from Python, Node.js or any language with the Apify API / `apify-client` and get results as JSON.
- **Schedules & monitoring** — run it hourly, daily or weekly and get only fresh data.
- **Zapier, Make, n8n, Google Sheets, Slack, webhooks** — send results to your tools automatically.
- **AI agents (MCP)** — use it from Claude, ChatGPT, Cursor or any MCP client through the Apify MCP server.

### FAQ

**Do I need an API key, login or cookies?** No. It reads publicly available data only.

**How much does it cost?** You pay only for results (see the Pricing tab), no start fee. Error rows are free. Higher Apify plans get automatic discounts.

**Is it legal?** It collects public data only. Make sure your use complies with the website's terms and data-protection laws (e.g. GDPR) — don't collect personal data without a legal basis.

**Something doesn't work or you need a feature?** Open an issue in the **Issues** tab — we usually reply within a day.

### More from ScrolahData

- [Website Contact Scraper](https://apify.com/scrolahdata/website-contact-scraper)
- [App Store & Google Play Reviews Scraper](https://apify.com/scrolahdata/app-store-reviews-scraper)
- [Website Screenshot Generator](https://apify.com/scrolahdata/website-screenshot-generator)
- [Substack Scraper](https://apify.com/scrolahdata/substack-scraper)

# Actor input Schema

## `stores` (type: `array`):

Store domains (allbirds.com), collection URLs (.../collections/mens) or product URLs (.../products/handle).

## `maxProductsPerStore` (type: `integer`):

Per store or collection. Large stores have 10,000+ products.

## `outputMode` (type: `string`):

Per-variant rows are best for price/stock monitoring by SKU. Each row is charged as one product.

## `keywords` (type: `array`):

Optional. Keep only products whose title, vendor, type or tags contain any keyword.

## `onlyAvailable` (type: `boolean`):

Skip sold-out products (and sold-out variants in variant mode).

## `onlyOnSale` (type: `boolean`):

Keep only products with a compare-at price above the price (discounted).

## `includeStoreInfo` (type: `boolean`):

One row per store: name, country, currency, myshopify domain, product count.

## `includeHtml` (type: `boolean`):

Add raw description HTML in addition to plain text.

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

Stores scraped in parallel.

## `proxyConfiguration` (type: `object`):

Apify Proxy recommended.

## Actor input object example

```json
{
  "stores": [
    "www.allbirds.com",
    "kith.com/collections/footwear"
  ],
  "maxProductsPerStore": 1000,
  "outputMode": "products",
  "onlyAvailable": false,
  "onlyOnSale": false,
  "includeStoreInfo": true,
  "includeHtml": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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 = {
    "stores": [
        "www.allbirds.com",
        "kith.com/collections/footwear"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrolahdata/shopify-products-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 = {
    "stores": [
        "www.allbirds.com",
        "kith.com/collections/footwear",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrolahdata/shopify-products-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 '{
  "stores": [
    "www.allbirds.com",
    "kith.com/collections/footwear"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrolahdata/shopify-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrolahdata/shopify-products-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/QoJJvlWyHwobTt19t/builds/t92sw9BK27ztaKyqn/openapi.json
