# Shopify Products Scraper · Prices, Stock & Changes · $1/1k (`leoworks/shopify-products-scraper`) Actor

Scrape any public Shopify store: all products and variants with prices in decimals plus currency, stock, SKUs, images and tags. From the second run it marks new, changed and removed products. No login, no API key. $1 per 1,000 products.

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

## Pricing

$1.00 / 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.

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

**Scrape any public Shopify store — paste a domain, a collection URL or a product URL.** This Actor reads the store's public product catalog and gives you every product with its variants: prices as decimals with the store's **currency**, compare-at (sale) price, availability, SKU, options, images, tags, vendor, type and dates. Optional: **stock counts and barcodes** where the store publishes them. It costs **$1 per 1,000 products** (variants included, no start fee), and the free $5 monthly Apify credit covers about **5,000 products**. No login, no API key, no browser.

**And from the second run: what changed.** Each product is marked `new`, `changed` (price, sale price, sold out, back in stock, variants added or removed) or `unchanged`, and products that disappeared come back as `removed` rows. Schedule it daily to watch competitors' prices and stock — with **Only output new and changed products**, unchanged products are skipped and not charged.

### Why use it

- **E-commerce and DTC brands** — track competitors' prices, discounts, new launches and stock-outs every day.
- **Dropshippers and resellers** — pull a supplier's full catalog with SKUs, variants and prices into a sheet or your own store.
- **Market and pricing analysts** — compare price ranges, sale depth and assortment across many Shopify stores.
- **Agencies** — audit a client's catalog: missing SKUs, products without images, out-of-stock variants.
- **Developers and AI agents** — clean JSON through the API or MCP, one call per store, no HTML parsing.

### Performance at a glance

| | Result (measured 2026-11-18) |
|---|---|
| Access | **10 of 10** public Shopify stores answered without a proxy (stores selling in USD and EUR) |
| Depth | 250 products per request; **10,000 products** read from each of two large stores (40 pages, no duplicates, no limit reached) |
| Speed | **10,419 products in 46 seconds** from one large store (whole catalog, 1 GB memory); requests are paced to about two per second so stores are not overloaded |
| Stock counts | published by **4 of 10** stores (shown only when **Stock counts and barcodes** is on) |
| Cost | **$1 per 1,000 products**, no start fee; error rows, removed-product rows and skipped unchanged products are free |

### Compliance and privacy

- **Public catalog data only.** The Actor reads the product catalog every Shopify storefront serves publicly (`/products.json`, `/collections/{handle}/products.json`, `/products/{handle}.json`, `/meta.json`). No login, cookies, customer accounts, carts or checkout pages are touched, and no CAPTCHA or block is worked around: if a store refuses, it is reported as failed in `SUMMARY`.
- **No personal data.** Products, prices and stock only — no customer, order or reviewer data.
- **Polite by default.** One honest User-Agent, about two requests per second in total, pauses and retries on HTTP 429.
- **What is kept.** With **Mark what changed** on, a compact snapshot (product and variant ids, prices, availability, stock count — no titles or texts) is saved in a key-value store in **your own** Apify account. Turn it off and nothing is kept.
- Store owners' terms apply to how you use the data. **You stay responsible for the use.** This is not legal advice.

### What can the Shopify Products Scraper do?

- **Whole catalog, one collection or one product** — a domain reads everything; a collection URL reads only that collection; a product URL reads one product
- **Many stores in one run** — each row has `store`, and `SUMMARY` reports each store's status, product count and currency
- **Prices you can use** — decimals (`24.99`, not `2499`) plus `currency` from the store itself; min/max price per product, compare-at price and an `onSale` flag
- **Variants** — price, compare-at price, availability, SKU, options and image per variant; nested, or **one row per variant** for spreadsheets (still billed per product)
- **Stock counts and barcodes (optional)** — exact stock per variant when the store publishes it, barcode (GTIN/EAN/UPC), weight, inventory policy; `inventoryPublished` tells you whether the count is real
- **Changes since the last run** — new, changed, unchanged, removed; price change per variant, sold out / back in stock
- **Only new and changed** — daily monitoring that charges only for products that changed
- **Clear failures** — password-protected stores, non-Shopify sites and blocked requests are reported per store (free), the rest of the run continues

