# Shopify Product Scraper: Variants, Inventory & Apps (`jvon/shopify-scraper`) Actor

Fast Shopify scraper. Extracts complete product catalogs, variant inventories, pricing & discounts, and 30+ installed apps with 0% pagination drop rate.

- **URL**: https://apify.com/jvon/shopify-scraper.md
- **Developed by:** [Jvon Dev](https://apify.com/jvon) (community)
- **Categories:** E-commerce, Lead generation
- **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 scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Scraper & Store Intelligence (Products, Variants, Inventory & Apps)

> **Extract complete Shopify product catalogs, SKU variant inventories, calculated discounts, and 30+ installed storefront apps — with 0% pagination drop rate.**

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-orange?style=flat-square)](https://apify.com)
[![Pay Per Event](https://img.shields.io/badge/Pricing-Pay%20Per%20Result-green?style=flat-square)](https://apify.com)
[![MCP Ready](https://img.shields.io/badge/AI%20Agent-MCP%20Compatible-blue?style=flat-square)](https://modelcontextprotocol.io)
[![Reliability](https://img.shields.io/badge/Reliability-100%25%20Verified-brightgreen?style=flat-square)](https://apify.com)

***

### ⚡ Why This Shopify Scraper Outperforms Legacy Alternatives

Most Shopify scrapers on the market suffer from fundamental engineering limitations:

- **They drop large catalogs:** Legacy scrapers use page-based query params (`?page=1, 2, ...`). Shopify caps standard pagination at page 50, causing scrapers to fail on stores with >1,500 products (an observed **12.3% industry failure rate**).
- **They dump raw, unparsed strings:** You receive raw string prices without variant discount math, compare-at calculations, or inventory availability.
- **They ignore the tech stack:** Competitors extract product tables but completely miss what software powers the store.

| Feature | This Actor (`shopify-scraper`) | Traditional Shopify Scrapers |
| :--- | :---: | :---: |
| **Catalog Pagination** | **Native cursor (`since_id`) + collection fallback (0% drop rate)** | Page-based (`?page=50` hard limit, 12.3% drop rate) |
| **Variant Discount Math** | **Auto-computed (`30% OFF`, `$42.00 saved`, in-stock flag)** | Raw unparsed price strings only |
| **Tech Stack Detection** | **30+ apps detected (Klaviyo, Recharge, Loox, Gorgias)** | ❌ Not supported |
| **Merchant Contact Extraction** | **Support email, phone, Instagram, TikTok, Twitter/X** | ❌ Not supported |
| **Proxy Overhead** | **$0 (Direct public JSON traversal)** | $30–$50/mo required residential proxies |
| **AI Agent / MCP Support** | **Native Claude Desktop & Cursor MCP compatibility** | ❌ Raw API only |
| **Pay-Per-Result Pricing** | **From $0.80 / 1k products down to $0.50 / 1k** | $4.00 – $6.00 / 1k products |

***

### 🎯 High-Volume Search Intents & Use Cases

- **E-Commerce Competitor Price & Stock Monitoring:** Track SKU additions, discount flash sales, price adjustments, and stockouts across direct-to-consumer competitor brands in real time.
- **Catalog Migration & Dropshipping:** Bulk-export full product catalogs including multi-resolution images, option matrices (Size, Color, Material), and barcodes (UPC/EAN/GTIN) directly to CSV, Excel, or JSON.
- **B2B Lead Generation & Tech Stack Enrichment:** Filter Shopify merchants by their software stack (e.g., *"Find all apparel stores using Klaviyo + Recharge with support emails"*).
- **AI Agents & MCP Quantitative Analysis:** Stream clean, token-efficient product matrices directly into LLMs via Model Context Protocol (Claude Desktop, Cursor).

***

### 🚀 Quick Start (No Coding Required)

1. Open this actor on the **Apify Console**.
2. In the **Store URL** field, enter any Shopify store address (e.g., `allbirds.com` or `https://gymshark.com`).
3. Set your **Max Products** limit (default: `100`).
4. Click **Start**.
5. Once complete, export your data in **1 click** to **CSV**, **Excel**, **JSON**, or stream directly into **Google Sheets**.

***

### 📦 What Data Does This Shopify Scraper Extract?

#### 1. Product Catalog Data

- `id` & `handle`: Unique Shopify product identifier and URL slug.
- `title` & `url`: Full product title and canonical direct link.
- `vendor` & `productType`: Brand manufacturer and merchant category.
- `tags`: Clean, deduplicated array of product tags.
- `minPrice`, `maxPrice`, `currency`: Product price range normalized to standard currency.
- `hasDiscount` & `maxDiscountPct`: True if any variant is discounted, with highest percentage savings.
- `publishedAt`, `createdAt`, `updatedAt`: ISO timestamps for tracking catalog age and updates.

#### 2. Complete Variant Inventory Matrix (Every SKU)

- `variantId`, `sku`, `barcode`: Commercial identifiers.
- `title`: Variant option name (e.g., `Natural Black / 10`).
- `price` & `compareAtPrice`: Current selling price and original MSRP.
- `discountPct` & `savingsAmount`: Mathematically computed discount percentage and savings in USD.
- `isAvailable`: True if in stock and purchasable.
- `inventoryQuantity`: Stock level count (when exposed by the merchant).
- `weightGrams` & `requiresShipping`: Fulfillment specs.

#### 3. Store Intelligence & App Stack

- `detectedApps`: Array of identified integrations (e.g., `["Klaviyo", "Recharge", "Loox", "Gorgias"]`).
- `theme`: Active Shopify theme name (e.g., `Dawn`, `Prestige`, `Impulse`) and theme ID.
- `contact`: Merchant support email (`help@store.com`), phone number, and social links (Instagram, TikTok, Twitter/X, Facebook, YouTube).

***

### 📋 Verified Sample Output Record

```json
{
  "id": "7891234567890",
  "title": "Wool Runner 2 - Everyday Walking Sneaker",
  "handle": "wool-runner-2-black",
  "url": "https://allbirds.com/products/wool-runner-2-black",
  "vendor": "Allbirds",
  "productType": "Footwear",
  "tags": ["walking", "sustainable", "wool", "mens-shoes"],
  "minPrice": 98.0,
  "maxPrice": 140.0,
  "currency": "USD",
  "hasDiscount": true,
  "maxDiscountPct": 30.0,
  "totalVariants": 8,
  "variants": [
    {
      "variantId": "43210987654321",
      "title": "Natural Black / 10",
      "sku": "WR2-BLK-10",
      "barcode": "840123456789",
      "price": 98.0,
      "compareAtPrice": 140.0,
      "discountPct": 30.0,
      "savingsAmount": 42.0,
      "isDiscounted": true,
      "isAvailable": true,
      "inventoryQuantity": 14,
      "weightGrams": 420,
      "requiresShipping": true,
      "options": {
        "option1": "Natural Black",
        "option2": "10"
      }
    }
  ],
  "images": [
    {
      "url": "https://cdn.shopify.com/s/files/1/products/runner2_main.jpg",
      "alt": "Wool Runner 2 in Natural Black side profile",
      "width": 2048,
      "height": 2048
    }
  ],
  "storeDomain": "allbirds.com",
  "storeTechStack": {
    "theme": {
      "name": "Custom Production",
      "id": "123456789"
    },
    "detectedApps": ["Klaviyo", "Recharge", "Yotpo", "Gorgias"],
    "contact": {
      "supportEmail": "help@allbirds.com",
      "phone": "+1-888-963-8944",
      "socials": {
        "instagram": "https://instagram.com/weareallbirds",
        "tiktok": "https://tiktok.com/@allbirds",
        "twitter": "https://twitter.com/allbirds"
      }
    }
  },
  "extractedAt": "2026-11-22T08:56:11.213Z"
}
```

***

### 🤖 AI Agent & MCP Integration (Model Context Protocol)

This actor natively supports Anthropic's **Model Context Protocol (MCP)**. You can invoke it directly inside **Claude Desktop**, **Cursor**, or custom autonomous agents:

#### Claude Desktop Configuration

Add this to your `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "apify": {
      "command": "npx",
      "args": ["-y", "@apify/actors-mcp-server"],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_API_TOKEN"
      }
    }
  }
}
```

#### Token-Optimized Markdown Output

Set `"outputFormat": "markdown_summary"` to return lightweight, token-efficient comparison tables directly into your LLM context window:

| ID | Title | Price | Variants | Direct URL |
| :--- | :--- | :---: | :---: | :--- |
| 7891234 | Wool Runner 2 | $98.00 (30% OFF) | 8 | [View Product](https://allbirds.com/products/wool-runner-2) |
| 7891235 | Tree Dasher 2 | $135.00 | 12 | [View Product](https://allbirds.com/products/tree-dasher-2) |

***

### 💻 Developer API & Code Snippets

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_API_TOKEN")

run_input = {
    "storeUrl": "https://allbirds.com",
    "maxProducts": 250,
    "includeVariants": True,
    "detectTechStack": True
}

run = client.actor("jvon/shopify-scraper").call(run_input=run_input)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"Product: {item['title']} - Min Price: ${item['minPrice']}")
```

#### Node.js / TypeScript

```typescript
import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: "YOUR_APIFY_API_TOKEN" });

const run = await client.actor("jvon/shopify-scraper").call({
  storeUrl: "https://gymshark.com",
  maxProducts: 500,
  includeVariants: true,
  detectTechStack: true,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Extracted ${items.length} products with complete variant matrices.`);
```

***

### ⚡ 1-Click Automation (n8n & Make)

Automate your catalog monitoring without code:

1. Import [`n8n-workflow.json`](./n8n-workflow.json) into your n8n instance.
2. Enter your Apify API Token.
3. Automatically stream new products, discounts, and detected apps into **Google Sheets**, **Airtable**, **PostgreSQL**, or **Slack**.

***

### 💎 Transparent Pay-Per-Result Pricing

You are billed strictly for data successfully extracted. No subscriptions. **$0 charge on failed runs.**

| Tier | Price / 1,000 Products | Cost per Product | Target Volume |
| :--- | :--- | :--- | :--- |
| **FREE** | **$0.80 / 1k** | `$0.00080` | Free evaluation allowance on Apify |
| **BRONZE** | **$0.70 / 1k** | `$0.00070` | Ad-hoc runs & small research |
| **SILVER** | **$0.60 / 1k** | `$0.00060` | Medium business (100k+ products/mo) |
| **GOLD** | **$0.50 / 1k** | `$0.00050` | High-frequency scrapers |
| **PLATINUM** | **$0.50 / 1k** | `$0.00050` | Large aggregators & platforms |
| **DIAMOND** | **$0.50 / 1k** | `$0.00050` | Enterprise volume pipelines |

*Example:* Scraping an entire boutique store with 800 products costs just **$0.64**.

***

### ❓ Frequently Asked Questions (FAQ)

**Q: Does this work on stores with 20,000+ products?**\
A: Yes. Because this actor uses cursor-based `since_id` pagination instead of deprecated page numbering, it traverses catalogs of any size without timing out or dropping records.

**Q: Do I need to buy residential proxies?**\
A: No. Shopify serves public catalog JSON endpoints directly over Cloudflare with standard rate allowances. The actor handles request pacing and backoff automatically at $0 proxy cost.

**Q: What happens if a store hides its `/products.json` endpoint?**\
A: The actor automatically engages its secondary collection fallback (`/collections/all/products.json`), ensuring consistent data extraction where competing scrapers fail.

**Q: Can I request custom app signatures or feature additions?**\
A: Yes. Submit an issue in the Apify Console tab and app detection signatures are updated within 24 hours.

# Actor input Schema

## `storeUrl` (type: `string`):

Shopify Store URL or domain (e.g. 'gymshark.com' or 'https://kith.com')

## `maxProducts` (type: `integer`):

Maximum products to extract

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

Extract full variant matrix (SKU, barcode, size/color, stock, price)

## `detectTechStack` (type: `boolean`):

Detect installed Shopify apps (Klaviyo, Loox, etc.), Theme, and Contact details

## `outputFormat` (type: `string`):

Output format (JSON for pipelines, Markdown for AI/MCP context)

## `proxyTier` (type: `string`):

Anti-bot proxy tier

## Actor input object example

```json
{
  "storeUrl": "https://allbirds.com",
  "maxProducts": 100,
  "includeVariants": true,
  "detectTechStack": true,
  "outputFormat": "json",
  "proxyTier": "auto"
}
```

# Actor output Schema

## `resultsDataset` (type: `string`):

Default dataset containing extracted products, variants, discount math, and installed apps.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("jvon/shopify-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("jvon/shopify-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 '{}' |
apify call jvon/shopify-scraper --silent --output-dataset

```

## MCP server setup

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