# Shopify Product Scraper — Prices, Variants & Images (`hichemdev/shopify-product-scraper`) Actor

Scrape every product from any Shopify store: title, price range, variants, SKUs, images, tags, and vendor. No API key.

- **URL**: https://apify.com/hichemdev/shopify-product-scraper.md
- **Developed by:** [Hichem Ben Moussa](https://apify.com/hichemdev) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 products

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 🛍️ Shopify Product Scraper — Prices, Variants & Images

**Scrape every product from any Shopify store — title, price range, variants, SKUs, images, tags, and vendor — as clean structured data. No API key, no login.**

Just paste one or more store URLs and export to CSV, Excel, JSON, or Google Sheets.

***

### ✨ What you get for every product

| Field | Example |
|---|---|
| title / handle | Wool Runner · wool-runner |
| vendor / productType | Allbirds · Shoes |
| priceMin / priceMax | 98 · 110 |
| variants | size/color, SKU, price, availability |
| available | true |
| tags | \["bestseller", "wool"] |
| images / image | product image URLs |
| description | plain-text product description |
| url, createdAt, updatedAt | metadata |

***

### 🎯 Who it's for

- **Dropshippers & resellers** — pull entire catalogs and spot winning products.
- **Competitor & price monitoring** — schedule runs and track price/stock changes.
- **Market research** — analyze assortments, pricing, and vendors across stores.
- **Data & feeds** — build product feeds for comparison sites or dashboards.

***

### 🚀 How to use it

1. Add one or more **Shopify store URLs** (e.g. `allbirds.com`, `https://www.gymshark.com`).
2. Set **max products per store**.
3. Click **Start** and export.

The Actor reads each store's public products endpoint — fast, clean, and no proxy needed for most stores.

***

### 📥 Example input

```json
{
  "storeUrls": ["https://www.allbirds.com", "gymshark.com"],
  "maxProducts": 500
}
```

***

### 📤 Example output

```json
{
  "store": "https://www.allbirds.com",
  "title": "Men's Wool Runners",
  "handle": "mens-wool-runners",
  "url": "https://www.allbirds.com/products/mens-wool-runners",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "priceMin": 98,
  "priceMax": 98,
  "available": true,
  "variantsCount": 12,
  "variants": [
    { "title": "US 8 / Natural Grey", "sku": "AB-WR-8-NG", "price": 98, "available": true, "options": ["US 8", "Natural Grey"] }
  ],
  "tags": ["wool", "bestseller"],
  "image": "https://cdn.shopify.com/s/files/....jpg"
}
```

***

### ❓ FAQ

**Does this work on any Shopify store?**
Almost all — the Actor uses the store's standard public products endpoint. A small number of stores disable it; those will return no products.

**Do I need a proxy?**
No, not for most stores. If a store rate-limits high-volume runs, enable Apify Proxy in the input.

**What about currency?**
Shopify's product endpoint returns numeric prices without a currency code (it's set by the store's region). Prices are returned as numbers.

**Is scraping Shopify stores legal?**
It reads publicly available product data. You're responsible for complying with each store's terms and applicable laws.

***

### 🗺️ Roadmap

- Collection-level scraping (scrape a single collection)
- Inventory quantity where exposed
- Currency detection from store metadata
- Price-change monitoring mode

***

*Built and maintained by [hichemdev](https://apify.com/hichemdev). Found a bug or want a feature? Open an issue on the Actor's **Issues** tab.*

# Actor input Schema

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

One or more Shopify store URLs or domains, e.g. "allbirds.com" or "https://www.gymshark.com". Every product in each store is scraped.

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

Maximum number of products to scrape from each store.

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

Optional. The products endpoint is public, so no proxy is needed for most stores. Enable Apify Proxy only if a store rate-limits you.

## Actor input object example

```json
{
  "storeUrls": [
    "https://www.allbirds.com"
  ],
  "maxProducts": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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"
    ],
    "maxProducts": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("hichemdev/shopify-product-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"],
    "maxProducts": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("hichemdev/shopify-product-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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"
  ],
  "maxProducts": 20
}' |
apify call hichemdev/shopify-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=hichemdev/shopify-product-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/gU7ql0dMR8EttzO2C/builds/vVaLoPKugVFgiJgzf/openapi.json
