# Shopify Store Scraper - Products, Prices & Stock (`helenisapi/shopify-store-scraper-products-prices-stock`) Actor

Scrape any 🛍️ Shopify Store: products, prices, discounts, variants, SKUs & real stock when public. ✅ Collections. ⚡ Results in seconds. 📦 No API key.

- **URL**: https://apify.com/helenisapi/shopify-store-scraper-products-prices-stock.md
- **Developed by:** [Helenis API](https://apify.com/helenisapi) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 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

## 🛍️ Shopify Store Scraper - Products, Prices & Stock

**Paste Shopify stores, get their whole catalogue.** Every product with its **prices, compare-at prices and discounts**, **variants and SKUs**, **stock status**, images, tags and description, plus **real stock quantities and barcodes** when the store makes them public.

Works on whole stores, single collections or individual product pages. No API key, no browser, no login: add URLs and hit **Run**.

***

### ⚡ Why this actor?

- 🏷️ **Prices that mean something:** lowest and highest price, compare-at price, `onSale` and the discount percentage, always in the store's own currency.
- 🧩 **Every variant:** size, colour and other options, SKU, price and availability for each one.
- 📦 **Real stock:** with *Real stock* on, the exact inventory quantity and the barcode (GTIN/EAN/UPC) of each variant, when the store exposes them.
- 🗂️ **Collections:** scrape only `sale`, `mens` or any other collection.
- 🚀 **Fast:** 250 products per request, straight from Shopify's public storefront data. No AI, no browser.
- 🧹 **Clean rows:** flat columns ready for Excel and Google Sheets, with the full variants alongside.
- 🔗 **Stores or single products:** mix store URLs and product page URLs in the same run.

***

### 🏆 How it compares

| Feature | This actor | Generic web scrapers | Copy-paste |
|---|:---:|:---:|:---:|
| 🏷️ Prices, compare-at, discount % | ✅ | ⚠️ Theme-dependent | 🐢 |
| 🧩 Variants with SKUs | ✅ | ⚠️ | 🐢 |
| 📦 Real stock when public | ✅ | ❌ | ❌ |
| 🗂️ Collection filter | ✅ | ⚠️ | 🐢 |
| 💱 Prices in the store's currency, wherever you run | ✅ | ⚠️ Geo-dependent | — |
| 💸 Failed stores charged | ❌ Never | ⚠️ Varies | — |

***

### 📊 What data do you get?

One row per product: flat columns first, full variants and options alongside.

#### 🛍️ Product

| Field | Description | Example |
|---|---|---|
| `store` | The store the product comes from | `https://www.allbirds.com` |
| `title` | Product name | `Women's Runner NZ Slip On - Light Grey (Light Grey Sole)` |
| `url` | Product page | `https://www.allbirds.com/products/womens-runner-nz-slip-on-light-grey` |
| `vendor` | Brand or vendor | `Allbirds` |
| `productType` | Product type set by the store | `Shoes` |
| `id` | Shopify product ID | `7205196070992` |
| `handle` | Product handle, the end of its URL | `womens-runner-nz-slip-on-light-grey` |
| `tags` | Store tags | — |
| `description` | Description as plain text (HTML removed), up to 5,000 characters | — |
| `createdAt` / `updatedAt` | Catalogue dates | `2025-08-06T19:48:20-07:00` |
| `image` | Main image | `https://cdn.shopify.com/s/files/...png` |
| `images` | All image URLs | — |

#### 🏷️ Prices and stock

| Field | Description | Example |
|---|---|---|
| `price` | Lowest variant price | `73.5` |
| `priceMax` | Highest variant price | `73.5` |
| `compareAtPrice` | Highest compare-at ("was") price | `105.0` |
| `currency` | The store's own currency | `USD` |
| `onSale` | A variant is priced below its compare-at price | `true` |
| `discountPercent` | Largest discount among variants | `30` |
| `available` | At least one variant can be bought | `true` |
| `totalInventory` | Sum of variant stock (*Real stock* on, when the store exposes it) | `241` |

#### 🧩 Variants

| Field | Description | Example |
|---|---|---|
| `variantsCount` | Number of variants | `13` |
| `skus` | SKUs of all variants | `["A12558W050", ...]` |
| `options` | Option names and values | `[{ "name": "Size", "values": ["5", "5.5", ...] }]` |
| `variants` | Each variant: `id`, `title`, `sku`, `barcode`, `price`, `compare_at_price`, `available`, `inventory_quantity`, `options` | `{ "title": "5", "sku": "A12558W050", "barcode": "196942298909", "inventory_quantity": 15, ... }` |
| `error` | On a store or product page that could not be read (not charged) | — |

***

### 🚀 How to use it

1. Add **store URLs** (e.g. `allbirds.com`) and/or **product page URLs** (`…/products/<handle>`).
2. Optionally set a **maximum per store**, a **collection**, and switch on **Real stock**.
3. Click **Run**, then export the table as CSV, Excel or JSON.

#### ⚙️ Input

| Option | Default | Description |
|---|:---:|---|
| 🔗 **Store or product URLs** | — | One per line: a store (e.g. `allbirds.com`) for its catalogue, or a product page (`…/products/<handle>`) for one product |
| **Maximum products per store** | `0` | Stop after this many products in each store (`0` = the whole catalogue) |
| 🗂️ **Collection (optional)** | — | Only this collection's products, by handle (e.g. `mens`, `sale`): the part after `/collections/` in the store's URL |
| 📦 **Real stock and barcodes** | ⬜ Off | Real inventory quantity and barcode (GTIN/EAN/UPC) of each variant, when the store makes them public. One extra request per product |

Duplicate URLs are removed before the run starts.

#### Input example

```json
{
  "urls": ["https://www.allbirds.com"],
  "maxProductsPerStore": 20,
  "realInventory": false
}
```

#### Output example (one row per product)

```json
{
  "store": "https://www.allbirds.com",
  "title": "Women's Runner NZ Slip On - Light Grey (Light Grey Sole)",
  "url": "https://www.allbirds.com/products/womens-runner-nz-slip-on-light-grey",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "price": 73.5,
  "priceMax": 73.5,
  "compareAtPrice": 105.0,
  "currency": "USD",
  "onSale": true,
  "discountPercent": 30,
  "available": true,
  "totalInventory": 241,
  "variantsCount": 13,
  "skus": ["A12558W050", "A12558W055", "A12558W060"],
  "variants": [{ "id": 41271201988688, "title": "5", "sku": "A12558W050", "barcode": "196942298909", "price": 73.5, "compare_at_price": 105.0, "available": true, "inventory_quantity": 15, "options": { "Size": "5" } }]
}
```

*From a real run with **Real stock** on (20 Nov 2026), shortened: 3 of 13 SKUs and 1 of 13 variants shown; `image`, `tags`, `description`, dates and ids omitted.* `totalInventory`, `barcode` and `inventory_quantity` need **Real stock** on and a store that exposes them.

Available as **JSON**, **CSV**, **Excel**, or via the **Apify API** and **dataset exports**.

***

### 💰 Pricing

| Event | When |
|---|---|
| 🛍️ Product | Each product written to your dataset |
| 📦 Inventory check | Each product whose real stock was fetched (Real stock on) |

Product page URLs already include real stock when public, so they are charged as a product only. The inventory check is charged only when the stock request succeeded.

Stores that cannot be read are listed with their error and **not charged**. Set a maximum cost per run in the run options and the actor stops cleanly when it is reached.

> 🆓 On the Apify **free plan**, each run returns the first 100 products.

***

### 💡 Use cases

- 📉 **Competitor price monitoring:** track prices, compare-at prices and discounts across rival stores.
- 🔔 **Stock alerts:** watch the availability and real inventory of key products.
- 🧭 **Dropshipping & sourcing:** browse catalogues, variants and vendors to find products.
- 📊 **Market research:** compare assortments, price ranges and promotions across stores.
- 🏷️ **Sale tracking:** scrape a store's `sale` collection and sort by `discountPercent`.
- 🗃️ **Product feeds:** load whole catalogues into your app, sheet or database.

***

### ❓ FAQ

**Does it work on every Shopify store?**
On stores that serve Shopify's public storefront data, which is the vast majority. Headless storefronts (a custom front end on top of Shopify) and stores that block automated visits return an error row, not charged.

**Why is real stock sometimes empty?**
Many stores hide inventory quantities. You still get each variant's `available` status.

**Which currency?**
Always the store's own currency (e.g. USD for a US store), whatever country the run comes from.

**How do I find a collection handle?**
Open the collection on the store: the handle is the part after `/collections/` in the URL.

**Store URL or product URL?**
A store URL returns its catalogue, 250 products per request, up to your maximum per store. A product page URL returns that one product, with its real stock and barcodes when the store makes them public.

**Am I charged when something fails?**
No. A store or product page that cannot be read gets one row with its `error` and costs nothing. Temporary failures are retried once. If no product at all could be scraped, the run is marked as failed.

**How fresh is the data?**
Read from the store's public data at run time. The same store page is cached for at most 10 minutes, so stores are not hammered by repeated runs.

**Do I need a Shopify account or a login?**
No account, no login, no API key: only the public catalogue every visitor can see. Respect each store's terms of use when you reuse the data.

***

### 🔌 Integrations

Connect results to your existing workflow:

- 📗 **Google Sheets**: Auto-export catalogues and prices to a spreadsheet
- 🪝 **Webhooks**: Trigger downstream actions when a run completes
- ⚡ **Zapier / Make**: Plug into 1000+ apps
- 🛠️ **API**: Fetch results programmatically from any language
- 🔄 **Scheduled runs**: Re-scrape stores daily or weekly to follow prices and stock over time
- 🤖 **AI agents**: call it from Claude, Cursor or any MCP client through Apify's MCP server

***

### 🌐 Also available as an API

The same engine is sold as a REST API on RapidAPI: **Shopify Store Scraper - Products, Prices & Stock** by **Helenis API**. It also returns store details and the list of collections.

***

### 🔒 Privacy

Only public catalogue data is collected: no customer data, no login. Respect each store's terms of use when you reuse the data.

# Actor input Schema

## `urls` (type: `array`):

One per line: a store (e.g. allbirds.com) or a product page (…/products/<handle>).

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

Stop after this many products in each store (0 = the whole catalogue).

## `collection` (type: `string`):

Only this collection's products, by handle (e.g. mens, sale): the part after /collections/ in the store's URL.

## `realInventory` (type: `boolean`):

Fetch each product's real inventory quantity and barcode (GTIN/EAN/UPC) when the store makes them public. One extra request per product, charged per product.

## Actor input object example

```json
{
  "urls": [
    "https://www.allbirds.com"
  ],
  "maxProductsPerStore": 20,
  "realInventory": false
}
```

# Actor output Schema

## `products` (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 = {
    "urls": [
        "https://www.allbirds.com"
    ],
    "maxProductsPerStore": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("helenisapi/shopify-store-scraper-products-prices-stock").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 = {
    "urls": ["https://www.allbirds.com"],
    "maxProductsPerStore": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("helenisapi/shopify-store-scraper-products-prices-stock").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 '{
  "urls": [
    "https://www.allbirds.com"
  ],
  "maxProductsPerStore": 20
}' |
apify call helenisapi/shopify-store-scraper-products-prices-stock --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,helenisapi/shopify-store-scraper-products-prices-stock"
        }
    }
}
```

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/0bLLrRdt1O5VDUbbI/builds/BdPxOBccMlB9X6B6S/openapi.json