**Use it to:** watch competitors' prices and stock daily · find new launches the day they appear · export a supplier's catalog with SKUs · compare discount depth across stores · feed product data to a sheet, dashboard or AI agent.

**Works from Claude, Cursor or Claude Code** — add it as a tool through the Apify MCP server and ask in plain language (setup below).

### How to scrape a Shopify store

1. Put one or more stores in **Stores**: `kith.com`, `https://www.allbirds.com/collections/mens` or a product URL.
2. Set **Max products per store** (0 = whole catalog; it also caps the cost).
3. Run it. Download the table as CSV, Excel or JSON, or read it through the API.
4. Run it again (or schedule it): the `changes` column shows what moved.

#### Is it a Shopify store?

Most Shopify stores use their own domain. If a site is not on Shopify, or hides its catalog, the row says so (`not_shopify`, `password`) and nothing is charged.

### Pricing

| Event | Price | When |
|---|---|---|
| `product` | $0.001 ($1.00 per 1,000) | One Shopify product saved (all its variants included, also in one-row-per-variant mode). Removed-product rows, errors and products skipped as unchanged are free. |

#### How much does it cost to scrape a Shopify store?

| Products | Cost |
|---|---|
| 100 | $0.10 |
| 1,000 | $1.00 |
| 10,000 | $10.00 |
| 100,000 | $100.00 |

No start fee. With the free $5 monthly Apify credit you can scrape about **5,000 products**.

Platform usage (compute) is included in the event price. **Max total charge** on the run stops it cleanly at your limit.

### Input and output examples

#### Input example

```json
{
  "stores": ["deathwishcoffee.com", "https://www.allbirds.com/collections/mens"],
  "maxProductsPerStore": 500,
  "outputMode": "product",
  "includeInventory": false,
  "trackChanges": true,
  "onlyChanges": false
}
```

#### Output sample (one product, second run)

```json
{
  "status": "ok",
  "store": "deathwishcoffee.com",
  "storeName": "Death Wish Coffee",
  "currency": "USD",
  "productId": 171104582,
  "handle": "valhalla-java-single-serve-pods",
  "url": "https://deathwishcoffee.com/products/valhalla-java-single-serve-pods",
  "title": "Valhalla Java Single-Serve Pods",
  "vendor": "Death Wish Coffee Company",
  "productType": "Coffee",
  "tags": ["Single Serve", "Subscription", "Valhalla Java", "…"],
  "priceMin": 14.99,
  "priceMax": 59.99,
  "compareAtPriceMax": null,
  "onSale": false,
  "available": true,
  "variantCount": 3,
  "variantsAvailable": 3,
  "variants": [
    { "variantId": 392715452, "title": "10 count", "sku": "5094SSC", "price": 14.99, "compareAtPrice": null, "available": true, "option1": "10 count" },
    "…"
  ],
  "imageUrl": "https://cdn.shopify.com/…",
  "description": "…",
  "createdAt": "2013-11-04T13:44:10-05:00", "publishedAt": "2021-02-12T12:07:04-05:00", "updatedAt": "2026-11-17T10:28:43-05:00",
  "changes": {
    "status": "changed",
    "priceMinBefore": 13.99,
    "priceMinChange": 1,
    "variantPriceChanges": [{ "variantId": 392715452, "title": "10 count", "priceBefore": 13.99, "price": 14.99, "change": 1 }]
  },
  "checkedAt": "2026-11-18T00:00:00.000Z"
}
```

Product values from a real run (2026-11-18), shortened with `…`. The `changes` block shows what a price rise from 13.99 to 14.99 looks like. On the first run `changes` is `null`; it fills from the second run on.

#### Output columns

