# Product Scraper for Shopify Stores: Prices, Variants & SKUs (`forgeloop/shopify-products`) Actor

Scrape all products from any public Shopify store: titles, prices, compare-at prices, variants, SKUs, availability, images, tags and descriptions. Whole catalog or one collection, many stores per run. For price monitoring and competitor research. Pay per product.

- **URL**: https://apify.com/forgeloop/shopify-products.md
- **Developed by:** [Markus Heiß](https://apify.com/forgeloop) (community)
- **Categories:** E-commerce, Developer tools
- **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 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

## Product Scraper for Shopify Stores: Prices, Variants & SKUs

Export the public product catalogue of online stores that run on Shopify. Enter one or more store domains and get one row per product: title, vendor, type, tags, price range, compare-at price, availability, every variant with SKU and options, image URLs and a plain text description.

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

### What it does

- **Reads the store's own public product feed.** Stores on Shopify publish their catalogue as JSON at `/products.json`, 250 products per page. The Actor pages through it until your limit or the end of the catalogue.
- **One collection or the whole store.** Enter a collection handle (or paste a collection URL) to read only that collection.
- **Full variant data:** ID, title, SKU, price, compare-at price, availability and option values such as size and colour. Turn variants off for a compact table.
- **Clean output.** Prices as numbers, dates in ISO format, the description as plain text without HTML, image URLs without duplicates.
- **Currency** is added when the store reveals it (its store settings or currency cookie).
- **Clear errors instead of empty runs.** Sites that are not on Shopify, password protected stores, missing collections, unknown domains and blocked stores each return one item with an `error` message. These items are free.
- **Polite and rule-abiding.** Checks robots.txt before any product request and skips stores whose robots.txt disallows the feed. One request at a time per store, a pause between pages, and it waits and retries when a store says "too many requests".
- Plain HTTP, no browser, no login.

### Use cases

- **Price monitoring:** track prices, discounts (compare-at prices) and stock flags of competitors or resellers. Schedule the Actor and compare runs.
- **Market and assortment research:** see how many products a brand sells, which product types and vendors, and how the range changes over time.
- **Catalogue checks for your own store:** find products without SKU, without images, without description or with a compare-at price below the price.
- **Feeds for analytics and AI:** product titles, tags and descriptions as clean text for classification, matching or search.

### Input

| Field | Description | Default |
|---|---|---|
| Stores | Store domains or URLs (`allbirds.com`, `https://www.tentree.com`). A collection URL reads only that collection | |
| Max products per store | Stop after this many products per store, up to 100,000 | 1,000 |
| Include variants | Add the full variant list to every product | on |
| Collection handle | Read only this collection in every store, for example `summer-sale` | empty (all products) |
| Parallel stores | Stores read at the same time, 1 to 5 | 2 |

Example:

```json
{
  "stores": ["allbirds.com", "https://www.tentree.com/collections/womens"],
  "maxProductsPerStore": 500,
  "includeVariants": true
}
```

### Output

One dataset item per product:

```json
{
  "store": "https://www.example-store.com",
  "productId": "7012345678901",
  "title": "Merino Crew Sweater",
  "handle": "merino-crew-sweater",
  "url": "https://www.example-store.com/products/merino-crew-sweater",
  "vendor": "Example Brand",
  "productType": "Sweaters",
  "tags": ["merino", "winter", "mens"],
  "createdAt": "2026-03-02T15:10:44.000Z",
  "updatedAt": "2026-11-09T08:02:13.000Z",
  "publishedAt": "2026-03-04T09:00:00.000Z",
  "priceMin": 89,
  "priceMax": 99,
  "compareAtPriceMin": 120,
  "compareAtPriceMax": 120,
  "currency": "USD",
  "available": true,
  "variantCount": 2,
  "options": [{ "name": "Size", "values": ["M", "L"] }],
  "variants": [
    { "id": "41234567890123", "title": "M", "sku": "MCS-M", "price": 89, "compareAtPrice": 120, "available": true, "options": { "Size": "M" } },
    { "id": "41234567890124", "title": "L", "sku": "MCS-L", "price": 99, "compareAtPrice": null, "available": false, "options": { "Size": "L" } }
  ],
  "images": ["https://cdn.shopify.com/s/files/1/0000/0000/products/sweater.jpg"],
  "description": "Soft merino wool, knitted in Portugal.\n\n- Machine washable\n- Regular fit",
  "error": null
}
```

- `available` is true when at least one variant can be bought. Stores that hide stock show `null`.
- `compareAtPriceMin` and `compareAtPriceMax` are the "was" prices of the variants, `null` when the product is not reduced.
- `currency` is `null` when the store does not reveal it. Prices are the store's default prices.
- With "Include variants" off, `variants` is an empty list, `variantCount` and the price range stay.
- Every item has the same fields. A store that fails returns one item with `error` set and the product fields empty, for example `Not a Shopify store: https://example.com/products.json does not exist.` or `The store is password protected. Only public stores can be read.`

The dataset has two views: **Overview** (one row per product) and **Variants** (one row per variant). Export as JSON, CSV or Excel, or read it through the Apify API.

### Pricing

Pay per product. Error items, duplicate products and stores without products are not charged. Set "Max products per store" and the maximum charge per run in Apify to keep the cost under control.

Each run also has a start fee of 0.00005 USD per GB of memory, which Apify shows as Actor Start.

### Limits

- Only stores built on Shopify that serve the public `/products.json` feed. Some large brands with a custom (headless) storefront or a strict firewall switch it off or block it; these return an error item.
- Only what the feed contains. Stock quantities, reviews, metafields and market specific prices are not part of it.
- Prices are the store's default prices. Stores selling in several countries may show other prices to visitors elsewhere.
- Stores that rate limit hard can slow a run down: the Actor waits up to 60 seconds and retries 3 times before it gives up on a store.
- About 1 to 2 seconds per page of 250 products, so 10,000 products of one store take about a minute.
- Only public `http` and `https` addresses. Local and private network addresses are refused, also after redirects.

### Data source, permitted use and legal

- **Data source:** the public product feed (`/products.json`) and store settings (`/meta.json`) that each store serves to every visitor, plus its robots.txt. The Actor reads no customer, cart, checkout or account pages and collects no personal data.
- **Not affiliated:** This Actor is an independent tool. It is not affiliated with, endorsed or sponsored by Shopify Inc. or by the stores you read.
- **Snapshot:** Results show the store at the time of the run. We do not guarantee that they are complete, current or correct.
- **For business use:** This Actor is offered to businesses only, not to consumers.
- **Permitted use:** Process only data you are allowed to use, for example your own stores or public product data you have a legitimate reason to analyse. Respect the terms of the stores and the rights in texts and images. Product images and descriptions can be protected by copyright; the Actor returns image links, not image files.
- **Your responsibility:** You choose the stores and decide what happens with the results.
- **No circumvention:** The Actor does not log in, open password protected stores, solve captchas or bypass firewalls or other access restrictions. Stores whose robots.txt disallows the product feed are skipped.
- **Request volume:** One request at a time per store, a pause of about one second between pages, and back off when a store asks to slow down. Do not use it to put excessive load on a store.
- **Provider:** forgeloop, Markus Heiss, Austria. [Imprint](https://devhem.github.io/forgeloop-legal/imprint.html), [Privacy Notice](https://devhem.github.io/forgeloop-legal/privacy.html), [Terms of Use](https://devhem.github.io/forgeloop-legal/terms.html).

### Questions and issues

Open an issue on the Actor page.

# Actor input Schema

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

Store domains or URLs, for example allbirds.com or https://www.tentree.com. A missing https:// is added. A collection URL (https://store.com/collections/sale) reads only that collection of the store. Format: a list of strings like \["allbirds.com", "https://store.com/collections/sale"].

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

Stop after this many products per store. Every product is one charged result. Stores list 250 products per page, so 1,000 products take 4 requests.

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

Add every variant (size, colour and so on) with its ID, SKU, price, compare-at price, availability and option values. Off keeps the item small: price range, availability and variant count stay in the item either way.

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

Optional. Read only one collection, for every store in the list. Use the handle from the store URL: for https://store.com/collections/summer-sale enter summer-sale. Empty reads all products. A collection URL in the store list overrides this for that store.

## `maxConcurrency` (type: `integer`):

How many stores are read at the same time, 1 to 5. Each store always gets one request at a time with a pause between pages.

## Actor input object example

```json
{
  "stores": [
    "allbirds.com",
    "www.tentree.com"
  ],
  "maxProductsPerStore": 100,
  "includeVariants": true,
  "maxConcurrency": 2
}
```

# 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 = {
    "stores": [
        "allbirds.com",
        "www.tentree.com"
    ],
    "maxProductsPerStore": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("forgeloop/shopify-products").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",
        "www.tentree.com",
    ],
    "maxProductsPerStore": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("forgeloop/shopify-products").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",
    "www.tentree.com"
  ],
  "maxProductsPerStore": 100
}' |
apify call forgeloop/shopify-products --silent --output-dataset

```

## MCP server setup

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

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/rbUdOLg0BC03fAPLR/builds/SlMcMdqXQB2bdobVQ/openapi.json
