# Shopify Store Products Scraper - Prices, Variants, Stock (`cvillasanti/shopify-store-products-scraper`) Actor

Scrape the full product catalog of any Shopify store: titles, variants, SKUs, prices, discounts, stock, images, tags and store currency. Bulk: thousands of stores per run, no proxies or browser.

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

## Pricing

from $0.50 / 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 Products Scraper - Prices, Variants, Stock

Scrape the **full product catalog of any Shopify store** and get clean JSON with **titles, variants, SKUs, prices, compare-at (original) prices, discounts, stock availability, images, tags, vendor, product type and the store currency**. Paste one store or thousands of stores and get one record per product.

- ✅ **Bulk:** thousands of stores per run, hundreds of products per second. No browser, no proxies, no login.
- ✅ **Every variant:** size, color and other options with their own SKU, price, original price, weight and stock flag.
- ✅ **Discount detection:** `onSale` is `true` when any variant is cheaper than its compare-at price.
- ✅ **Store currency and name** in every record, so multi-store price comparisons are easy.
- ✅ **Headless stores handled:** when `www.brand.com` is a custom front end, the Actor finds the Shopify catalog on the bare domain (and the other way round).
- ✅ **Fair pricing:** half the price of comparable Actors, and stores that are not Shopify (or hide their catalog) are reported for free.
- ✅ **Ready for AI agents and MCP:** flat English field names and a fully described output schema.

### What data does it extract?

| Field | Example |
|---|---|
| Store, store name, currency | `allbirds.com`, `Allbirds`, `USD` |
| Title, vendor, product type, tags | `Men's Wool Runner NZ Waterproof`, `Allbirds`, `Shoes` |
| Price range and original price | `105` to `105`, was `150` |
| On sale, in stock, variants count | `true`, `true`, `13` |
| Variants | SKU `A12019M080`, option `8`, price `105`, available `false` |
| Options | `Size: 8, 8.5, 9, …` |
| Images, description, URL | CDN image URLs, plain-text description, product page link |
| Created, updated, published | ISO 8601 dates |

### Use cases

- **Competitor price monitoring:** track prices, discounts and stock of competitors' stores every day with a schedule.
- **Dropshipping and product research:** find best-selling categories, vendors and price points across many stores.
- **Catalog migration and backups:** export a full Shopify catalog to JSON, CSV or Excel.
- **Market research:** compare assortments and pricing across a niche (shoes, cosmetics, apparel…).
- **Lead qualification:** size a store's catalog before reaching out.

### Input examples

**Full catalogs of two stores:**

```json
{
    "stores": ["allbirds.com", "https://www.gymshark.com/"]
}
```

**First 100 products of each store in a list:**

```json
{
    "stores": ["allbirds.com", "kyliecosmetics.com", "fashionnova.com"],
    "maxProductsPerStore": 100
}
```

| Field | Description |
|---|---|
| `stores` | Store domains or URLs, custom domains or `*.myshopify.com`. Paths are ignored and duplicates are removed. Up to 5,000 per run. |
| `maxProductsPerStore` | Optional cap per store. Leave empty for the full catalog. |

### Output example

