# Shopify Products Scraper - Prices, Variants, SKUs and Stock (`renzomacar/shopify-products-scraper`) Actor

Scrape the full product catalogue of any public Shopify store: prices, compare-at prices, discounts, variants, SKUs, stock status, options and images. Enter store domains or collection URLs and get one row per product or per variant. No browser, no login, no API key.

- **URL**: https://apify.com/renzomacar/shopify-products-scraper.md
- **Developed by:** [Renzo Madueno](https://apify.com/renzomacar) (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 $1.00 / 1,000 product returneds

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 Products Scraper

Get the product catalogue of any public Shopify store: prices, compare-at prices, discounts, variants, SKUs, stock status, options and images. Give it store domains or URLs and it returns one clean row per product, or one row per variant.

It reads the public product feed that Shopify storefronts serve (`/products.json`), so there is no browser, no login and no API key of the store. That makes it fast and light on memory.

### What you can do with it

- **New product monitoring**: run it on a schedule with `publishedAfter` set to the date of your last run and get only the products the store added since then.
- **Price monitoring**: run it on a schedule and compare `minPrice`, `compareAtPrice` and `available` between runs.
- **Competitor research**: full catalogue of a store with vendor, product type, tags, prices and discounts.
- **Stock tracking**: `available` per product and per variant, and an "only in stock" filter.
- **Product feeds and spreadsheets**: choose "one row per variant" to get a flat table with SKU, price and options for every size and colour.
- **Collection scraping**: paste a collection URL, or list collection handles, to read only those collections.

### Input

| Field | What it does |
| --- | --- |
| `stores` | Store domains or URLs. `allbirds.com`, `https://colourpop.com`, a collection URL such as `https://store.com/collections/sale` (reads only that collection), or a product URL (read as its store). |
| `maxProductsPerStore` | Stop after this many products in each store. Empty or `0` reads every product. |
| `outputMode` | `product`: one row per product with variants nested. `variant`: one row per variant. |
| `collections` | Collection handles or URLs. Only these collections are read, in every store. |
| `publishedAfter` | ISO date (`2026-01-31` or `2026-01-31T08:00:00Z`). Keeps only products published since then. |
| `updatedAfter` | ISO date. Keeps only products whose `updatedAt` is that date or later. Read the note below before relying on it. |
| `onlyAvailable` | Leaves out sold-out products (and sold-out variants in variant mode). |
| `includeDescription` | Adds the description as text and HTML. On by default. |
| `proxyConfiguration` | Optional. Requests go direct by default. |

Input names used by other Shopify scrapers also work: `startUrls`, `urls`, `storeUrls`, `domains`, `maxProducts`, `maxItems`, `maxResults`, `proxy`.

```json
{
  "stores": ["allbirds.com", "https://colourpop.com/collections/lips"],
  "maxProductsPerStore": 200,
  "outputMode": "product",
  "publishedAfter": "2026-11-01",
  "onlyAvailable": true
}
```

### Output

#### One row per product (`outputMode: "product"`)

```json
{
  "store": "www.allbirds.com",
  "storeName": "Allbirds",
  "currency": "USD",
  "id": 7292464824400,
  "title": "Women's Wool Cruiser - Port (Port Sole)",
  "handle": "womens-wool-cruiser-port-port-sole",
  "url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole",
  "vendor": "Allbirds",
  "productType": null,
  "tags": ["..."],
  "createdAt": "2026-02-05T01:37:18.000Z",
  "updatedAt": "2026-11-14T07:50:02.000Z",
  "publishedAt": "2026-11-04T23:48:27.000Z",
  "descriptionText": "Innovation meets individuality in the Wool Cruiser...",
  "descriptionHtml": "<p>Innovation meets individuality...</p>",
  "minPrice": 120,
  "maxPrice": 120,
  "compareAtPrice": null,
  "discountPercent": null,
  "available": true,
  "totalVariants": 13,
  "options": [{ "name": "Size", "values": ["5", "5.5", "6"] }],
  "variants": [
    {
      "id": 41990816137296,
      "title": "5",
      "sku": "A12858W050",
      "price": 120,
      "compareAtPrice": null,
      "discountPercent": null,
      "available": false,
      "grams": 1000,
      "requiresShipping": true,
      "taxable": true,
      "options": { "Size": "5" },
      "image": null,
      "url": "https://www.allbirds.com/products/womens-wool-cruiser-port-port-sole?variant=41990816137296",
      "createdAt": "2026-02-05T01:37:18.000Z",
      "updatedAt": "2026-11-14T07:50:02.000Z"
    }
  ],
  "images": ["https://cdn.shopify.com/s/files/..."],
  "mainImage": "https://cdn.shopify.com/s/files/...",
  "collection": null,
  "scrapedAt": "2026-11-14T12:00:00.000Z"
}
```

- `currency` and `storeName` come from the store's public `/meta.json`. Prices are numbers in that currency.
- `compareAtPrice` and `discountPercent` at product level are those of the variant with the biggest discount; they are `null` when no variant is discounted.
- `available` is `true` when at least one variant can be bought.
- Dates are ISO 8601 in UTC.

#### One row per variant (`outputMode: "variant"`)

Each row has `productId`, `variantId`, `title`, `variantTitle`, `sku`, `price`, `compareAtPrice`, `discountPercent`, `available`, `grams`, `options`, `url` (with `?variant=`), `productUrl`, `image`, plus the product fields (`store`, `currency`, `vendor`, `productType`, `tags`, dates, description, `images`). `maxProductsPerStore` still counts products, not rows.

#### Stores that cannot be read

A store that gives no products gets a single status row, so you can see what happened to every entry of your list. Status rows are not product results.

```json
{ "store": "example.com", "status": "not_shopify", "message": "no public Shopify product feed at this address (HTTP 404)", "httpStatus": 404 }
```

| `status` | Meaning |
| --- | --- |
| `not_shopify` | The address has no public Shopify product feed. |
| `password_protected` | The storefront is behind a password page. |
| `blocked` | The store refused the request (HTTP 403 or 430), or kept answering 429 after 4 retries. |
| `error` | The store could not be reached or answered a server error. |

The run also saves a `SUMMARY` record in the key-value store with rows, pages and notes per store.

### Monitoring a store

- **New products**: `publishedAfter` uses the real publication date of each product. Schedule the Actor (for example daily) with the date of the previous run and you get only the new arrivals.
- **Changed products**: `updatedAfter` compares against the `updatedAt` the store feed reports. In our tests (November 2026) every store we tried reported the time of the request as `updatedAt` for all its products, so the filter kept the whole catalogue. When that happens the run log and the `SUMMARY` record say so. To track price or stock changes on those stores, run on a schedule and compare the rows between runs.

The feed cannot be sorted by date, so with either filter the Actor reads the whole listing of the store and keeps the matching products; only the kept products are results.

### Limits you should know

- **Only what the store publishes.** Draft products, cost prices and exact inventory counts are not in the public feed. Stock is a yes/no per variant.
- **25,000 products per feed.** Shopify does not list beyond that in the public feed. For bigger catalogues, list the collections you need in `collections`; each collection is its own feed.
- **Some stores turn the public feed off** or sit behind a password or bot protection. The Actor does not try to get around that: it reports the store with a status row and continues with the others.
- **Headless storefronts** (a custom front end on a different domain) may not serve the feed on their public domain. Try the store's `*.myshopify.com` domain if you know it.
- **Product URLs are read as their store.** Use `maxProductsPerStore` or `collections` to narrow the run.
- **Rate limits.** On HTTP 429 the Actor waits and retries up to 4 times, then keeps what it already read and says so in the log.
- An empty collection and a collection handle that does not exist look the same in the feed: both return no products.

### FAQ

**Does it need a proxy?** Usually not. Requests go direct by default. You can set one in `proxyConfiguration` if a store refuses cloud addresses.

**How do I know if a site is a Shopify store?** Just try it: non-Shopify sites come back with `status: "not_shopify"`.

**Can I get several stores in one run?** Yes. Stores are read a few at a time and each row carries its `store`.

**Is it legal?** The Actor only reads product data that stores publish openly for every visitor. It does not log in or collect personal data. You are responsible for how you use the data and for respecting each site's terms.

# Actor input Schema

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

One entry per store: a domain such as allbirds.com, or any URL of the store. A collection URL (https://store.com/collections/sale) reads only that collection. A product URL is read as its store.

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

Stop after this many products in each store. Empty or 0 reads every product the store lists.

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

"product" gives one row per product with its variants nested. "variant" gives one row per variant (one per size, colour...), ready for a spreadsheet.

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

Collection handles (for example sale or new-arrivals) or collection URLs. When set, only the products of these collections are read in every store. Empty reads the whole catalogue.

## `publishedAfter` (type: `string`):

A date such as 2026-01-31 or 2026-01-31T08:00:00Z. Keeps only products the store published since then. Use it to monitor new arrivals: run on a schedule with the date of the last run.

## `updatedAfter` (type: `string`):

A date such as 2026-01-31 or 2026-01-31T08:00:00Z. Keeps only products whose "updated" date in the store feed is that date or later. Note: many stores report the time of the request as the "updated" date of every product; the run log says so when it happens, and then this filter keeps everything.

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

Leave out products with no variant available for sale. In variant mode, sold-out variants are left out too.

## `includeDescription` (type: `boolean`):

Add the product description as plain text and as HTML. Turn off for smaller rows.

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

Not needed for most stores: requests go direct by default. Set a proxy only if a store refuses requests from the cloud.

## Actor input object example

```json
{
  "stores": [
    "allbirds.com"
  ],
  "maxProductsPerStore": 50,
  "outputMode": "product",
  "onlyAvailable": false,
  "includeDescription": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One item per product (or per variant) in the default dataset.

# 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"
    ],
    "maxProductsPerStore": 50,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("renzomacar/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": ["allbirds.com"],
    "maxProductsPerStore": 50,
    "proxyConfiguration": { "useApifyProxy": False },
}

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

```

## MCP server setup

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