# Shopify Product Scraper - Store Catalogs, Prices & Variants (`onomatopoeia_dev/shopify-product-scraper`) Actor

Export the public product catalog of any Shopify store: prices, sale prices, variants, stock, images and plain-text descriptions. Reliable multi-store runs; a store that fails never fails the run.

- **URL**: https://apify.com/onomatopoeia_dev/shopify-product-scraper.md
- **Developed by:** [onomatopoeia](https://apify.com/onomatopoeia_dev) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $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/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 Product Scraper - Store Catalogs, Prices & Variants

**Export the public product catalog of any Shopify store as clean rows in JSON, CSV or Excel: prices, sale prices, variants, stock, images and plain-text descriptions. Built so a bad store never fails your run.**

This **Shopify scraper** reads the public `products.json` feed that every Shopify storefront publishes. It needs **no login, no API key and, for most stores, no proxy**. It never touches carts, checkouts, accounts, orders or customer data, and it **honors robots.txt**.

> Not affiliated with, endorsed by or sponsored by Shopify Inc. Shopify is a trademark of its owner.

### What can you do with it?

- **Price monitoring**: schedule it daily and compare `priceMin`, `priceMax`, `onSale` and `maxDiscountPercent` over time.
- **Competitor catalog tracking**: new products (`createdAt`, `publishedAt`), stock changes (`availability`) and price changes in one dataset.
- **Dropshipping and sourcing research**: vendors, product types, tags, images and variants of any store.
- **Market and trend research**: compare assortments and price ranges of dozens of stores in one run.
- **Feeds and datasets**: feed a product catalog into a spreadsheet, a comparison site or an AI pipeline.

### Why this Actor

| | |
|---|---|
| **A broken store never breaks the run** | Not a Shopify store, password protected, blocked (HTTP 403), rate limited (429), robots.txt disallowed, unreachable: each store gets a clear status in the **Store report** and an optional free `store_status` row. The run finishes successfully with everything the other stores returned. |
| **You pay only for products** | One billed item = one product row (or one variant row if you ask for that). Status rows, skipped sold-out products, retries and paging are free. |
| **Rate limits handled** | HTTP 429 and 5xx are retried with exponential backoff and `Retry-After`. Each store is read at 2 requests per second by default. |
| **Clean, flat output** | Prices as numbers, ISO dates in UTC, tags as a list, descriptions as plain text, currency from the store itself. |
| **Variants your way** | One row per product with a `variants` list, or one row per variant with its own SKU, price and stock. |
| **Whole stores or just a part** | Domains, collection URLs and single product URLs in the same run. |
| **Lightweight** | No browser. 512 MB is plenty; products stream to the dataset page by page. |
| **No proxy needed** | Proxy is off by default to keep costs at zero. Switch on Apify Proxy for the few stores that need it. |

### Input

| Field | Type | Description |
|---|---|---|
| `startUrls` | array | Store domains or URLs. `allbirds.com` = whole catalog, `https://store.com/collections/sale` = that collection, `https://store.com/products/some-tee` = one product. |
| `collections` | array | Collection handles to read instead of the whole catalog (applied to every plain store domain). Also the way past Shopify's 25,000-product feed limit. |
| `maxProductsPerStore` | integer | Stop reading a store after this many products (default 100). |
| `maxItems` | integer | Total billed rows for the run (default 1000). |
| `splitVariants` | boolean | One row per variant instead of one per product. Every variant row is billed as one item. |
| `onlyAvailable` | boolean | Skip products where every variant is sold out (not billed). |
| `includeHtml` | boolean | Also return the original description HTML as `descriptionHtml`. |
| `includeStatusRows` | boolean | Add a free `store_status` row for each store that failed (default on). |
| `proxyConfiguration` | object | Off by default. Enable Apify Proxy for stores that answer HTTP 403/429. |
| `storeConcurrency` | integer | Stores read in parallel, 1 to 8 (default 3). |
| `requestsPerSecond` | integer | Politeness limit per store, 1 to 5 (default 2). |

#### Example inputs

**First 200 products of three stores**

```json
{
  "startUrls": [{ "url": "https://kith.com" }, { "url": "https://colourpop.com" }, { "url": "taylorstitch.com" }],
  "maxProductsPerStore": 200
}
```

**Sale collections only, in stock, one row per variant**

```json
{
  "startUrls": [{ "url": "https://store-one.example/collections/sale" }, { "url": "https://store-two.example/collections/sale" }],
  "onlyAvailable": true,
  "splitVariants": true,
  "maxItems": 5000
}
```

**A big catalog split into collections (past the 25,000 limit)**

```json
{
  "startUrls": [{ "url": "https://big-store.example" }],
  "collections": ["mens", "womens", "accessories", "sale"],
  "maxProductsPerStore": 100000
}
```

### Output

One dataset row per product. Empty values are `null` or empty arrays. See the dataset's field descriptions in the **Output** tab for every field.

**Product example** (shortened)

```json
{
  "type": "product",
  "store": "colourpop.com",
  "storeName": "ColourPop",
  "productId": 7671382868050,
  "title": "Cat In The Hat x ColourPop Collection",
  "handle": "cat-in-the-hat-x-colourpop-collection",
  "url": "https://colourpop.com/products/cat-in-the-hat-x-colourpop-collection",
  "vendor": "ColourPop",
  "productType": "Full Collection Set",
  "tags": ["Collab", "collab:DrSeuss", "new-arrival"],
  "createdAt": "2026-10-07T21:15:29.000Z",
  "updatedAt": "2026-11-29T02:44:00.000Z",
  "publishedAt": "2026-11-28T06:31:27.000Z",
  "currency": "USD",
  "priceMin": 39,
  "priceMax": 39,
  "compareAtPriceMin": null,
  "compareAtPriceMax": null,
  "onSale": false,
  "maxDiscountPercent": null,
  "available": true,
  "availability": "in_stock",
  "variantCount": 1,
  "optionNames": [],
  "imageUrl": "https://cdn.shopify.com/s/files/1/1338/0845/files/CatintheHat_FullCollection_ProductStylized.jpg",
  "imageCount": 6,
  "images": ["https://cdn.shopify.com/s/files/1/1338/0845/files/CatintheHat_FullCollection_ProductStylized.jpg"],
  "description": "Two kits, one brand-new blush: the Cat brought the whole bit.\n\nThis limited-edition collection features two Lip Kits …",
  "collection": null,
  "sourceUrl": "https://colourpop.com/products.json?limit=250&page=1",
  "scrapedAt": "2026-11-29T02:44:01.043Z",
  "variants": [
    {
      "id": 42793828974674,
      "title": null,
      "sku": "Bundle-CatInTheHatxColourPopCollection",
      "price": 39,
      "compareAtPrice": null,
      "available": true,
      "options": {},
      "weightGrams": 383,
      "position": 1,
      "imageUrl": null
    }
  ]
}
```

**Variant rows** (`splitVariants`): the same product fields plus `variantId`, `variantTitle`, `sku`, `price`, `compareAtPrice`, `variantAvailable`, `options` (for example `{"Color": "Blue", "Size": "M"}`), `weightGrams`, `variantPosition` and `variantImageUrl`. The `variants` list is left out.

**Status row** (free, only for stores that had a problem):

```json
{
  "type": "store_status",
  "store": "example.com",
  "status": "not_shopify",
  "httpStatus": 404,
  "productsStored": 0,
  "message": "example.com has no public /products.json (HTTP 404). It is not a Shopify store, or the store turned the catalog feed off.",
  "scrapedAt": "2026-11-29T02:40:21.996Z"
}
```

Possible `status` values: `ok`, `partial` (some products, then a problem), `empty`, `not_shopify`, `not_found` (collection or product handle does not exist), `password_protected`, `blocked`, `rate_limited`, `robots_disallowed`, `unreachable`, `error`.

Besides the dataset the Actor stores two records:

- **`STORE_REPORT`**: one entry per store with status, HTTP status, store name, currency, products and rows stored, and human-readable messages.
- **`RUN_SUMMARY`**: rows stored, stores read/failed/skipped, items charged and why the run stopped.

### Pricing

This Actor uses **pay-per-event** pricing: you pay for each **item** (one product row, or one variant row with `splitVariants`), plus Apify's standard Actor-start event. There is no monthly rental. Launch price: **$0.001 per item ($1.00 per 1,000 products)**; the pricing panel on this page always shows the current price.

- Paging, retries, the store report and status rows are included and free.
- Products that are filtered out (`onlyAvailable`) or duplicates (a product found in two collections) are not billed.
- Set **Maximum cost per run** when starting the Actor; it stops cleanly when the budget is used.
- Platform usage is included in the event price. There is no proxy cost unless you turn on Apify Proxy yourself.

### Politeness, robots.txt and legal notes

- The Actor reads each store's `robots.txt` first. If it disallows the product feed, that store is **skipped** and shown as `robots_disallowed`. It does not try other routes to get around such a rule.
- Requests are paced per store (default 2 per second), identify as `ShopifyProductScraperApifyActor/0.1`, and back off on HTTP 429 and 5xx errors. Stores that answer 401 or 403 are not retried and not bypassed; the Actor never attempts to defeat bot protection.
- It reads only what the store publishes openly in its storefront catalog feed and its public `meta.json` (store name and currency). It never reads customer, order, contact or owner data, and e-mail addresses inside descriptions are masked as `[email removed]`.
- Product texts and images are protected by copyright and belong to the stores. Check each store's terms before reusing or republishing the content. You are responsible for how you use the data, including compliance with the terms of the sites you scrape.

### Limitations

- Shopify's public feed stops at **25,000 products** per feed (page 100 at 250 products per page). For bigger stores add `collections`; the status report notes when the limit was reached.
- Only published products are visible. Draft, archived, hidden and password-protected content is not available, and some stores switch the feed off or block bots (reported per store).
- Prices are what the storefront shows for its default market and currency. Per-country pricing, discount codes, shipping costs and taxes are not part of the feed.
- `currency` comes from the store's `meta.json` or its `cart_currency` cookie and is `null` when the store reveals neither.
- Inventory counts are not public; you get in stock / out of stock per variant.
- Reviews and ratings are not part of the feed (they come from third-party apps).
- Headless storefronts and stores on other platforms are reported as `not_shopify`.
- A single product URL is read from the product's `.js` endpoint, which has no `updatedAt`; that field is `null` for those rows.

### Tips

- Start with a small `maxProductsPerStore` (for example 20) to preview the output, then scale up.
- Schedule the Actor daily and compare datasets to see price and stock changes.
- Turn on **One row per variant** for stock-by-size monitoring or SKU matching.
- If a store reports `blocked` or `rate_limited`, lower `requestsPerSecond` or enable Apify Proxy for that run.

# Actor input Schema

## `startUrls` (type: `array`):

Shopify stores to read. A domain or home page (`allbirds.com`) reads the whole catalog. A collection URL (`https://store.com/collections/sale`) reads only that collection, and a product URL (`https://store.com/products/some-tee`) reads one product.

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

Collection handles to read instead of the whole catalog, for example `new-arrivals` or `sale`. Applied to every store given as a plain domain. Also the way to read stores with more than 25,000 products: Shopify's public feed stops at 25,000 per feed.

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

Stop reading a store after this many products. With **One row per variant** switched on, a product still counts once here.

## `maxItems` (type: `integer`):

Stop after this many rows in total, across all stores. Every product row (or variant row) is one billed item. Status rows for failed stores are free and not counted.

## `splitVariants` (type: `boolean`):

Return one row for every variant (size, color...) with its own SKU, price and stock instead of one row per product with a `variants` list. Every variant row is billed as one item.

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

Skip products where every variant is sold out. Skipped products are not billed.

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

Add `descriptionHtml` with the original HTML next to the plain-text `description`.

## `includeStatusRows` (type: `boolean`):

When a store cannot be read (not Shopify, blocked, password protected, rate limited...) add one `store_status` row that says why. These rows are free. The same information is always in the `STORE_REPORT` record.

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

Off by default. Most stores work without a proxy. Enable Apify Proxy only for stores that answer HTTP 403 or 429 (shown in the store report). Proxy traffic is charged by Apify to you.

## `storeConcurrency` (type: `integer`):

How many stores are read at the same time. Requests to each single store are always rate limited.

## `requestsPerSecond` (type: `integer`):

Politeness limit for each store, 1 to 5. The Actor slows down further on HTTP 429.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://kith.com"
    },
    {
      "url": "https://colourpop.com"
    }
  ],
  "maxProductsPerStore": 20,
  "maxItems": 1000,
  "splitVariants": false,
  "onlyAvailable": false,
  "includeHtml": false,
  "includeStatusRows": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "storeConcurrency": 3,
  "requestsPerSecond": 2
}
```

# Actor output Schema

## `items` (type: `string`):

No description

## `overview` (type: `string`):

No description

## `pricing` (type: `string`):

No description

## `storeReport` (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 = {
    "startUrls": [
        {
            "url": "https://kith.com"
        },
        {
            "url": "https://colourpop.com"
        }
    ],
    "maxProductsPerStore": 20,
    "maxItems": 1000,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("onomatopoeia_dev/shopify-product-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 = {
    "startUrls": [
        { "url": "https://kith.com" },
        { "url": "https://colourpop.com" },
    ],
    "maxProductsPerStore": 20,
    "maxItems": 1000,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("onomatopoeia_dev/shopify-product-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 '{
  "startUrls": [
    {
      "url": "https://kith.com"
    },
    {
      "url": "https://colourpop.com"
    }
  ],
  "maxProductsPerStore": 20,
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call onomatopoeia_dev/shopify-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,onomatopoeia_dev/shopify-product-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/4Zvkw5IcpG4QtF3zI/builds/vnKgeGcs2cDMuCwF0/openapi.json