```json
{
    "store": "allbirds.com",
    "storeName": "Allbirds",
    "currency": "USD",
    "productId": 7215632482384,
    "title": "Men's Wool Runner NZ Waterproof - Natural Black (Natural Black Sole)",
    "handle": "mens-wool-runner-nz-waterproof-natural-black",
    "url": "https://allbirds.com/products/mens-wool-runner-nz-waterproof-natural-black",
    "vendor": "Allbirds",
    "productType": "Shoes",
    "tags": [
        "allbirds::carbon-score => undefined",
        "allbirds::cfId => color-72100b4e5959769dd6e63aa2350a2b51",
        "allbirds::complete => true",
        "allbirds::edition => classic",
        "allbirds::gender => mens"
    ],
    "description": "Boot-like protection, sneaker-like performance. Weather any storm with our fully waterproof Wool Runner NZ built to keep water out and warmth in. Rainy days just got a lot brighter.",
    "priceMin": 105,
    "priceMax": 105,
    "compareAtPriceMax": 150,
    "onSale": true,
    "available": true,
    "variantsCount": 13,
    "options": [
        {
            "name": "Size",
            "values": [
                "8",
                "8.5",
                "9",
                "9.5",
                "10",
                "10.5",
                "11",
                "11.5",
                "12",
                "12.5",
                "13",
                "13.5",
                "14"
            ]
        }
    ],
    "variants": [
        {
            "id": 41315598073936,
            "title": "8",
            "sku": "A12019M080",
            "price": 105,
            "compareAtPrice": 150,
            "available": false,
            "options": [
                "8"
            ],
            "weightGrams": 1016
        },
        {
            "id": 41315598106704,
            "title": "8.5",
            "sku": "A12019M085",
            "price": 105,
            "compareAtPrice": 150,
            "available": false,
            "options": [
                "8.5"
            ],
            "weightGrams": 1036
        }
    ],
    "images": [
        "https://cdn.shopify.com/s/files/1/1104/4168/files/A12019_25Q3_Wool-Runner-NZ-Waterproof-Natural-Black-Natural-Black-Sole_PDP_LEFT.png?v=1757523355",
        "https://cdn.shopify.com/s/files/1/1104/4168/files/A12019_25Q3_Wool-Runner-NZ-Waterproof-Natural-Black-Natural-Black-Sole_PDP_BACK.png?v=1757523354"
    ],
    "createdAt": "2025-08-29T18:40:33.000Z",
    "updatedAt": "2026-11-24T04:45:01.000Z",
    "publishedAt": "2026-11-23T21:08:25.000Z",
    "scrapedAt": "2026-11-24T04:48:15.288Z"
}
```

A store that is not on Shopify, or that hides its catalog, gives one free record instead:

```json
{
    "store": "wikipedia.org",
    "error": "Not a Shopify store or the catalog is hidden (HTTP 404).",
    "scrapedAt": "2026-11-24T04:48:15.111Z"
}
```

### Pricing

Pay per event: you pay per product.

| Event | When it is charged |
|---|---|
| `product` | Once for every product saved, with all its variants and images included. |

Store-level errors are free. Set a **maximum cost per run** in the run options and the Actor stops cleanly when it reaches it.

### Tips and limits

- The Actor reads the public catalog that every Shopify store publishes for its own storefront. A few stores disable it; they are reported with an `error`.
- Stock is a yes/no flag per variant. Shopify does not publish exact inventory counts in the public catalog.
- Shopify's public catalog lists up to 25,000 products per store. For larger stores only the first 25,000 are available.
- Only published products are listed; drafts and hidden products are not public.
- Prices are in the store's default currency (`currency`).

### Use it from the API

Run the Actor and get the results in one call. This endpoint waits up to 5 minutes, so use the Python client below for longer runs:

```bash
curl -X POST "https://api.apify.com/v2/acts/cvillasanti~shopify-store-products-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"stores": ["allbirds.com", "https://www.gymshark.com/"]}'
```

Or with the Python client (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("cvillasanti/shopify-store-products-scraper").call(run_input={
    "stores": [
        "allbirds.com",
        "https://www.gymshark.com/"
    ]
})
for item in client.dataset(run["default_dataset_id"]).iterate_items():
    print(item)
```

It also works from Make, Zapier, n8n, Google Sheets and any AI agent through the [Apify MCP server](https://mcp.apify.com).

### FAQ

**Is this legal?** The Actor reads public product data that the store itself publishes to every visitor. Do not use the data in ways that break the store's terms or the law.

**Does it work with any Shopify store?** Any store whose public catalog is enabled, including large brands with custom (headless) front ends.

**Can I use it from an AI agent?** Yes. Call it through the Apify MCP server or the API. The input and output schemas are fully described.

# Actor input Schema

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

Store domains or URLs (custom domains or \*.myshopify.com). Duplicates are removed. Up to 5,000 per run.

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

Leave empty to scrape the full catalog of each store.

## Actor input object example

```json
{
  "stores": [
    "allbirds.com",
    "https://www.gymshark.com/"
  ]
}
```

# Actor output Schema

## `products` (type: `string`):

Products with variants, prices and stock.

# 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": [
        "allbirds.com",
        "https://www.gymshark.com/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("cvillasanti/shopify-store-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": [
        "allbirds.com",
        "https://www.gymshark.com/",
    ] }

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

```

## MCP server setup

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