# Shopify Store Products Scraper: prices, variants, discounts (`agebreak/shopify-store-products`) Actor

Export every product and variant from any Shopify store via its public products.json: price, compare-at price, discount flag, SKU, availability, images. Price monitoring & catalog export.

- **URL**: https://apify.com/agebreak/shopify-store-products.md
- **Developed by:** [age break](https://apify.com/agebreak) (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 product rows

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: prices, variants, compare-at prices and discounts

Export **every product and variant** from any Shopify store: title, vendor, product type, tags, created/updated/published dates, **price, compare-at price, discount %**, SKU, barcode, availability, option values (size, color...), image URLs and product/variant URLs. Paste store domains or any page URL of the store; the actor finds the catalog by itself.

The actor reads the **public `products.json` endpoint** that Shopify storefronts expose (the same data the store's own theme uses). No browser, no login and no proxies, so runs are fast and cheap.

### Why use this actor

- **Whole catalog in a few requests.** 250 products per request, paginated to the end (or to your limit).
- **One row per variant or per product.** Variant rows have their own price, SKU and stock flag. Product rows have the price range and a compact variants list.
- **Discount flag built in.** `onSale` and `discountPercent` come from the compare-at price, ready for price-drop alerts.
- **Collection filter.** Scrape only `sale`, `new-arrivals` or any collection by handle or URL. A wrong handle gives an error row that lists the store's real collections.
- **Store currency** from the store's public `meta.json` (one extra request per store).
- **Graceful errors.** Non-Shopify sites, password-protected stores, disabled endpoints and rate limits become clear error rows (free of charge). One bad store never stops the run.
- **Polite by design:** one request at a time per store (max 2), a pause between requests, retries with backoff, `429` / `Retry-After` honored, and a User-Agent that names the actor.
- About **$0.50 per 1,000 rows**.

### Use cases

- **Competitor price monitoring:** schedule a daily run on your competitors and compare `price`, `compareAtPrice` and `available` over time. Turn on *Only discounted items* to see only markdowns.
- **Catalog export and migration:** get a full product list with SKUs, barcodes, options and image URLs as CSV or Excel.
- **Dropshipping and product research:** see what a store sells, which vendors it carries, how it prices them, what is sold out and what was published recently (`publishedAt`, `createdAt`).
- **Market and assortment analysis:** compare product types, tags, price ranges and discount depth across many stores.
- **AI and data pipelines:** clean JSON for LLM enrichment, search indexes or BI tools.

### How to use

1. Click **Try for free** and add one or more stores (for example `allbirds.com`).
2. Choose **one row per variant** (default) or turn it off for one row per product.
3. Optional: add collection handles, *Only available* or *Only discounted items*, and a *Max products per store*.
4. Click **Start**, then download the results as **JSON, CSV, Excel or HTML**, or get them through the **Apify API**, webhooks, Make, Zapier, n8n or the Apify MCP server.
5. For monitoring, **schedule** the actor daily and compare runs.

#### Input example

```json
{
  "storeUrls": ["allbirds.com", "https://www.deathwishcoffee.com/collections/all"],
  "includeVariants": true,
  "collectionHandles": [],
  "onlyAvailable": false,
  "onlyOnSale": false,
  "fetchStoreCurrency": true,
  "maxProductsPerStore": 300
}
```

#### Example output

Real variant row from a test run on 2026-11-23 (tags and images shortened):

```json
{
  "store": "allbirds.com",
  "storeUrl": "https://allbirds.com",
  "productId": 3703864655952,
  "handle": "trino-hiders-onyx",
  "title": "Trino® Hiders - Onyx",
  "vendor": "Allbirds",
  "productType": "Socks",
  "tags": ["FINAL SALE", "socks", "tier-4"],
  "createdAt": "2019-08-07T23:56:04.000Z",
  "updatedAt": "2026-11-23T14:50:28.000Z",
  "publishedAt": "2026-11-20T18:33:33.000Z",
  "productUrl": "https://allbirds.com/products/trino-hiders-onyx",
  "imageUrls": ["https://cdn.shopify.com/s/files/1/1104/4168/files/SocksLaunch19_PDP_global_trino_hiders_steel_023-1600.png"],
  "options": [{ "name": "Size", "values": ["S (W5-7)", "M (W8-10 / M8)", "L (W11 / M9-12)", "XL (M13-14)"] }],
  "currency": "USD",
  "variantId": 28941049135184,
  "variantTitle": "S (W5-7)",
  "sku": "SH1UONX101",
  "price": 3,
  "compareAtPrice": 12,
  "onSale": true,
  "discountPercent": 75,
  "available": false,
  "inventoryPolicy": null,
  "requiresShipping": true,
  "weightGrams": 69,
  "optionValues": { "Size": "S (W5-7)" },
  "variantUrl": "https://allbirds.com/products/trino-hiders-onyx?variant=28941049135184",
  "scrapedAt": "2026-11-23T14:54:19.541Z"
}
```

Error rows look like this and are not charged:

```json
{ "store": "ruggable.com", "input": "www.ruggable.com", "error": true, "errorType": "not-shopify",
  "errorMessage": "Not a Shopify store, or its public products.json is disabled: products.json returned 404 (not a Shopify store, or the endpoint is disabled)" }
```

`errorType` is one of `invalid-input`, `not-shopify`, `password-protected`, `blocked`, `collection-not-found` or `request-failed` (for example a rate limit that did not clear). A per-store summary (products fetched, rows saved, pages, currency, status) is saved as `SUMMARY` in the key-value store.

### Limitations (please read)

- **Public endpoint only.** The actor reads what any visitor can load from `products.json`. It does not log in and does not bypass passwords, bot protection or firewalls.
- **Some stores disable or block it.** Headless stores, stores behind strict bot protection and some large brands return 404, 403 or a constant 429. You get an error row for those stores.
- **No exact stock counts.** Shopify removed inventory quantities from the public endpoint. You get `available` (true/false) per variant. `inventoryPolicy` and `inventoryQuantity` are filled only on the rare stores that still expose them.
- **Default-currency prices.** Prices are in the store's base currency (see `currency`). Market-specific or localized prices, B2B prices and app-based discounts (bundles, "buy X get Y") are not included.
- **Unpublished and hidden products** are not listed. The `all` collection and full catalog only show products published to the online store.
- **Cost in variant mode:** every variant is one row, so a product with 12 sizes is 12 rows. Use product mode for a cheaper overview.

### Pricing

Pay per event: **$0.50 per 1,000 rows** (event `product`, $0.0005 each). In variant mode each variant row counts; in product mode each product counts. Error rows are free. Example: 2,000 products in product mode cost about $1.00.

Apify's free plan includes monthly platform credit, which is enough to try this actor at no cost.

### Is it legal?

This actor only reads **product data that stores publish publicly** on their storefront, without logging in. It does not collect personal data. You are responsible for using the results in line with each store's terms and with laws such as the GDPR and database rights in your country.

### Built with AI assistance

This actor was built with AI assistance (Claude by Anthropic). A human operator reviews and publishes it. It was tested with real stores before release. If something breaks or you need a feature, please open an issue on the **Issues** tab.

### Related actors and keywords

shopify scraper, shopify products scraper, shopify products.json, shopify price monitoring, competitor price tracker, shopify catalog export, shopify variants export, compare at price, dropshipping product research, shopify store spy, ecommerce price scraper

# Actor input Schema

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

One store per line: a domain (allbirds.com) or any page URL of the store. Sites that are not Shopify (or that disabled products.json) get a clear error row instead of crashing the run.

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

On: one row per variant (size, color...) with its own price, SKU and availability. Off: one row per product with the price range and a compact variants list.

## `collectionHandles` (type: `array`):

Optional. Collection handles like 'sale' or URLs like https://store.com/collections/sale. Empty = the whole catalog. Unknown handles produce an error row that lists the store's real collections.

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

Skip sold-out variants (or products with no available variant).

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

Keep only rows where the compare-at price is higher than the price.

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

Adds the product description as plain text. Makes rows bigger.

## `fetchStoreCurrency` (type: `boolean`):

Reads the store's public /meta.json once to fill the currency field (products.json has prices but no currency). Prices are in the store's default currency, not localized market prices.

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

0 = the whole catalog. Counts products, not variants.

## `maxResults` (type: `integer`):

0 = no limit. You also control cost with the run's max charge setting.

## `maxConcurrentStores` (type: `integer`):

How many different stores are read at the same time. Requests to one store are always made one by one (see below).

## `perHostConcurrency` (type: `integer`):

1 is the most polite and the least likely to be rate limited. 2 is faster for big catalogs.

## `delayBetweenRequestsMs` (type: `integer`):

Minimum pause between two requests to one store. 429 responses and Retry-After headers are always honored on top of this.

## Actor input object example

```json
{
  "storeUrls": [
    "allbirds.com",
    "https://www.deathwishcoffee.com"
  ],
  "includeVariants": true,
  "onlyAvailable": false,
  "onlyOnSale": false,
  "includeDescription": false,
  "fetchStoreCurrency": true,
  "maxProductsPerStore": 50,
  "maxResults": 0,
  "maxConcurrentStores": 3,
  "perHostConcurrency": 1,
  "delayBetweenRequestsMs": 700
}
```

# Actor output Schema

## `results` (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 = {
    "storeUrls": [
        "allbirds.com",
        "https://www.deathwishcoffee.com"
    ],
    "maxProductsPerStore": 50
};

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,agebreak/shopify-store-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/3uHBuUEZqRCpS3S9f/builds/nBU51aJm6VJ0QMLd3/openapi.json
