# Shopify Store Products Scraper + Price Tracker (`szabidev/shopify-store-products-scraper`) Actor

Scrape every product from any Shopify store or collection: prices, compare-at/sale prices, variants, SKUs, stock, vendor, tags, images. Built-in price and back-in-stock tracking between runs.

- **URL**: https://apify.com/szabidev/shopify-store-products-scraper.md
- **Developed by:** [Szabi Dev](https://apify.com/szabidev) (community)
- **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 + Price Tracker

Get **every product** from any Shopify store, or from one collection: title, vendor, type, tags, price, compare-at (sale) price, discount %, stock status, all variants with SKUs and options, images, and created/updated dates. Fast and cheap, because it reads the store's public product feed instead of rendering pages.

### What it's for

- **Competitor price monitoring**: schedule it daily with *Track price changes* and get `priceChange`, `isNew`, `backInStock` and `wentOutOfStock` for each product.
- **Dropshipping and product research**: see what a store sells, at what price, and what's on sale.
- **Catalog export**: download a store's full catalog to CSV, Excel or JSON.
- **Sale alerts**: *Only discounted products* + *Only output changed products* = a cheap daily deal feed.

### Features

- Paste a domain (`allbirds.com`), a store URL or a collection URL (`/collections/sale`).
- Product-level summary: `minPrice`, `maxPrice`, `compareAtPrice`, `onSale`, `discountPercent`, `available`, `availableVariantCount`.
- Full `variants` array: SKU, options (size/colour), price, compare-at price, availability, weight.
- Store currency detected automatically.
- Filters: in-stock only, on-sale only. Filtered products are not charged.
- **Change tracking** between runs: previous price, price change, new products, back in stock, sold out. Products hidden by your filters are still tracked, so a sold-out product shows up as `backInStock` when it returns.
- `onSale` and `discountPercent` are computed per variant (compare-at price vs. that variant's own price), so a cheaper size is not mistaken for a discount.
- Handles rate limits (honours Retry-After). For very large or strict stores, enable a proxy.

### Input example

```json
{
  "storeUrls": ["allbirds.com", "https://gymshark.com/collections/most-popular"],
  "maxProductsPerStore": 2000,
  "onlyOnSale": false,
  "trackPriceChanges": true,
  "onlyChanges": false
}
```

### Output example

```json
{
  "store": "allbirds.com",
  "title": "Men's Tree Runners",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "currency": "USD",
  "minPrice": 79.0,
  "maxPrice": 98.0,
  "compareAtPrice": 98.0,
  "onSale": true,
  "discountPercent": 19.4,
  "available": true,
  "variantCount": 24,
  "availableVariantCount": 17,
  "url": "https://allbirds.com/products/mens-tree-runners",
  "isNew": false,
  "previousPrice": 98.0,
  "priceChange": -19.0,
  "backInStock": false,
  "variants": [{ "sku": "TR3MBLK080", "options": ["Black", "8"], "price": 79.0, "compareAtPrice": 98.0, "available": true }]
}
```

(Values in the example are illustrative.)

### Pricing

Pay per result: **$0.50 per 1,000 products**. Filtered and unchanged-skipped products are free.

### Notes

- Works on stores that keep Shopify's public product feed on (most do). Stores that disable it return a clear error and cost nothing.
- If a brand runs a custom front end on `www.` and Shopify on the bare domain (or the reverse), the Actor finds the Shopify host automatically.
- `maxProductsPerStore` caps the products you get. With filters or *Only output changed products*, the whole catalog is still checked, and you pay only for products output.
- The first tracked run of a store has nothing to compare with, so every product comes back once with `isNew: true`.
- Only public catalog data is collected.

# Actor input Schema

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

e.g. allbirds.com, https://gymshark.com or https://colourpop.com/collections/lips. A collection URL scrapes only that collection.

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

Stops after this many products are output for each store or collection. Filters and 'Only output changed products' still scan the whole catalog.

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

Skipped products are not charged.

## `onlyOnSale` (type: `boolean`):

Products with a compare-at price above the current price. Skipped products are not charged.

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

Adds the product description with HTML tags removed.

## `trackPriceChanges` (type: `boolean`):

Adds previousPrice, priceChange, isNew, backInStock and wentOutOfStock. Schedule the Actor daily to monitor competitors.

## `onlyChanges` (type: `boolean`):

Output only new products, price changes and stock changes (turns tracking on automatically). Unchanged products are not charged. The first run outputs every product once as the baseline.

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

Usually not needed. Enable if a store rate-limits you.

## Actor input object example

```json
{
  "storeUrls": [
    "https://www.allbirds.com"
  ],
  "maxProductsPerStore": 1000,
  "onlyAvailable": false,
  "onlyOnSale": false,
  "includeDescription": false,
  "trackPriceChanges": false,
  "onlyChanges": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

All scraped products as a table (also JSON, CSV, Excel via the dataset API).

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

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

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

```

## MCP server setup

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