| Field | Meaning |
|---|---|
| `status` | `ok`, `removed` (was in the last run, gone now; free) or `error` (store failed; free) |
| `store`, `storeName`, `currency` | Store domain, its name and currency from the store itself |
| `priceMin`, `priceMax`, `compareAtPriceMax`, `onSale` | Price range of the variants, highest compare-at price above the price, sale flag |
| `available`, `variantsAvailable`, `variantCount` | Any variant in stock, how many, of how many |
| `inventoryQuantity`, `inventoryPublished` | With **Stock counts**: total stock when every variant publishes a count; whether the store publishes counts |
| `variants[]` | `variantId`, `title`, `sku`, `price`, `compareAtPrice`, `available`, `option1–3`, `grams`, `imageUrl` (+ `barcode`, `inventoryQuantity`, `inventoryPolicy`, `weight`, `weightUnit` with **Stock counts**) |
| `changes` | `null` (first run), or `status` `new` / `changed` / `unchanged` / `removed` with the details that changed. `first_seen` = not in the last run, but the last run stopped at **Max products per store**, so it may not be new |
| `tags`, `vendor`, `productType`, `options`, `images`, `description`, `createdAt`, `publishedAt`, `updatedAt` | Catalog fields as the store publishes them (description as plain text, up to 5,000 characters) |

In **one row per variant** mode the variant fields are flattened into `variantPrice`, `variantSku`, `variantAvailable` and so on.

### API, MCP and integrations

#### Works with

Google Sheets, Excel and CSV export, Make, n8n, Zapier, webhooks and the Apify API — any tool that reads an Apify dataset.

