# Shopify Products Scraper - Price & Stock Tracker (`neo-degen/shopify-products`) Actor

Scrape products and every variant from any Shopify store: prices, compare-at prices, stock, SKUs, options and images. Many stores per run, price and stock change tracking, only-changes mode. Respects robots.txt. Export JSON, CSV or Excel. $0.10 per 1,000 variants.

- **URL**: https://apify.com/neo-degen/shopify-products.md
- **Developed by:** [neo-degen](https://apify.com/neo-degen) (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.10 / 1,000 variants

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 - Price & Stock Tracker

Scrape **products and every variant** from any **Shopify store**: prices, compare-at prices, stock status, SKUs, options, images and links. Put **many stores in one run**, and **track price and stock changes** between runs with `oldPrice` and `priceChange`. **$0.10 per 1,000 variants + $0.005 per run.** No login, no API key, no proxies.

Monitor competitor prices, follow product launches and restocks, or export a full Shopify catalog to JSON, CSV or Excel. Schedule it daily and get only the products that changed.

### What does Shopify Products Scraper do?

- 🛍️ **Any Shopify store**: paste a store URL (homepage, domain or any page). Works with custom domains.
- 🧩 **Every variant**: one row per variant (size, color...) with its own price, compare-at price, stock status, SKU and image.
- 🏬 **Many stores per run**: up to 20 stores scraped in parallel, each one politely.
- 📉 **Price and stock monitoring**: every row says what changed since the previous run: `new`, `price`, `stock` or `price+stock`, with `oldPrice`, `priceChange` and `priceChangePercent`.
- 🔁 **Only changes mode**: on a schedule, return only new products and price or stock changes. You pay only for what changed.
- 🤝 **Polite by design**: respects each store's **robots.txt** (including `Crawl-delay`), spaces requests to a store by at least 1 second, and waits as asked when a store answers **429 Too Many Requests**.
- 🧱 **Fixed output schema**: the same 33 fields on every row, ready for spreadsheets, BI tools and databases.

### What data can you extract?

| Field | Description |
|---|---|
| `storeUrl`, `storeName`, `currency` | Store and its currency |
| `productId`, `variantId`, `handle` | Shopify IDs and URL slug |
| `title`, `variantTitle`, `vendor`, `productType`, `tags` | Product and variant names, brand, type, tags |
| `sku`, `option1`, `option2`, `option3`, `grams` | SKU, options (size, color...), weight |
| `price`, `compareAtPrice`, `onSale` | Price, original price, on sale or not |
| `available` | In stock (available for sale) |
| `imageUrl`, `productUrl`, `variantUrl` | Variant image and links |
| `description` | Plain-text description (optional) |
| `publishedAt`, `createdAt`, `updatedAt` | Product dates |
| `changeType`, `oldPrice`, `priceChange`, `priceChangePercent`, `oldAvailable` | What changed since the previous run |
| `scrapedAt` | Scrape time |

### How to use Shopify Products Scraper

1. Click **Try for free**. Creating an Apify account takes a minute and includes free monthly credit.
2. Paste one or more **Shopify store URLs**.
3. Optionally set **Max products per store** (1,000 by default, 0 = everything).
4. Click **Start**. A store with a few hundred products takes a few seconds.
5. Download the products from the **Output** tab as JSON, CSV, Excel or HTML, or read them with the API.
6. To monitor prices and stock, **schedule** the Actor daily and turn on **Only new products and price or stock changes**.

### Input example

```json
{
    "startUrls": ["https://www.allbirds.com", "https://www.deathwishcoffee.com"],
    "maxProductsPerStore": 1000,
    "includeDescription": false,
    "incremental": true
}
```

### Output example

```json
{
    "storeUrl": "https://shop.example.com",
    "storeName": "Example Store",
    "currency": "USD",
    "productId": "7292464824400",
    "variantId": "41990816137296",
    "handle": "wool-runner",
    "title": "Wool Runner",
    "variantTitle": "9 / Black",
    "vendor": "Example Brand",
    "productType": "Shoes",
    "tags": ["new", "wool"],
    "sku": "WR-9-BLK",
    "price": 99.0,
    "compareAtPrice": 120.0,
    "onSale": true,
    "available": true,
    "option1": "9",
    "option2": "Black",
    "option3": null,
    "grams": 1000,
    "imageUrl": "https://cdn.shopify.com/s/files/1/0000/0000/files/wool-runner-black.png",
    "productUrl": "https://shop.example.com/products/wool-runner",
    "variantUrl": "https://shop.example.com/products/wool-runner?variant=41990816137296",
    "description": null,
    "publishedAt": "2026-11-04T15:48:27-08:00",
    "createdAt": "2026-02-04T17:37:18-08:00",
    "updatedAt": "2026-11-08T08:25:09-08:00",
    "changeType": "price",
    "oldPrice": 120.0,
    "priceChange": -21.0,
    "priceChangePercent": -17.5,
    "oldAvailable": true,
    "scrapedAt": "2026-11-08T15:00:00+00:00"
}
```

### How price and stock tracking works

After each run, the Actor remembers the price and stock status of every variant, per store (named key-value store `shopify-products-state` in your account). On the next run, each row gets:

| `changeType` | Meaning |
|---|---|
| `new` | Variant not seen in the previous run |
| `price` | Price changed: see `oldPrice`, `priceChange`, `priceChangePercent` |
| `stock` | Went in or out of stock: see `oldAvailable` |
| `price+stock` | Both |
| `unchanged` | Same price, same stock |
| `null` | First run for this store: nothing to compare with |

With **Only new products and price or stock changes**, `unchanged` rows are skipped and not charged. Variants removed from a store are counted in the run log.

### How much does Shopify Products Scraper cost?

This Actor uses **pay-per-event** pricing: you pay only for the rows you get.

| Event | Price |
|---|---|
| `actor-start` (run start) | $0.005 per run |
| `result` (variant row saved) | $0.10 per 1,000 variants |

**Examples:**

- A coffee store with 165 products and 450 variants: **$0.05**.
- A fashion store with 368 products and 4,367 variants (sizes and colors): **$0.44**.
- Daily monitoring with **Only new products and price or stock changes**: a day without changes costs **$0.005**.

Set **Max products per store** or a maximum total charge on the run to control your spending: the Actor stops cleanly when the limit is reached and you are never charged for rows that were not saved.

### Use cases

- **Competitor price monitoring**: get alerted when a competitor's prices drop or a sale starts (`onSale`, `priceChange`).
- **Stock and restock tracking**: know when products sell out or come back (`changeType: stock`).
- **Product launch tracking**: see new products and variants as soon as they are published.
- **Catalog export**: copy a full Shopify catalog with SKUs, options and images for analysis or migration.
- **Market and pricing research**: compare price points, discounts and assortments across brands.
- **Dropshipping and resellers**: keep your supplier's prices and stock in sync.

### Use it from the API

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("neo-degen/shopify-products").call(run_input={
    "startUrls": ["https://www.allbirds.com"],
    "incremental": True,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    if row["changeType"] == "price":
        print(row["title"], row["variantTitle"], row["oldPrice"], "->", row["price"])
```

You can also run it on a **schedule** and send results to **webhooks**, **Google Sheets**, **Make**, **Zapier**, **n8n** or **Slack**.

### Limitations

- Only **Shopify stores** that keep the public `/products.json` endpoint on. Other sites are skipped and reported in the log.
- **25,000 products per store at most**: a Shopify limit of the endpoint.
- Stores whose **robots.txt** disallows `/products.json`, or asks for more than 60 seconds between requests, are skipped. If robots.txt cannot be read (server error), the store is skipped too, as the robots.txt standard (RFC 9309) requires.
- **Stock** is in stock / out of stock only: the public endpoint does not give quantities.
- **Price tracking memory**: about 250,000 variants per store. Beyond that, rows are still saved but changes are not tracked for that store.
- Prices are in the store's **default currency**.

### FAQ

#### Is it legal to scrape Shopify stores?

The Actor reads `/products.json`, a public endpoint that Shopify serves on every store for product feeds, and only if the store's robots.txt allows it. The data is about products: there is no personal data in the output. Check the terms of the stores you monitor for your use case. If you are unsure, consult a lawyer.

#### How do I know if a site is a Shopify store?

Just add it: if it is not on Shopify (or the endpoint is off), the run log says so and no row is charged for it (only the $0.005 run start fee applies, once per run).

#### Why does a product appear on several rows?

There is one row per **variant** (each size, color...), because each variant has its own price, stock and SKU. Use `productId` to group them.

#### Can I limit how much I spend?

Yes. Lower **Max products per store**, turn on **Only new products and price or stock changes**, or set a maximum total charge when you start the run.

#### Do you have other e-commerce or app data Actors?

Yes: [App Store Top Charts - All Countries](https://apify.com/neo-degen/app-store-charts) and [App Store Reviews Scraper - All Countries](https://apify.com/neo-degen/app-store-reviews-all-countries).

#### I found a bug or need a new feature

Open an issue in the **Issues** tab. Requests are usually answered within 48 hours.

# Actor input Schema

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

One store per line: a homepage, a domain or any page of the store (only the domain is used). A missing https:// is added automatically.

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

Stop after this many products in each store (each product gives one row per variant). 0 = everything Shopify serves, up to its limit of 25,000 products.

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

Add the product description as plain text (bigger dataset).

## `incremental` (type: `boolean`):

Return only variants that are new, changed price or went in or out of stock since the previous run (prices kept in the named key-value store 'shopify-products-state'). Ideal for scheduled monitoring: you pay only for changes. The first run returns everything. Changes (oldPrice, priceChange) are always computed, even when this is off.

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

Stores scraped at the same time. Requests to one store are always spaced by at least 1 second (more if its robots.txt asks for it).

## Actor input object example

```json
{
  "startUrls": [
    "https://www.deathwishcoffee.com",
    "https://www.allbirds.com"
  ],
  "maxProductsPerStore": 1000,
  "includeDescription": false,
  "incremental": false,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `products` (type: `string`):

No description

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

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

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

```

## MCP server setup

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