# Shopify Products Scraper — Prices, Sales, Stock & Variants (`tallyproof/shopify-products-price-scraper`) Actor

Scrape any Shopify store's public catalog: products, prices, compare-at (sale) prices, discount %, stock status, variants, SKUs, vendors and tags. Filter by sale, stock, price, keyword or new launches. Free per-store summary. No personal data.

- **URL**: https://apify.com/tallyproof/shopify-products-price-scraper.md
- **Developed by:** [Ethan Kerr](https://apify.com/tallyproof) (community)
- **Categories:** E-commerce, Lead generation, 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 $0.80 / 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 Products Scraper — Prices, Sales, Stock & Variants

Scrape the public product catalog of any Shopify store: every product with its prices, compare-at ("was") prices, discount %, stock status, variants, SKUs, vendor, product type, tags and images. Each store also gets a **free summary row**: products found, % on sale, average discount, % sold out, new products in the last 30 days, price range and top vendors, product types and tags.

**$0.80 per 1,000 products.** Non-Shopify, blocked and unreachable stores are free.

Use it to monitor competitor prices and sales, track new product launches, build a product feed or price-comparison dataset, or research a niche.

### What you get

**One row per product (charged):**

| Field | Example |
|---|---|
| `title`, `url`, `handle`, `productId` | The Point III - ReVelvet™ Cobalt, https://www.rothys.com/products/womens-point-flat-iii-revelvet-cobalt |
| `vendor`, `productType`, `tags` | Death Wish Coffee, Bundle, \["Mug", "Valhalla Java"] |
| `currency`, `priceMin`, `priceMax` | USD, 119, 119 |
| `compareAtPriceMax`, `onSale`, `maxDiscountPercent` | 165, true, 27.9 |
| `stockStatus`, `inStock`, `variantCount`, `variantsSoldOut` | in_stock, true, 17, 0 |
| `optionNames`, `skus` | \["Size"], \["LKWVJMUG26"] |
| `featuredImage`, `imageCount` | https://cdn.shopify.com/…, 6 |
| `createdAt`, `publishedAt`, `updatedAt`, `isNew30d` | 2026-11-10T10:00:00-05:00, … |
| `variants` (on by default) | variantId, title, sku, options, price, compareAtPrice, onSale, discountPercent, available, grams |
| `description`, `images` (optional) | Plain-text description, every image URL |

**One summary row per store (free):** `productsFound`, `productsReturned`, `catalogComplete`, `percentOnSale`, `averageDiscountPercent`, `percentSoldOut`, `newProducts30d`, `priceMin` / `priceMedian` / `priceMax` (excluding $0 promo items), `topVendors`, `topProductTypes`, `topTags`, plus a plain-English `note` when a store could not be read.

### Filters (filtered-out products are free)

- **Only products on sale** — at least one variant priced below its compare-at price.
- **Only products in stock** — skip products where every variant is sold out.
- **Min / max price** — in the store's currency.
- **Only new products (days)** — products published in the last N days. Good for weekly competitor-launch tracking.
- **Keyword** — matches title, vendor, product type or tags.

### Pricing

**$0.80 per 1,000 products returned** (`product-scraped` event, $0.0008 each), plus Apify's tiny per-run start fee. You are **not** charged for:

- stores that are not Shopify (or have the public product feed turned off),
- stores that block or rate-limit the request,
- products removed by your filters,
- the store summary rows.

Set **Max products per store** and Apify's max cost per run to cap spend. The Actor stops cleanly when the budget is reached.

### How it works

The Actor reads the store's public storefront product feed (`/products.json`, 250 products per request), the same data the store shows to every visitor. It:

- checks `robots.txt` before every request and never fetches disallowed paths,
- fetches one request at a time per store with a pause between requests (default 1 s),
- backs off once on HTTP 429 and then returns the store as `blocked` (free),
- never logs in, never adds to cart, never reads checkout, customer or order data.

**No personal data.** Product catalogs only: no customer, reviewer, staff or contact details.

### Try it in one minute

Input:

```json
{
  "startUrls": ["https://www.deathwishcoffee.com"],
  "maxProductsPerStore": 50,
  "onlyOnSale": true
}
```

Or call it from code (replace `<TOKEN>`):

```bash
curl -X POST "https://api.apify.com/v2/acts/tallyproof~shopify-products-price-scraper/run-sync-get-dataset-items?token=<TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"startUrls":["https://www.deathwishcoffee.com"],"maxProductsPerStore":50}'
```

### Tips

- **Price monitoring:** schedule a daily run on your competitors and compare `priceMin`, `compareAtPriceMax` and `stockStatus` by `productId` between runs.
- **New launches:** set `publishedWithinDays: 7` and schedule weekly.
- **Collections:** collection URLs (`/collections/<handle>`) are tried, but many stores rate-limit automated access to collection feeds; those come back free as `blocked`. Use the store URL plus the keyword or price filters instead.
- **Currency** comes from the store's public store info and is the store's default currency; prices are shown as the feed returns them.

### Limits

- Shopify stores only. Other platforms return a free `not_shopify` row.
- Inventory **quantities** are not public on Shopify storefronts; you get availability per variant (in stock / sold out), not unit counts.
- Up to 50,000 products per store per run.

### Guides

Free how-to guides from the same publisher for acting on the results:

- [Currency mismatch between Shopify and analytics](https://tallyproof-ten.vercel.app/guides/currency-mismatch--shopify/?src=products\&utm_source=apify\&utm_medium=readme\&utm_campaign=shopify-products-scraper)
- [Study: how often Shopify stores load GA4 twice (244 storefronts)](https://tallyproof-ten.vercel.app/shopify-tracking-study/?src=products\&utm_source=apify\&utm_medium=readme\&utm_campaign=shopify-products-scraper)

### Related Actors by Tallyproof

- [Shopify App & Theme Detector](https://apify.com/tallyproof/shopify-store-tech-stack-apps-detector) — theme, storefront apps and tracking stack of any Shopify store.
- [Tracking Pixel Checker — GA4, GTM & Meta Pixel Auditor](https://apify.com/tallyproof/ecommerce-tracking-pixel-auditor)
- [Product Schema Checker — Google Merchant Listing Auditor](https://apify.com/tallyproof/product-schema-merchant-listing-auditor)
- [Shopify Speed Test — Core Web Vitals & Slow Apps Finder](https://apify.com/tallyproof/store-speed-test-apps-slowing-store)
- [Cookie Consent Checker — Consent Mode v2 & GDPR Scanner](https://apify.com/tallyproof/cookie-consent-consent-mode-checker)
- [Shopify SEO Audit Crawler — Store Site Audit & Broken Links](https://apify.com/tallyproof/store-seo-audit-crawler): crawl a whole store and get per-page titles, meta descriptions, canonicals, H1s, broken links and missing alt text.
- [Apple App Store Scraper - Apps, Top Charts & Privacy Labels](https://apify.com/tallyproof/apple-app-store-scraper): app price per country, rating and star histogram, chart rank, version history, in-app purchase prices and App Privacy labels, plus Top Free/Paid charts for any country and category.
- [Google Play Scraper - App Details, Prices & Ratings by Country](https://apify.com/tallyproof/google-play-app-scraper): local price, rating histogram, installs, version, ads and in-app purchase flags, developer catalogues and reviews (no names) from public Google Play pages.
- [Google Ads Transparency Scraper - Competitor Ads & Creatives](https://apify.com/tallyproof/google-ads-transparency-scraper): every Google ad a competitor runs, by domain, advertiser or country, with first/last shown dates and image links.
- [Website Screenshot API - Full Page, Mobile, No Cookie Banners](https://apify.com/tallyproof/website-screenshot-no-cookie-banners): bulk full-page or mobile screenshots with cookie banners and popups hidden.

Questions or a store that returns wrong data? Open an issue on the Actor's Issues tab and we'll fix it fast.

# Actor input Schema

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

Store homepages (whole catalog). Works with custom domains and myshopify.com domains. Collection URLs like https://store.com/collections/sale are tried too, but many stores rate-limit collection feeds; those rows come back free as "blocked". To narrow a catalog, use the filters below.

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

Cost guard: products returned per store (after filters).

## `maxStores` (type: `integer`):

Start URLs beyond this number are ignored.

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

Add a variants list to each product: variant ID, SKU, options (size, colour…), price, compare-at price, discount % and availability.

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

Add the product description as plain text (HTML removed, max 5,000 characters).

## `includeImages` (type: `boolean`):

Add every product image URL. The featured image and image count are always included.

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

Return only products where at least one variant has a compare-at price above its price.

## `onlyInStock` (type: `boolean`):

Skip products where every variant is sold out.

## `minPrice` (type: `integer`):

Skip products whose highest variant price is below this (store currency).

## `maxPrice` (type: `integer`):

Skip products whose lowest variant price is above this (store currency).

## `publishedWithinDays` (type: `integer`):

Return only products published in the last N days. Good for tracking competitors' new launches.

## `keyword` (type: `string`):

Return only products whose title, vendor, product type or tags contain this text (case-insensitive).

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

Different stores scraped at the same time. Pages of one store are always fetched one at a time.

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

Minimum 500 ms. Each request returns up to 250 products.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.deathwishcoffee.com"
  ],
  "maxProductsPerStore": 50,
  "maxStores": 100,
  "includeVariants": true,
  "includeDescription": false,
  "includeImages": false,
  "onlyOnSale": false,
  "onlyInStock": false,
  "maxConcurrency": 3,
  "delayBetweenRequestsMs": 1000
}
```

# Actor output Schema

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

One row per product: prices, sale prices, discount, stock status, variants.

## `stores` (type: `string`):

One row per store: products found, % on sale, average discount, % sold out, price range, top vendors and product types.

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

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tallyproof/shopify-products-price-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/9wh4ezNyawp5wAdeG/builds/OBOXeAc2HAEgidjJd/openapi.json