#### Call it from code

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('leoworks/shopify-products-scraper').call({ stores: ['deathwishcoffee.com'], maxProductsPerStore: 500 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, items[0].title, items[0].priceMin, items[0].currency);
```

#### Use with Claude, Cursor or Claude Code (MCP)

Add the Apify MCP server (`https://mcp.apify.com`) with this Actor as a tool, then ask: "List the products of kith.com that went on sale since yesterday."

### Accuracy and limits

- **Public catalog only.** Draft, hidden, wholesale-only and password-protected products are not in a store's public catalog, so they are not returned.
- **Stock counts depend on the store.** Many stores hide them; then `inventoryQuantity` is `null` and only `available` (in stock yes/no) is known.
- **Currency is the store's default.** Stores that sell in several currencies (Shopify Markets) answer in their default one.
- **Headless or non-Shopify stores** (a custom front end, WooCommerce, Magento) have no public Shopify catalog; they are reported as `not_shopify`.
- **New and removed products need whole reads.** `new` needs the last run to have read the whole catalog or collection (otherwise `first_seen`); `removed` needs this run to have read it all.
- **Stock counts are slower.** **Stock counts and barcodes** adds one request per product at about two requests per second, so one run of the default 1-hour timeout reads about 7,000 products in this mode. Raise the run timeout, or lower **Max products per store**, for bigger catalogs.
- **Changes compare runs with the same History store name and the same store or collection input.**

### Run it on a schedule

Daily is the usual rhythm for price and stock monitoring: save a task with your competitors' stores, turn on **Only output new and changed products**, and add an [Apify Schedule](https://docs.apify.com/platform/schedules). Each run then returns only what changed, and costs only for those products.

### More Actors from Leoworks

- [AliExpress Search Scraper](https://apify.com/leoworks/aliexpress-search-scraper) — products, prices and sales from AliExpress search.
- [AliExpress Reviews Scraper](https://apify.com/leoworks/aliexpress-reviews-classifier) — product reviews with complaint types and photos.
- [App Store & Google Play Reviews Scraper](https://apify.com/leoworks/app-review-scraper) — app reviews from both stores.

### FAQ and support

#### Do I need a Shopify API key or the store owner's permission?

No key: the Actor reads the public catalog that the storefront itself serves to every visitor. How you use the data is your responsibility; check the store's terms.

#### How is this different from other Shopify scrapers?

It returns prices as decimals with the currency, bills per product even in one-row-per-variant mode, has no start fee, does not force a residential proxy, and marks what changed since the last run so you can monitor stores daily.

#### How do I scrape only one collection?

Paste the collection URL, for example `https://www.allbirds.com/collections/mens`.

#### How do I export a Shopify store's products to CSV or Excel?

Run it, open the **Output** tab and choose CSV or Excel. For one line per size or colour, set **Output** to one row per variant.

#### Can I get the exact stock of each variant?

Turn on **Stock counts and barcodes**. You get the count when the store publishes it (4 of 10 stores in our test); otherwise `inventoryPublished` is `false`.

#### What if a store blocks the requests?

That store is reported as failed in `SUMMARY` (free) and the other stores continue. You can try again later or turn on Apify Proxy in **Proxy**. No CAPTCHA or block is worked around.

#### Disclaimer

Not affiliated with, endorsed by or sponsored by Shopify Inc. Shopify is a trademark of Shopify Inc.; the name is used only to describe the data source.

#### Reviews and support

Questions or a store that does not work? Open an issue on the Actor's **Issues** tab with the run link. If this Actor saved you time, a short review on Apify Store helps others find it.

### Changelog

See the Actor's **Versions** tab. Latest: 0.1 — first release (catalog, collections, products, variants, currency, optional stock counts and barcodes, changes since the last run).

# Actor input Schema

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

One per line: a Shopify store domain (<code>kith.com</code>), a store URL, a collection URL (<code>…/collections/sale</code>) or a product URL (<code>…/products/handle</code>). A domain reads the whole public catalog.

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

Stop each store or collection after this many products. 0 = the whole catalog. Each product is one billed result, so this also caps the cost.

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

One row per product (variants nested in <code>variants</code>) or one row per variant (product fields repeated). Billed per product either way.

## `includeInventory` (type: `boolean`):

Reads each product's own page data to add the stock count per variant, barcode (GTIN/EAN/UPC), weight and inventory policy. <b>Stock counts appear only when the store publishes them</b> (4 of 10 stores in our test); otherwise <code>inventoryQuantity</code> is null and <code>inventoryPublished</code> is false. One extra request per product, no extra charge.

## `trackChanges` (type: `boolean`):

Keeps a compact snapshot (ids, prices, availability, stock count) in a key-value store in your own Apify account. From the second run, each product gets <code>changes</code>: new, changed (price, sale price, variants added or removed, sold out, back in stock) or unchanged, and products that disappeared are listed as <code>removed</code> rows (free).

## `onlyChanges` (type: `boolean`):

From the second run, skip unchanged products — they are not saved and not charged. Good for daily price and stock monitoring. The first run still outputs everything.

## `historyStoreName` (type: `string`):

Name of the key-value store in your account that keeps the snapshots. Use different names to keep separate histories for separate tasks.

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

Not needed for most stores (10 of 10 public stores answered without a proxy in our test). Turn on Apify Proxy only if a store refuses requests.

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

Stores read at the same time. Requests are paced to about two per second in total either way.

## `healthCheck` (type: `boolean`):

Internal: fail the run when results look degraded (used by the developer's scheduled checks).

## Actor input object example

```json
{
  "stores": [
    "deathwishcoffee.com",
    "https://www.allbirds.com/collections/mens"
  ],
  "maxProductsPerStore": 100,
  "outputMode": "product",
  "includeInventory": false,
  "trackChanges": true,
  "onlyChanges": false,
  "historyStoreName": "shopify-products-history",
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "maxConcurrency": 3,
  "healthCheck": false
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (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": [
        "deathwishcoffee.com",
        "https://www.allbirds.com/collections/mens"
    ],
    "maxProductsPerStore": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("leoworks/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": [
        "deathwishcoffee.com",
        "https://www.allbirds.com/collections/mens",
    ],
    "maxProductsPerStore": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("leoworks/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": [
    "deathwishcoffee.com",
    "https://www.allbirds.com/collections/mens"
  ],
  "maxProductsPerStore": 100
}' |
apify call leoworks/shopify-products-scraper --silent --output-dataset

```

## MCP server setup

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