# Shopify Store Products Scraper (`lugubrious_junco_vex/shopify-store-products-scraper`) Actor

Extract the full product catalog of any Shopify store: titles, prices, compare-at prices, variants, stock availability, images, tags and descriptions. One row per product or per variant. No login or API key.

- **URL**: https://apify.com/lugubrious_junco_vex/shopify-store-products-scraper.md
- **Developed by:** [Kokai Milan](https://apify.com/lugubrious_junco_vex) (community)
- **Categories:** E-commerce
- **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.
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 Store Products Scraper

Extract the **full product catalog of any Shopify store**: titles, prices, compare-at (sale) prices, every variant with SKU and stock status, images, tags, vendor and clean-text descriptions. Output one row per product or one flat row per variant, as JSON, CSV or Excel.

It reads only the **public storefront JSON that Shopify stores expose without login** (`/products.json`, `/collections/{handle}/products.json`, `/meta.json`). No browser, no proxies, no cookies, no API keys, no private or admin APIs, so runs are fast, cheap and light (256-512 MB).

### What you can use it for

- **Competitor price monitoring**: track prices and sale (compare-at) prices of rival Shopify stores.
- **Price-change tracking on a schedule**: run daily with `updatedSince` to get only products that changed.
- **Product catalog extraction**: export a whole store (titles, variants, SKUs, images, descriptions) for feeds, migrations or marketplaces.
- **Dropshipping and product research**: find what stores sell, in which price range, and what is in or out of stock.
- **Market research**: compare assortment, vendors, product types and tags across many brands.

### What you get

- **Many stores per run**: pass domains or any URL on the store (a product or collection page works too).
- **Whole catalog or specific collections**: filter by collection handle.
- **Two output modes**: `product` (one row per product, optional nested `variants` array) or `variant` (one flat row per size/color for SKU-level tracking).
- **Filters**: keywords (title, tags, product type, vendor), in-stock only, updated since a date.
- **Currency** from the store's public `/meta.json` when available.
- **Descriptions as plain text** (HTML converted), plus all image URLs.
- **Shopify detection**: non-Shopify sites, and Shopify stores that disabled `products.json`, are logged with a warning and skipped; the run continues with the other stores.
- **Polite by design**: pages are fetched sequentially per store with a delay, `robots.txt` is checked for the paths used, 429/5xx are retried with backoff.

### Input example

```json
{
  "storeUrls": ["allbirds.com", "www.colourpop.com"],
  "maxProductsPerStore": 100,
  "outputMode": "product",
  "includeVariants": true,
  "keywords": ["runner"],
  "onlyAvailable": false,
  "updatedSince": "2026-11-01"
}
```

| Field | Description |
|---|---|
| `storeUrls` | Domains or any URL on the store |
| `collections` | Optional collection handles (`mens-shoes`); empty = whole catalog |
| `maxProductsPerStore` | Max matching products per store (default 100). In variant mode this caps products; all their variants are output |
| `outputMode` | `product` (default) or `variant`. You are charged per product in both modes (variant rows are included) |
| `includeVariants` | Product mode only: include the nested `variants` array (default true) |
| `keywords` | Keep products matching ANY keyword in title, tags, type or vendor |
| `onlyAvailable` | Only in-stock products (variant mode: only in-stock variants) |
| `updatedSince` | `YYYY-MM-DD`; only products updated on or after it |

### Output sample (product mode)

```json
{
  "store": "www.allbirds.com",
  "productId": 7292464824400,
  "handle": "womens-wool-cruiser-port-port-sole",
  "title": "Women's Wool Cruiser - Port (Port Sole)",
  "vendor": "Allbirds",
  "productType": null,
  "tags": ["11/3/26 DROP", "allbirds::hue => red"],
  "url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole",
  "priceMin": 120.0,
  "priceMax": 120.0,
  "compareAtPriceMax": null,
  "currency": "USD",
  "available": true,
  "variantsCount": 13,
  "variants": [
    {"id": 41990816137296, "title": "5", "sku": "A12858W050", "price": 120.0, "compareAtPrice": null, "available": false, "options": {"Size": "5"}}
  ],
  "images": ["https://cdn.shopify.com/s/files/1/1104/4168/files/A12858W090-PORT_SIDE_TRANSPARENT.png?v=1793836076"],
  "descriptionText": "Innovation meets individuality in the Wool Cruiser, an instant icon designed for every day. ...",
  "createdAt": "2026-02-04T17:37:18-08:00",
  "updatedAt": "2026-11-13T09:37:35-08:00",
  "publishedAt": "2026-11-04T15:48:27-08:00"
}
```

In **variant mode** each row has `productId`, `variantId`, `title`, `variantTitle`, `sku`, `price`, `compareAtPrice`, `available`, `options`, `image`, `url` (with `?variant=`), plus store, vendor, type, tags, currency, description and dates.

Tested: allbirds.com returned all 312 products (3,758 variants) in 2 pages; a 500-product variant-mode run over two stores returned 4,258 rows.

### Pricing

**$0.80 per 1,000 products** (pay per event: charged per product delivered, no start fee). In variant mode you still pay per product: all of its variant rows are included. The $5 monthly credit on Apify's free plan covers roughly 6,000 products a month. Set a maximum cost per run and the Actor stops gracefully when it's reached.

### FAQ

**Does it work on every Shopify store?**
Only on stores that keep the standard public `products.json` enabled. Many do, but some stores block or disable it (for example behind a CDN rule); those are skipped with a warning.

**Is there a size limit per store?**
Shopify serves at most 25,000 products per endpoint (page x limit up to 25,000). Larger catalogs can be reached by running per `collections` handle.

**How do I track price changes?**
Schedule the Actor daily with `updatedSince` set to yesterday, or run variant mode and diff by `variantId`.

**Why is `currency` empty?**
It is read from the store's public `/meta.json`; if the store does not expose it, the field is `null`. Prices are returned as the store lists them (numbers, in the store currency).

**Is it legal?**
It reads only data the store publishes publicly to any visitor. You are responsible for using it in line with the store's terms and applicable law.

### Limits (honest)

- Requires the public `products.json` to be enabled; no workaround is attempted for stores that disable it.
- Max 25,000 products per store per endpoint (use collections to go beyond).
- Stock is the public `available` flag only; exact inventory quantities are not public.
- Multi-currency/market-specific prices are not covered: you get the price served to a default visitor.
- Some stores' `robots.txt` disallow collection-level paths; the Actor honors that and skips them.

# Actor input Schema

## `storeUrls` (type: `array`):

Shopify stores to scrape. Accepts a domain (allbirds.com) or any URL on the store (a product or collection page works too). Non-Shopify sites and stores that disabled their public products.json are skipped with a warning.

## `collections` (type: `array`):

Only scrape these collections, e.g. "mens-shoes" (the last part of /collections/mens-shoes). Leave empty to scrape the whole catalog. Applied to every store; handles a store does not have are skipped with a warning.

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

Stop after this many matching products per store. In variant mode this caps products, and every variant of those products is output as a row.

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

"product" = one row per product (default). "variant" = one flat row per variant (size/color), best for SKU-level price and stock tracking. You are charged per product in both modes; variant rows are included.

## `includeVariants` (type: `boolean`):

In product mode, include the nested variants array (id, title, sku, price, compareAtPrice, available, options). Turn off for slimmer rows. Ignored in variant mode.

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

Keep only products where ANY of these words appears in the title, tags, product type or vendor (case-insensitive).

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

Keep only products with at least one available variant (in variant mode: only available variants).

## `updatedSince` (type: `string`):

Keep only products updated on or after this date. Useful for scheduled change tracking.

## Actor input object example

```json
{
  "storeUrls": [
    "allbirds.com",
    "www.colourpop.com"
  ],
  "maxProductsPerStore": 20,
  "outputMode": "product",
  "includeVariants": true,
  "onlyAvailable": false
}
```

# Actor output Schema

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

Dataset with all scraped items

# 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 = {
    "storeUrls": [
        "allbirds.com",
        "www.colourpop.com"
    ],
    "maxProductsPerStore": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("lugubrious_junco_vex/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 = {
    "storeUrls": [
        "allbirds.com",
        "www.colourpop.com",
    ],
    "maxProductsPerStore": 20,
}

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

```

## MCP server setup

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